dramenti / symmetry

Line-of-symmetry detector in Python with OpenCV.
MIT License
48 stars 17 forks source link

[Question] symmetric, non symmetric, almost symmetric detection #1

Open felicedeluca opened 6 years ago

felicedeluca commented 6 years ago

Hi,

Can this tool detect a non-symmetric image? If so how? If the input is an almost-symmetric image can it tell me how close it is to be exactly-symmetric?

Thanks

dramenti commented 6 years ago

Hi,

All this program does is find/draw a line in the image where it thinks there is a line of bilateral symmetry, it doesn't detect anything else (there is no object detection going on, etc.)

For the second question, I don't know what exactly you mean but one of the outputs is a plot of all weighted votes for each potential line of symmetry. The more "votes" a particular line has, the more likely it is to be a line of symmetry.

felicedeluca commented 6 years ago

then if I have images with the following values:

it means that the system is more confident about the line detected in (-395.657, 3.11) than (-65.43, 2.8), while it didn't detect any line in (371.317, 0.005). is it correct? is there a range for these votes?