Android : rescaling of image before detection
ashokbugude opened this issue · comments
Ashok Bugude commented
I have tested a set of sample images for face detection using
- Python - face_detector.py
- C++ - face_detector_ex.cpp
- Android Face Detection
I have found that small faces are getting detected in
- Python - face_detector.py
- C++ - face_detector_cpp.cpp
But not detected in Android Face Detection.
I have found that image is rescaled to bigger size using the following methods so that small faces are detected
- Python - face_detector.py [ detector(img,1)]
- C++ - face_detector_cpp.cpp [ pyramid_up(img) ]
Can I please know if the image is also rescaled in android (in jniDetect) function.
If so , can I please know the location of the code
If not, can I please know which location do I need to scale the image