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

after python calibrate_camera.py , keeping show tips and try press any key is not respond #7

Open
nmbtwzt opened this issue Apr 17, 2020 · 6 comments

Comments

@nmbtwzt
Copy link

nmbtwzt commented Apr 17, 2020

I want to run the demo , i follow each step of the instructions to "2. Camera and Monitor calibration", run "python calibrate_camera.py" , the terminal show "Calibrate camera once. Print pattern.png, paste on a clipboard, show to camera and capture non-blurry images in which points are detected well.Press s to save frame, c to continue to next frame and q to quit collecting data and proceed to calibration."
But now i press s 、c 、 q or any others key , it nothing to next step and keeping this state long time until i press ctrl+z to stop.
I don't konw how to solve this , please help me , thank you.

@TranThanh96
Copy link

same problem. did u solve this?

@allangu
Copy link

allangu commented Oct 22, 2020

calibrate_camera.py is running a big while loop to capture the checkerboard image and detect the key points. If it is able to capture the key points, an image is display and then you can hit "s" to save the frame, "q" to quit. The loop continues to run and pressing "s, c, q" will not do anything until the captured image containing the checkerboard pattern appears in a window.

Move the image around your webcam (left, right, up, down, forward, backward) during the calibration and eventually you will see a window pop up.

@SophieZhou
Copy link

SophieZhou commented Jul 5, 2022

In the code, after I hit 's', the program will stopped and show 'segmentation fault(core dumped)'. After I calibrate the camera in my way, in collect_data function, when I hit 'l', 'r', 'u',or 'd', the same problem come out again.

@farev
Copy link

farev commented Jul 5, 2023

I am running the project on my jetson nano but I am connected to my jetson nano in headless mode so I don't have a monitor connected to it. Is the camera calibration meant to be ran with a monitor connected to the device?

@farev
Copy link

farev commented Jul 5, 2023

I ran it with a monitor connected to the jetson nano and still no video image appeared. The camera is on and everything else seems to be working properly so I don't know what the problem may be.

@farev
Copy link

farev commented Jul 5, 2023

How it was previously mentioned above you need to print out the pattern.png image and then when you place that in front of the camera the calibration works.

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

5 participants