I have one application using OpenCV to detect QR code.
Btw, it is not working on Android devices (Samsung Galaxy s7, Samsung Galaxy s7 edge etc).
The main reason is that we need to use Front camera to detect QR code.
Android devices support only Fixed mode for front camera, not supporting AUTO_FOCUS and camera resolution is also poor than rear camera.
So the qr image from camera frame is out of focus and blurred.
So we do deblurred and defocused using OpenCV and then use Zxing for QR detection.
deblurred and defocused module is working on iPhone, but not working on Android.
Samsung's front camera has better quality than iPhone6, but The deblurred and defocused module is working well on iPhone6 but not working on Samsung's android devices.
It can be related with camera aperture, as you can see in below list, Samsung's device : f/1.7, iPhone: f/2.2
Here are front camera info lists.
- Samsung Galaxy s7
- Samsung Galaxy s7 edge
- Samsung Galaxy s8
- iPhone 6
- iPhone 7
The deblurred and defocused module was implemented using OpenCV, C for iPhone, Java for Android.
*) QR code is small and it has fixed size (1.1 cm * 1.1 cm). Need to use front camera.
10 freelancers are bidding on average $230 for this job
We have professional Android developer, who is from Infosys, hcl, give us a chance to assist you, and we will not give you any chance for complain.