Rock-100/FaceKit

what is the role of SetTrackingPeriod

ericQiang opened this issue · 3 comments

Hi Jack-CV:
what is the role of SetTracking Period?
when i mask the following code in the video.cpp
detector.SetTrackingPeriod(30); detector.SetTrackingThresh(0.6);
It will cannot detect face any more.
and, when i unmask the two line codes, it will be work.
I found that when i unmask them, the function Detect will consume many time ?
Is there a method reduce the time consume of Detect?

oh, it's my mistake,
I remain use the function 'DetectTrack' when i mask the following code in the video.cpp
detector.SetTrackingPeriod(30); detector.SetTrackingThresh(0.6);
I should be use 'Detect'

and the same question: Is there a method reduce the time consume of Detect?

Yes, there are many methods, such setting smaller minFaceSize, retraining PCN with smaller networks, using a much faster CNN lib rather than caffe (as far as I know, many companies have private CNN libs that can run much faster than caffe)

@jack-cv
Thanks for your patient reply.^_^