RedApparat / FaceDetector

Face detection for your Android app
Apache License 2.0
1.17k stars 197 forks source link

Some questions #22

Closed sevar83 closed 6 years ago

sevar83 commented 6 years ago

Hi, thanks for this state-of-the-art library. That's not an issue but just a few questions.

dmitry-zaitsev commented 6 years ago

Hi @sevar83 ,

sevar83 commented 6 years ago

I plan to create a realtime OCR module and possibly the image processing pipeline will be too heavy for mobile CPU in realtime. So, I consider using GPU but I've just found out that iOS doesn't support OpenCL but uses their Metal API and OpenCV has OpenCL / CUDA and no Metal support. I will try without GPU at first.

dmitry-zaitsev commented 6 years ago

I would recommend instead focusing on reducing the text detection area as much as possible. For example, coming up with your own text detection implementation (such as SWT) which is optimised for your needs. If you are using Tesseract that would speed up the process significantly as the default text detection is rather faulty and slow.

sevar83 commented 6 years ago

Yeah, I would expect good bounds detection will help for better results. But my use case is scanning watch backplates where the texts are simple numbers but they are curved, very tiny and sometimes there are reflections.