AUV-IITK/Varun-Software

(task_handers_layer) Auto calibration image processing nodes.

Closed this issue · 3 comments

All image processing nodes should have a dynamic reconfigure button. on pressing it. image processing node calibrate its constants depending on the image from camera. Basically we tell the code that yes there is a specific arrangement in front of it. Now it needs to fix its constants such that it get starts getting positive results for that data.

Will do it for though for the time being you hard-code the parameters for a single colored ball. Need to make the code much more modular which I discovered when trying out the previous time, so it could be time consuming.

Final Result
6 while loops are taking a lot of time (more than 30 minutes) hence it is of not much use. We either need to set a broad range where the balls can lie or we need to hard-code the range of different balls so that we can enter the color of the ball at run-time to set the thresholds

siddharth send me the code that you have written. I'll try to optimize it.