Ask Your Question

Can OpenCV resolve this in Android

asked 2013-07-22 05:02:52 -0500

tonghu gravatar image

Hello guys. I'm an Chinese in China,so I am sorry that my English isn't good..and some word below come from Google Translate...

My problem is: if offer a picture like this:

image description

I need to get the phone screen position like this:

image description please pay attention to the red lines.(need split out the region wrapped by schematic red line)

I tried to resolve in traditional way without OpenCV and I found it's hard for me to do this. I want ask whether OpenCV can do this good in Android.I am a novice in openCV.Where to start dealing with this issue in openCV.

I do not know whether I express clearly what I mean.Thanks for your answer.谢谢

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2013-07-22 06:06:06 -0500

I guess you should look at segmenting, based on the blue regioned coloring. Then apply a contour based approach, trying to match or find contours with specific properties of the examples you store to match to.

edit flag offensive delete link more


Thank you.The phone screen background would change,so blue regioned coloring will not help. Maybe I should take attention to contour based recognition.It's hard for me and I will try to do.

tonghu gravatar imagetonghu ( 2013-07-22 21:18:18 -0500 )edit

answered 2013-07-22 07:21:04 -0500

simon111 gravatar image

updated 2013-07-22 19:38:27 -0500

What are you want to do?

Are your want to process the screen image on an Android device? if so, why not just get a image of screen snapshot, and pass this image to the process program.

edit flag offensive delete link more


Thanks,I need to process a picture just like given above.The picture is shoot by an camera.Just like License Plate Recognition.When I shooting a wake-up state phone,I need got the phone screen area by process the picture.

tonghu gravatar imagetonghu ( 2013-07-22 20:52:58 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-07-22 05:02:52 -0500

Seen: 173 times

Last updated: Jul 22 '13