Whats the best(ie fastest) way to share an image between BBplus code and a DLL.
The idea is to create a DLL that starts a thread capturing webcam pics and comparing them. When a particular circumstance is met (ie motion, object, color detection etc) it will save(buffer not file) that image image and set a flag to true. The DLL will provide:
Bool WaitDetect(int timeOut, int camNum)
Bool isDetect(int camNum)
bbImg getImage(camNum)
Where getImage hopefully transfers the img directly into a blitz image type. Is there away to do this? How do I send an image back to the DLL?
The idea is to create a DLL that starts a thread capturing webcam pics and comparing them. When a particular circumstance is met (ie motion, object, color detection etc) it will save(buffer not file) that image image and set a flag to true. The DLL will provide:
Bool WaitDetect(int timeOut, int camNum)
Bool isDetect(int camNum)
bbImg getImage(camNum)
Where getImage hopefully transfers the img directly into a blitz image type. Is there away to do this? How do I send an image back to the DLL?