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

how can i get “screen_point.npy” file? #2

Open
qiuyuenheng opened this issue Dec 16, 2023 · 1 comment
Open

how can i get “screen_point.npy” file? #2

qiuyuenheng opened this issue Dec 16, 2023 · 1 comment

Comments

@qiuyuenheng
Copy link

Hello author, I am interested in your research direction and would like to compare your code results with my experiment, but I am not sure how to use your code to train my dataset. I saw that at the end of the "datao. py" file, it seemed to generate a "screen_point. npy" file, but when I set my own file path, I found:

ret, corners = cv2.findChessboardCorners(gray, (w, h), flags=cv2.CALIB_CB_ADAPTIVE_THRESH + cv2.CALIB_CB_FAST_CHECK + cv2.CALIB_CB_NORMALIZE_IMAGE)

This command line did not output the correct result. Can you provide specific instructions on how to operate?

@LRussianStand
Copy link
Collaborator

If you calculate screen_point.npy from captured images, you need to run the process_transparent.py file. If you get screen_point.npy from the .h5 file, run dataoP.py. The inability to detect corner points may be related to the image clarity and the accuracy of the checkerboard. This paper uses purchased checkerboards.

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

2 participants