Chameleon-Vision / chameleon-vision

Other
37 stars 11 forks source link

[WIP] Polygon and Circle Detection #100

Closed neel-j-dev closed 4 years ago

neel-j-dev commented 4 years ago

Pipes

FindPolygonsPipe

FilterPolygonsPipe

FindCirclesPipe

Pipelines

Testing

Not too much testing done yet. TODOs for testing include:

Triangles

image

Quadrilaterals

image

Circles

image

General Things left

Results from power cell test images

image image image

Higher resolution and less blur give better results and you might need to play around with the cannyMaxThresh and accuracy to pick up circles and not duck tape/similar shapes wires. But filterShapesPipe should take care of it if you want to define a min Area, peri or the minDist, min/max radius in the FindCirclespipe.

Solvepnp

Tried to draw a cube enclosing the circle, but ran into a wall with that since drawing over a contour made it impossible. Instead, a single square worked nicely. image

mcm001 commented 4 years ago

Can you uncommit the stuff in .gradle?