Hi,
I have modified TIDL OD example in order to detect traffic lights. However, the model is unable to detect whether traffic lights are red or greeen.
What I intend to do is to analyze R,G,B values of the pixels in bounding box (using pObjectDataDesc coordinates) and see if the light is red or green.
In order to do so, I think I need to be able to access R,G,B values of pixels in objectDrawLink_algPlugin.c, preferably in function AlgorithmLink_objectDrawObjects(...).
How do I achieve such a thing? Any guidance is greately appreciated.
Thanks in advance for the help.