Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we need to finding for camera matrix file #4

Open
Hirajet opened this issue Mar 28, 2024 · 1 comment
Open

we need to finding for camera matrix file #4

Hirajet opened this issue Mar 28, 2024 · 1 comment

Comments

@Hirajet
Copy link

Hirajet commented Mar 28, 2024

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
Copy link
Author

Hirajet commented Mar 28, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant