Similar image search           with OpenCV      Jernej Virag / @jernejv
How does it work?●   Preprocess images●   Find interesting parts of images ( features)●   Find matching features of input ...
Preprocessing images●   Grayscale conversion●   Bluring●   Histogram equalization
Feature extraction●   Hessian feature detector●   FAST●   Laplacian of Gaussian●   etc.●   Better algorithms    ●   SIFT (...
Feature matching●   Fast lookup of nearest vectors●   Well use FLANN
OpenCV●   Great:    ●   Tons of pre-implemented algorithms    ●   REALLY fast    ●   Hardware acceleration support●   Less...
OpenCV●   Should compile your own!●   Add TBB and libeigen for performance●   Dont forget python headers!●   Use “cmake-gu...
CODE TIME!
?@jernejv / mavrik@kiberpipa.org
?@jernejv / mavrik@kiberpipa.org
Upcoming SlideShare
Loading in …5
×

Python simillar image search

1,100 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,100
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Python simillar image search

  1. 1. Similar image search with OpenCV Jernej Virag / @jernejv
  2. 2. How does it work?● Preprocess images● Find interesting parts of images ( features)● Find matching features of input image in feature database
  3. 3. Preprocessing images● Grayscale conversion● Bluring● Histogram equalization
  4. 4. Feature extraction● Hessian feature detector● FAST● Laplacian of Gaussian● etc.● Better algorithms ● SIFT (patented) ● SURF (patented)
  5. 5. Feature matching● Fast lookup of nearest vectors● Well use FLANN
  6. 6. OpenCV● Great: ● Tons of pre-implemented algorithms ● REALLY fast ● Hardware acceleration support● Less great: ● Annoying compilation ● Broken packages ● Unstable API ● Large
  7. 7. OpenCV● Should compile your own!● Add TBB and libeigen for performance● Dont forget python headers!● Use “cmake-gui” to check results of pre-compile configuration
  8. 8. CODE TIME!
  9. 9. ?@jernejv / mavrik@kiberpipa.org
  10. 10. ?@jernejv / mavrik@kiberpipa.org

×