esimov / caire

Content aware image resize library
MIT License
10.36k stars 384 forks source link

Performance improvement on using the face detection functionality #62

Closed esimov closed 3 years ago

esimov commented 3 years ago

For performance reasons we shouldn't encode each time the image raw pixel data into an image file when running the face detector. This way we can avoid to generate a new image at each iteration and also we can avoid of using a global TempImage variable available across the whole codebase.