paolobenve / myphotoshare

MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
15 stars 0 forks source link

slow face detection #71

Closed paolobenve closed 6 years ago

paolobenve commented 6 years ago

With high resolution images face detection is - obviously - slow.

Face could be detected after resizing? perhaps detection could be less accurate...

Detecting on resized image only if resized size is bigger than a given value, say, e.g., 1000px?

paolobenve commented 6 years ago

Face detection is slow when the reduced size images are already on disk, so that face detection happens on original image.

We must resize the image if it's bigger than the thumbnail size