caiostringari / picoastal

Open source coastal monitoring
GNU General Public License v3.0
17 stars 12 forks source link

we need to finding for camera matrix file #4

Open Hirajet opened 7 months ago

Hirajet commented 7 months ago

Hi, my name is hojun yoo in korea. We saw your nice experience and applyed test.

Our raspberry pi 4b was 64bit. so we do not operation your picoastal scandule program. But we found some hint your picoastal document.

In post processing, we try to Rectification and found some issue.

cd ~/picoastal/ python3 src/post/rectify.py -i "input.png" -o "rectified.tiff" -gcps "xyzuv.csv" --camera_matrix "camera_matrix.json" --epsg "12345" --bbox "xmin,ymin,dx,dy"

We just tested postprocess and we not have camera_matrix.json file.

It was said that the program runs in the example set. How do we obtain this file and learn the example set?

Thank for your check and waiting your kindly answer.

Hirajet commented 7 months ago

The presumed idea is that in the \coastal\coastal-master\data folder It appears to be flir tamron 8mm.json. However, an error occurs when linking this data with images in the \boomerang folder.

command. python3 src/post/rectify.py -i "average.png" -o "rectified.tiff" -gcps "xyzuv.csv" --camera_matrix "camera_matrix.json" --epsg "28356" --bbox "xmin,ymin ,dx,dy"

Error File "src/post/rectify.py", line 504, in main() File "src/post/rectify.py", line 453, in main bbox = np.array([float(bbox[0]), float(bbox[1]), ValueError: could not convert string to float: 'xmin'