Open FPSychotic opened 12 months ago
Any insight on this? Passed 3 days and I cannot use the camera
Tried also recalibration online script also sends error...
`(.env) nrover@ubuntu:~/depthai_env/depthai/depthai_calibration$ ./dynamic_recalibration.py
[14442C1071EB3FD700] [1.2.2] [1.575] [ColorCamera(7)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
Traceback (most recent call last):
File "./dynamic_recalibration.py", line 277, in <module>
rgb_frame = rgbFrameData.getCvFrame()
cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/color.simd_helpers.hpp:108: error: (-215:Assertion failed) sz.width % 2 == 0 && sz.height % 3 == 0 in function 'CvtHelper'
(.env) nrover@ubuntu:~/depthai_env/depthai/depthai_calibration$
`
Check under other windows, there should be a green window with "calibration complete" or something that you'll need to close. Pressing Q usually closes these windows.
Calibration has been overhauled over the last year, it's changed an awful lot, which branch of depthai
are you running the calibration from? Regarding the polygons, they were only ever a guide rather than a requirement, the window with the dots you're seeing is a coverage map showing where the device has captured the location of a marker. If you ensure you've an even distribution you know you'll be getting a good set of images for calibration.
Speaking of which, how many images are you taking? If you aren't getting decent coverage it's worth increasing the number of images captured by using the -it
flag.
They've updated the docs too: https://docs.luxonis.com/en/latest/pages/calibration/
Last Depthai , clean installation following guide and using .env.
As you can see in the terminal text it tooks 39 , as it is in the guide, there is not other windows. I just made note the polygons in case could be related to the issue as they are in the guide.
Also the re-calibration script doesn't work, and the ROS one so no calibration tool is working in fresh install following the guides.
From where? depthAI from calibration manuals, no idea if it is SDK, depthay-python or depthai core . I guess it is depthai-python, they are python scripts in a python.env
I've never used the dynamic calibration script and I didn't know there was one for ROS either, I may have to have a look at that one. I've only ever done calibration by installing from source using the depthai repo, I'm using an FFC-3P modular camera so this wasn't documented anywhere at the time.
Calibration is definitely in this repo by the way, make sure you run the command to update all the git submodules and the install_requirements.py
script and you should be on the latest version of everything.
Is there any update on this issue? I've got exactly the same problem with my camera.
They never answered
On Mon, 15 Jan 2024, 09:57 MSaeedMp, @.***> wrote:
Is there any update on this issue? I've got exactly the same problem with my camera.
— Reply to this email directly, view it on GitHub https://github.com/luxonis/depthai/issues/1141#issuecomment-1891767606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITQOVAAWIA6MWPFYZF47GDYOT4O5AVCNFSM6AAAAAA7WUWWOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRG43DONRQGY . You are receiving this because you authored the thread.Message ID: @.***>
so may i ask how you could calibrate the camera?
I just found the solution. Run the calibration.py using vscode (in its terminal). Then it'll work! Hope this can help you out.
Oak d pro w dev , after my sensor got unglued Im trying calibrate the camera, but no way, first in ROS , didnt work and reported an issue, later in Depthai python into a .env. I calibrated 4 times, in non of them the polygons apears into the camera streams as the guide says and happend when calibrated it 1 year ago. there is a second window with points. After finish the calibration with no errors , sometimes better sometimes worse, just appear that test in the console and nothing happens , cannot close the window, and nothing is written in the resources folder as the guide says....
python3 calibrate.py -s 2.48 --board OAK-D-Pro-W-DEV -nx 13 -ny 7