Hi,
I'm trying to write following patch, which actually should be almost a classic one and I'm pretty sure it has been done, but I'm having a hard time.
Well that's what I would like to achieve:
- Assuming I have a white figure moving in front of a black background seen by the camera.
- I want to draw a box that that fits that figure (I don't need to render the figure itself)
Basically that's it.
For now I've tried to do this using [pix_data] inside a nested loop, 100 x 100 for each video frame. This normally results in PD hanging, even at 10 fps, so I could not try much more.
As I'm running W7 it seems as if I can not use pd_opencv, however I would be glad to see how this would be done in pd_opencv if using linux. I might try it.
Thanks in advance,
Gaspar
I'll be happy to share the patch if I succeed.