applying computer vision to art history - john resig · 2015. 2. 10. · computer vision •...

35
Applying Computer Vision to Art History John Resig - http://ejohn.org/research/ Visiting Researcher, Ritsumeikan University

Upload: others

Post on 19-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Applying Computer Vision to Art History

John Resig - http://ejohn.org/research/ Visiting Researcher, Ritsumeikan University

Page 2: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

What “Works” TodayReading license plates, zip codes, checks

Page 3: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Optical Character Recognition

• Tesseract

• https://code.google.com/p/tesseract-ocr/

Page 4: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

What “Works” TodayFace recognition

Page 5: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Face Matching

• OpenBR

• http://openbiometrics.org/

• Age Estimation

Page 6: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

What “Works” TodayRecognition of flat, textured, objects

Page 7: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Computer Vision

• Unsupervised (requires no labeling):

• Comparing an entire image

• Categorizing an image

• Supervised (requires labeling):

• Finding parts of an image

• Finding and categorizing parts of an image

Page 8: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Unsupervised Training

• Requires little-to-no prepping of data

• Can just give the tool a set of images and have it produce results

• Extremely easy to get started, results aren’t always as interesting.

Page 9: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Supervised Training

• Need lots of training data

• Needs to be pre-selected/categorized

• Think: Thousands of images.

• If your collection is smaller than this, perhaps it may not benefit.

• Or you may need crowd sourcing.

• Results can be more interesting:

• “Find all the people in this image”

Page 10: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Image Similarity

• imgSeek (Open Source)

• http://www.imgseek.net/

• TinEye’s MatchEngine

• http://services.tineye.com/MatchEngine

• Both are completely unsupervised. No training data is required.

Page 11: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

imgSeek

• Compares entire image.

• Finds similar images, not exact.

• Does not find parts of an image.

• Color sensitive.

Page 12: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Ukiyo-e.org (Using MatchEngine)

• Compares portions of images.

• Finds exact matches.

• Finds images inside other images.

• Color insensitive.

Page 13: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 14: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 15: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 16: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 17: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Anonymous Italian Art (Frick PhotoArchive) Using MatchEngine

Page 18: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Conservation

Page 19: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Copies

Page 20: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Partial Image vs. Much Larger Image

Image Portion

Page 21: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Frick 420

420

Zeri 1583642090

Frick 417

417

?

Page 22: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 23: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

8132a 8132

57129

57134

57130

57138

8131a 8131

?

Page 24: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 25: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 26: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 27: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Image Categorization

• Deep neural networks

• Requires minimal categorization

• Very little user-input required.

• Ersatz

• http://www.ersatzlabs.com/

Page 28: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Requires a lot of training data (thousands of images)

Takes a lot of computers(Not cheap)

The less categories you have, the better.

Page 29: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 30: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 31: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an
Page 32: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

General Computer Vision

• Ideal for some supervised training problems

• CCV

• http://libccv.org/

• https://github.com/liuliu/ccv

• OpenCV

• http://opencv.org/

Page 33: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Object Detection

Page 34: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Training Caveats

• Requires thousands (if not 10s of thousands) of images

• Will take at least a week to run on a very powerful computer

• Does not work with 3D objects

Page 35: Applying Computer Vision to Art History - John Resig · 2015. 2. 10. · Computer Vision • Unsupervised (requires no labeling): • Comparing an entire image • Categorizing an

Learn More about Computer Vision

• Learn more:

• http://cs.brown.edu/courses/csci1430/

• Paper on Frick Computer Vision work:

• http://ejohn.org/research/