Flipped images? #28
-
Hey:) I've been using your program cbird to detect similar images, and I'm incredibly impressed so far. It manages to do things a lot of paid tools do not. One thing I'm struggling with however is finding flipped images. -p.refl does not appear to work at all. The following command finds all similar images in my test folder, except any flipped images: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Reflections are not indexed currently and must be generated as needed. It seemed like a practical choice at the time since it would 2-3x the indexing time needed.
Since each image has to be loaded and indexed for each reflection this takes a lot longer. You can specify what reflections you want and use a lighter algorithm to help that. Note that the "color" algorithm doesn't use spatial information so that would work with |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response! After lots of trial and error, this appear to be the most effective command for my use case: cbird -use -i.algos orb -update -p.alg orb -p.odt 15 -p.mg 1 -p.refl h+v -select-type i -similar-to @ -show It works well enough (i.e. better than any other software I've tried). The only issue is mirrored images appear twice per group in the results browser. Is there a way to only make the same file show up only once per group? Is there anything I can improve upon to increase true positives without producing too many false positives? Processing time isn't something I'm too worried about because I'm never working with too many files at a time. |
Beta Was this translation helpful? Give feedback.
-
Hey, happy you are finding this useful. I'm getting back into it again, maybe there is a new release this summer. orb will find rotations, so you really only need the one reflection. You can also force all results to be pairs with Besides lowering the threshold you can filter by score, add A slower option is the template matcher ( |
Beta Was this translation helpful? Give feedback.
Hey, happy you are finding this useful. I'm getting back into it again, maybe there is a new release this summer.
orb will find rotations, so you really only need the one reflection.
-p.refl h
for example; it will detect the vertical case since that is the horizontal rotated 180. That will drop half of the results ;-)You can also force all results to be pairs with
-p.eg 1
, so each reflection match will be a separate groupBesides lowering the threshold you can filter by score, add
-with score "<1000"
after -similar-to. I don't really know what a good score would be.A slower option is the template matcher (
-p.tm 1
) this checks each result pair to see if one is transformable (rotate/scale…