OpenCV is not detecting rectangle(paper) In some Devices like moto,oppo devices

asked 2019-04-30 00:49:37 -0500

I have integrated latest version of opencv(4.1.0) for rectangle(Paper) detection but it is unable to detect rectangle(paper) in some devices like moto,oppo devices. also it is only detecting rectangle with mostly dark background like black , so please help me to find out what should be the problem ?

i have used this demo : https://github.com/KePeng1019/SmartPa...

edit retag flag offensive close merge delete

Comments

do you understand the code ?

berak gravatar imageberak ( 2019-04-30 01:56:50 -0500 )edit

yes i have successfully implemented in my app and its working fine in some devices

Jarvis Tech. gravatar imageJarvis Tech. ( 2019-04-30 02:00:22 -0500 )edit

sorry, but noone will build your app from github, test it on weird devices, it just won't happen..

berak gravatar imageberak ( 2019-04-30 03:06:07 -0500 )edit

can you try to give us a "minimal, reproducable example" ? (including test images ?)

berak gravatar imageberak ( 2019-04-30 03:07:52 -0500 )edit