11. One of the answers,
By your eyes and hand
for all of target pictures
1つの方法: 手でやれ
12. “Are you kidding? I have tons of pictures!”
「バカな!手元には万単位で画像ファイルがあるんだぞ!」
13. Ok, let's make “similar image search system”
「よろしい、ならば類似画像検索システムだ」
14. Previous researches of
“Similar Image Search” algorithms
● Compare pixels by pixels (Image::Compare?)
● By (reduced) color histogram
● By extracted outlines of image.
● By representative projection vectors of fractal image
compression
● By characteristic values of divided regions of image.
(Average RGB, Hue, Saturation, Value, or so)
15. Previous researches of
“Similar Image Search” algorithms
● Compare pixels by pixels (Image::Compare?)
● By (reduced) color histogram
● By extracted outlines of image.
● By representative projection vectors of fractal image
compression
● By characteristic values of divided regions of image.
(Average RGB, Hue, Saturation, Value, or so)
19. Implementation
● Image::Characteristics (not in CPAN)
– lp:~turugina/+junk/p5-image-characteristics
– Using Imager API from XS
● Samples (contains no picture)
– lp:~turugina/+junk/img_detect
● gather.pl (gathers files using File::Find and
calculates characteristic values)
● matching.pl (makes pairs of suspecious files)
● rmse.pl (calculates RMSE of pairs)
● web.pl (GUI using Mojolicious::Lite)