Open storewaladotcom opened 7 years ago
any pointers on how to incorporate CGEFaceTracker into CGEFrameRecorder? That may address my issue as well.
You may need to do this in another thread. Just use CGESharedGLContext to create another context( shared with the view) And put your all code in the background thread.
The CGEFaceTracker is not so correct when doing real-time processing. I will add a new case for this issue later.
thank you, I will look forward to that code.
Could you provide some code on using the sharedcontext please?
Thank you. I did see that piece of code. how can i get a Bitmap from the shared context?
You should not use the Bitmap. It's extremely slow.
I will do this issue later.
And you should change the title to How to do real-time face tracking
.
Thank you @wysaid . I will look forward to this when you get a chance to implement. I went ahead and changed the title.
@wysaid could you point me to do face recognition at the c++ layer?
Is there a better way to generate a bmp other than the code below:
The code is causing a minor lag in the UI. My use case = While the video is recording, take a BMP periodically and check if there is a face in the BMP. If there is another cleaner way of doing this, please suggest.