News for hackers. Stuff that matters.
Re:Face detection library with speed of 1500FPS by comboy on Friday March 15, 2019 @05:35AM (#19398061)
From 128x96 image. Another way to look at it is that on RPi you can handle 5 frames per second with 640x480, which probably means one frame every few seconds with the full RPi camera resolution. Sounds like the same results as python with opencv?
Re:Face detection library with speed of 1500FPS by IloveHN84 on Friday March 15, 2019 @08:55AM (#19399209)
You always scale the original image down, it is pretty standard
Re:Face detection library with speed of 1500FPS by zamadatix on Friday March 15, 2019 @09:01AM (#19399258)
The point being made here isn't how to get face recognition speed workable on a pi though it's that this is no faster than the common implementations despite the catchy title.
Re:Face detection library with speed of 1500FPS by rfoo on Friday March 15, 2019 @09:00AM (#19399254)
Yes but not to 128x96. Usually you want at least 640x480.
Re:Face detection library with speed of 1500FPS by cdf2theworld on Friday March 15, 2019 @03:55PM (#19403591)
Wrong. Most facial recognition software reduces largest image dimension to 128. This allows caching to become effective, massively speeds up the process (hence the 15k fps).
Re:Face detection library with speed of 1500FPS by rfoo on Friday March 15, 2019 @05:31PM (#19404515)
A facial recognition pipeline contains a few steps, for feature extraction people DO resize image to something like 128x128, but for face detection (which is what this repo does) you DON'T.

Also, the reason why we scale down the input image is not for cache effectiveness, it's simply for reducing computations needed. Maybe except for naive matrix multiplication and convolution implementations, which is what this repo does. But there is no point to discuss performance if you are using a naive implementation which by design ignores cache/instruction latency/anything Computer Architecture related. Please, at least take QNNPACK as baseline.

Re:Face detection library with speed of 1500FPS by janekm on Friday March 15, 2019 @06:34AM (#19398360)
Seems like something one might use in a pipeline following a Haar cascade to detect faces in a larger image in some sort of surveillance camera scenario.
Re:Face detection library with speed of 1500FPS by kajecounterhack on Friday March 15, 2019 @07:01AM (#19398493)
I don't think that would be helpful, haar cascades have too many false-negatives (in part because it relies too heavily on specular reflections from your face's T-zone). Probably worth just using the CNN, you can make something else do region proposals if you really want. Probably another net :)