I am creating a face detector app which will detect faces in real time and identify landmarks on faces. The landmarks for the faces are working perfectly fine, however my real time face detection isn't working at all.
I was actually able to do this using ML detection already, but am struggling to get real time detection(so when the camera turns on and you move your face in real-time, the detector detects parts of your face like the nose, eyes, eyebrows, etc.). Thanks.
This piece of code is supposed to detect contours on the face in real-time. This means just drawing onto the face in real-time(so as the camera moves canvas will draw onto the face to detect the left eyebrows, nose, mouth, etc.).
This piece of code isn't functional.
On the other hand, I have another detector which detects contours(nose, mouth, etc.) on a photo(so not in real-time). This piece of code is functional in my analyse method(I called this landmark paint).