Hello,
I was wondering if you updated the record.py script to be able to choose the resolution cause I noticed a comment # "TODO: make camera resolutions configrable"
Thank you in advance
Hello,
I was wondering if you updated the record.py script to be able to choose the resolution cause I noticed a comment # "TODO: make camera resolutions configrable"
Thank you in advance
Hi @ferrari19
AFAIK, the resolution should be set to that of the camera. Is that not the case?
Thanks,
Jaka
for me it's set to 400 p and I can't change it
Hi @ferrari19 ,
I'd currently suggest using the SDK for recording, we have examples here:
https://docs.luxonis.com/projects/sdk/en/latest/features/recording/
It's similar to record.py, but has (a lot) more configurability.
THank you! In the reader.py we get a calib.json as well as the videos If I understand correctly it gives the cameras parameters right (can I use this file instead of calibrating my camera for the parameters because it says in the doc that apparently the oak-d pro doesn't need to be calibrated) ? is it possible to generate such a file when using the sdk to record ?
thank you in advance
Hi @ferrari19
The calib.json file is generated for replaying purposes. Eg. if you want to replay depth, you need stereo camera information (intrinsics/extrinsics) to perform stereo matching. This info is retrieved from the device eeprom and not generated.
ferrari19 can I use this file instead of calibrating my camera for the parameters because it says in the doc that apparently the oak-d pro doesn't need to be calibrated
This is the same file (same info) that is flashed onto the device when calibrating. If you recalibrate the device, this info changes.
ferrari19 is it possible to generate such a file when using the sdk to record ?
It should automatically save to the same directory when using the SDK.
Thanks,
Jaka
thank you ! I recalibrated the camera but I get the exact same calib.json is it normal ? also do you have an example to replay depth ? cause I've been trying to do it but when I rectify my images they're not perfectly aligned (I use stereoRectify and initundistorectifymap from opencv) but for the rotation matrix I'm not sure if I should use the left one, the right one, the rectified left one or the rectified right one ?
Thank you in advance
ferrari19 I recalibrated the camera but I get the exact same calib.json
Calibration should be similar but not the exact same, maybe it didn't actually flash to the eeprom.
ferrari19 also do you have an example to replay depth ?
https://docs.luxonis.com/projects/sdk/en/latest/features/replaying/
Thanks,
Jaka
Thank you!