|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Detecting rectangles with the camera and Java
Apply an edge finding (both vertical and horizontal) algorithm. Try to scale your image down first (< 100x100) and take the grey scale for optimization.
Try the simplistic kernel of Code:
1 -1 Code:
1 -1 I assume that your "rectangle" will look like Code:
/ \ / \ / \ Either way, it's pretty tough... Last edited by shuhao : 20-12-2011 at 22:42. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|