when automated analysis goes wrong

62
When automated analysis goes wrong Tristan Roddis Cogapp MCN conference 2017

Upload: cogapp

Post on 28-Jan-2018

100 views

Category:

Government & Nonprofit


0 download

TRANSCRIPT

Page 1: When automated analysis goes wrong

When automated

analysis goes wrong

Tristan Roddis

Cogapp

MCN conference 2017

Page 2: When automated analysis goes wrong

Tristan Roddis. Cogapp

In this session

• Successes

• FAILURES

Page 3: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 1: Interesting

images

Page 4: When automated analysis goes wrong

Tristan Roddis. Cogapp

The problem

Page 5: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

"Nourishment for the Ailing" and "Nourishment for the Healthy"

http://www.qdl.qa/en/archive/qnlhc/9549.20

Page 6: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

"Nourishment for the Ailing" and "Nourishment for the Healthy"

http://www.qdl.qa/en/archive/qnlhc/9549.19

Page 7: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

Page 8: When automated analysis goes wrong

Tristan Roddis

Page 9: When automated analysis goes wrong

Tristan Roddis

Page 10: When automated analysis goes wrong

Tristan Roddis. Cogapp

Success 1: Interesting

images

Page 11: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

• Automatically tag, organize, and search visual

content with machine learning.

• Create concepts

Page 12: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

• Existing concepts:

• Illustration

• Drawing

Page 13: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

• Negative concept:

• Text

• Manuscripts

Page 14: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

• Combination of two custom concepts

• arabic_manuscript

• arabic_ manuscript_with_image

Page 15: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

45 images

45 images

Page 16: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

26 images

26 images

Page 17: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

• Python script to create sets and train

• Test and train

Page 18: When automated analysis goes wrong

Adrian Hindle

Tristan Roddis

Page 19: When automated analysis goes wrong

Adrian Hindle, Tristan Roddis. Cogapp

Page 20: When automated analysis goes wrong

Adrian Hindle

Tristan Roddis

Page 21: When automated analysis goes wrong

Adrian Hindle

Tristan Roddis

Page 22: When automated analysis goes wrong

Tristan Roddis

Page 23: When automated analysis goes wrong

Tristan Roddis. Cogapp

Other uses

• Blank sheets vs. writing

• Handwritten vs. typewritten

• [your collection-specific question here]

Page 24: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 2: term

extraction

Page 25: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 2: term

extraction

Page 26: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 2: term

extraction

Page 27: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 2: term

extraction

Page 28: When automated analysis goes wrong

Tristan Roddis. Cogapp

Success 2: add a

human

Page 29: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 3: Finding similar

images

Page 30: When automated analysis goes wrong

Tristan Roddis. Cogapp

Scikit-image

Page 31: When automated analysis goes wrong

Tristan Roddis. Cogapp

Scikit-image

Page 32: When automated analysis goes wrong

Tristan Roddis. Cogapp

Scikit-image

Page 33: When automated analysis goes wrong

Tristan Roddis. Cogapp

Scikit-image

Page 34: When automated analysis goes wrong

Tristan Roddis. Cogapp

Scikit-learn

• Machine learning is not easy

• Especially for this problem

Page 35: When automated analysis goes wrong

Tristan Roddis. Cogapp

Success 3: Finding similar

images

Page 36: When automated analysis goes wrong

Tristan Roddis. Cogapp

Term extraction

• Clarifai

• Google Vision API

• Microsoft Computer Vision

Page 37: When automated analysis goes wrong

Tristan Roddis. Cogapp

Clarifai

Page 38: When automated analysis goes wrong

Tristan Roddis. Cogapp

Google Vision API

Page 39: When automated analysis goes wrong

Tristan Roddis. Cogapp

MS Computer vision

Page 40: When automated analysis goes wrong

Tristan Roddis. Cogapp

Images

• Sourced from Nationalmuseum Sweden

• Using Europeana API for discovery

• 2000 images

• http://labs.cogapp.com/iiif-ml/

Page 41: When automated analysis goes wrong
Page 42: When automated analysis goes wrong
Page 43: When automated analysis goes wrong

Tristan Roddis. Cogapp

Success 4:

Optical music recognition

Page 44: When automated analysis goes wrong
Page 45: When automated analysis goes wrong

http://labs.cogapp.com/nls-omr/wavs/91387296.wav

Page 46: When automated analysis goes wrong

http://labs.cogapp.com/nls-omr/

Page 47: When automated analysis goes wrong

Tristan Roddis. Cogapp

Failure 4: Automated

captions

Page 48: When automated analysis goes wrong

A vase of flowers on a display

Page 49: When automated analysis goes wrong

Emanuel Swedenborg

Page 50: When automated analysis goes wrong
Page 51: When automated analysis goes wrong

Emanuel Swedenborg sitting in front of

a laptop

Page 52: When automated analysis goes wrong

Person using a phone

Page 53: When automated analysis goes wrong

Person sitting in a chair talking on a cell

phone

Page 54: When automated analysis goes wrong

A man and a woman taking a selfie

Page 55: When automated analysis goes wrong

A cat with its mouth open

Page 56: When automated analysis goes wrong

A pizza sitting on top of a window

Page 57: When automated analysis goes wrong

A man riding a bear in the water

Page 58: When automated analysis goes wrong

A teddy bear

Page 59: When automated analysis goes wrong

A group of sheep standing on top of a

horse

Page 60: When automated analysis goes wrong

A group of sheep standing on top of a

book

Page 61: When automated analysis goes wrong

Tristan Roddis. Cogapp

Conclusions

• Embrace failure

• Find workarounds

• Add humans to the mix

Page 62: When automated analysis goes wrong

Thank you.

Questions?

http://labs.cogapp.com/iiif-ml

http://labs.cogapp.com/nls-omr

Tristan Roddis

[email protected]