image recognition with pastec

14
Image Recognition with Pastec Handout: http://bit.ly/2kptfLR James Baker, Lecturer in Digital History/Archives University of Sussex @j_w_baker This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Exceptions: quotations, embeds from external sources, logos, and marked images.

Upload: james-baker

Post on 13-Apr-2017

98 views

Category:

Economy & Finance


0 download

TRANSCRIPT

Page 1: Image Recognition with Pastec

Image Recognitionwith Pastec

Handout: http://bit.ly/2kptfLR

James Baker, Lecturer in DigitalHistory/Archives

University of Sussex

@j_w_baker

This work is licensed under a CreativeCommons Attribution-ShareAlike 4.0

International License. Exceptions: quotations,embeds from external sources, logos, and

marked images.

Page 2: Image Recognition with Pastec

@j_w_baker

pictures/1805/003895043-0-000107-2-[The-antiquities-of-Furness-1774-]-1805.jpg

pictures/1805/003895043-0-000093-2-[The-antiquities-of-Furness-1774-]-1805.jpg

Same woodcut, different printing

Page 3: Image Recognition with Pastec

@j_w_baker

pictures/1805/001427428-0-000002-1-Schir-Ginkertounis-Garland-or-dawis-the-day-and-the-Scottismanis-Garland-or-Schir-Andro-Wode-his-battell-wi-Schir-Stevin-Bull-Two-ancient-poems-1805.jpg

pictures/1805/002302019-0-000002-1-Collegium-Bengalense-Carmen-cui-pr-mium-Buchanan-um-a-senatu-Academi-Glasguensis-adjudicatum-est-1805.jpg

pictures/1805/003530071-0-000002-1-The-Poor-Man-s-Sabbath-etc-[A-poem-]-1805.jpg

pictures/1800/002981885-0-000002-1-Pre-existence-A-poem-in-the-style-and-manner-of-Milton-etc-[By-Abel-Evans-]-1800.jpg

Same bookplate

Page 4: Image Recognition with Pastec

@j_w_baker

pictures/1805/003607804-0-000221-1-[Poems-chiefly-written-in-retirement-The-Fairy-of-the-Lake-a-dramatic-romance--1805.jpg

pictures/1805/001231823-0-000037-1-[The-Fig-Leaf-a-satirical-and-admonitory-poem-Dedicated-to-the-fashionable-world-[By-B-P-Cutham-]-Second-edition-]-1805.jpg

Sameembellishment mirrored andupside down

Page 5: Image Recognition with Pastec

@j_w_baker

pictures/1800/000741009-0-000027-1-A-Descriptive-Review-of-the-Year-1799-comprised-in-twelve-monthly-sections-[In-verse-]-1800.jpg

pictures/1800/000745995-0-000105-1-Essays-on-the-Progress-of-the-Vital-Principle-from-the-Vegetable-to-the-Animal-Kingdoms-and-the-Soul-of-Man-introductory-to-contemplations-on-Deity-MS-notes-[by-the-author]-1800.jpg

Sameembellishment with

one printed verypoorly

Page 6: Image Recognition with Pastec

@j_w_baker

pictures/1810/003419768-02-001055-1-A-System-of-Modern-Geography-or-the-natural-and-political-history-of-the-presen-1810.jpg

pictures/1849/003592040-03-000045-1-The-World-as-it-is-A-new-and-comprehensive-system-of-Modern-Geography-physical-1849.jp

An image in another image

Page 7: Image Recognition with Pastec

@j_w_baker

pictures/1806/000868209-01-000382-1-The-Poetical-Works-of-Erasmus-Darwin-Containing-the-Botanic-Garden-and-t-1806.jpg

pictures/1850/001988654-01-000324-1-Pictorial-Half-hours-edited-by-C-K-1850.jpg

Twoillustrationsof the same

object atdifferent

orientations

Page 8: Image Recognition with Pastec

@j_w_baker

pictures/1814/003549690-0-000059-1-Sketches-of-Russia-illustrated-with-fifteen-engravings-1814.jpg

pictures/1831/003549691-0-000063-1-[Sketches-of-Russia-illustrated-with-fifteen-engravings-]-1831.jpg

Coloured and monochrome versions of the sameprint

Page 9: Image Recognition with Pastec

@j_w_baker

pictures/1844/003172157-02-000207-1-Histoire-d-Angleterre-Nouvelle-e-dition-augmente-e-de-plus-d-un-tiers-et-e-1844.jpg

pictures/1847/003323087-0-000225-1-A-New-and-Popular-Pictorial-Description-of-England-Scotland-Ireland-Wales-an-1847.jpg

Cropped, rotated versions of thesame image

Page 10: Image Recognition with Pastec

@j_w_baker

Hamming Distance

The Hamming distance between:- “1rish” and “Irish” is 1.- “1011101” and “1001001” is 2

and

is 1

Page 11: Image Recognition with Pastec

@j_w_baker

Page 12: Image Recognition with Pastec

@j_w_baker

Page 13: Image Recognition with Pastec

@j_w_baker

References

Baumann, Ryan. ‘Finding Near-Matches in the Rijksmuseum with Pastec’. 3November 2015. https://ryanfb.github.io/etc/2015/11/03/finding_near-matches_in_the_rijksmuseum_with_pastec.html

Setting up Pastec as a Virtual Machinehttps://gist.github.com/drjwbaker/17351599854801f9891c7e0211eed32e

Pastec http://pastec.io/doc/oss/

OpenCV http://opencv.org/

Visual Words https://en.wikipedia.org/wiki/Visual_Word

ORB Feature Detection http://scikit-image.org/docs/dev/auto_examples/plot_orb.html

Pastec develpers on their use of ORBwww.willowgarage.com/sites/default/files/orb_final.pdf

Page 14: Image Recognition with Pastec

Image Recognitionwith Pastec

James Baker, Lecturer in DigitalHistory/Archives

University of Sussex

@j_w_baker

This work is licensed under a CreativeCommons Attribution-ShareAlike 4.0

International License. Exceptions: quotations,embeds from external sources, logos, and

marked images.