Ask Your Question
1

Detecting rectangle on android

asked 2017-11-14 09:46:18 -0600

namacos gravatar image

I am trying to detect rectangle in a picture taken by android.

After of several days struggling I am still unable to do this. It surprises me that I am unable to find this kind of example. I found several solutions with cpp but not something that can easily be ported on android.

I am new to opencv and in computer vision in general.

Can someone please give me some simple sample project that detects rectangle in android ? That will be very helpful to me at this moment.

Thanks in advance

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2017-11-14 15:13:13 -0600

supra56 gravatar image

How about this one? detected_rectangle

edit flag offensive delete link more

Comments

I accept you answer. It works, but is it easy to convert this to detection of multiple rectangles ? Thanks

namacos gravatar imagenamacos ( 2017-11-16 05:57:05 -0600 )edit

I tested it on raspberry pi 3 using python 3.5. The answer is yes. You can detected multiple.

supra56 gravatar imagesupra56 ( 2017-11-16 06:47:24 -0600 )edit
1

answered 2017-11-16 03:16:25 -0600

ChukZ gravatar image

This one worked for me. DetectingShapes

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-11-14 09:46:18 -0600

Seen: 5,285 times

Last updated: Nov 16 '17