libfacedetection icon indicating copy to clipboard operation
libfacedetection copied to clipboard

android realtime face detection slowing down

Open korangko opened this issue 5 years ago • 2 comments

first of all, thanks for sharing your code

Im trying to make face detection app in real-time, and when I try this face detection code as thread it slows down after about 7 ~ 8 minutes. IOW first you can get speed approx 54ms to detect face in frame, after 8 min thread gets slowly slow down till 74ms to detect. any suggestion or information? thanks

korangko avatar May 20 '20 02:05 korangko

Do you mean the algorithm will slow down after running several minutes? If so, is it because android reduces the CPU speed to save energy?

On Wed, May 20, 2020 at 10:36 korangko [email protected] wrote:

first of all, thanks for sharing your code

Im trying to make face detection app in real-time, and when I try this face detection code as thread it slows down after about 7 ~ 8 minutes. IOW first you can get speed approx 54ms to detect face in frame after doing it after 8 min , It gets slow down like 74ms to detect. any suggestion or information? thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ShiqiYu/libfacedetection/issues/253, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWR4HPGXBZXTTFGEGIBKKDRSM63NANCNFSM4NFQ3SZQ .

--

Prof. Shiqi YU (于仕琪)

Department of Computer Science and Engineering,

Southern University of Science and Technology,

Shenzhen, China.

ShiqiYu avatar May 20 '20 03:05 ShiqiYu

I don't think cpu's saving energy sequence is causing slowing down. because other threads which run at the same time, don't have the same issue.

korangko avatar May 20 '20 03:05 korangko