I would like to integrate full calibration and dynamic recalibration into a bigger project - python at the moment, but I want to move the core functionality to C++ at a later stage (only keeping the Flask webserver as a configuration and preview interface). The device has no display and is running on embedded Linux. The calibrate.py & dynamic_recalibration.py scripts seems like a good reference, but can get quite confusing as some of it is a bit of a mess (not flaming, I understand some of the backward-compatibility concerns etc.). OpenCV documentation is also quite atrocious. Any tips on what the best course of action could be will be greatly appreciated.
Integrating calibration into a bigger project
Hi adriaan-mernok ,
I do agree that calibrate.py is a huge mess, mainly, as you mentioned, for backwards compatibility. We plan to integrate some of the processing into the SDK, so the calibrate.py will be cleaner. Feature request here: luxonis/depthai1059
I'd suggest subscribing to the issue so you get notified on the development, which should start in a week or two.
Awesome, thanks, will do. Still doesn't really help on the C++ side of things, but I suppose whatever is done in the SDK can just be used as a guideline for C++ implementation. So far I've stuck to python since most of the examples and community revolves around it, but I must say, it is not my cup of tea. I NEED TYPES (suppose it is the embedded C programmer in me that won't get used to white space having meaning).