• No results found

Applications of a CNN for Automatics Classifications of Outsole Features

N/A
N/A
Protected

Academic year: 2021

Share "Applications of a CNN for Automatics Classifications of Outsole Features"

Copied!
35
0
0

Loading.... (view fulltext now)

Full text

(1)

Forensic Evidence

2-17-2020

Applications of a CNN for Automatics Classifications of Outsole

Applications of a CNN for Automatics Classifications of Outsole

Features

Features

Miranda R. Tilton

Iowa State University

Susan Vander Plas

Iowa State University

Follow this and additional works at: https://lib.dr.iastate.edu/csafe_conf

Part of the Forensic Science and Technology Commons

Recommended Citation Recommended Citation

Tilton, Miranda R. and Vander Plas, Susan, "Applications of a CNN for Automatics Classifications of Outsole Features" (2020). CSAFE Presentations and Proceedings. 65.

https://lib.dr.iastate.edu/csafe_conf/65

This Presentation is brought to you for free and open access by the Center for Statistics and Applications in Forensic Evidence at Iowa State University Digital Repository. It has been accepted for inclusion in CSAFE

Presentations and Proceedings by an authorized administrator of Iowa State University Digital Repository. For more information, please contact [email protected].

(2)

Abstract Abstract

Learning Overview: After attending this presentation, attendees will be familiar with the ways that CNNs can be applied to classify forensic pattern evidence, specifically with shoe outsole features.

Disciplines Disciplines

Forensic Science and Technology

Comments Comments

Tilton, M., VanderPlas, S., Applications of a CNN for Automatics Classifications of Outsole Features”. 2020 AAFS Anaheim, CA. Posted with permission from CSAFE.

(3)

Miranda Tilton, M.S.

Miranda Tilton, M.S.

A

PPLICATIONS

OF

A

CNN

A

PPLICATIONS

OF

A

CNN

FOR

A

UTOMATIC

FOR

A

UTOMATIC

C

LASSIFICATION

OF

C

LASSIFICATION

OF

O

UTSOLE

F

EATURES

O

UTSOLE

F

EATURES

Feb 20, 2020 Feb 20, 2020

(4)

What is the probability of

What is the probability of

a coincidental match?

(5)

Given a particular shoe outsole...

1. De ne the comparison population

2. Sample shoes from the comparison population

3. Count the number of similar shoes from the comparison population that are similar to the given shoe

4. Estimate the probability of a coincidental match:

What is the probability of

What is the probability of

a coincidental match?

a coincidental match?

N

S

=

p^

S

N

(6)

No 100% complete database of all shoes

manufacturer, model, size, tread style, manufacturing molds Shoe purchases vs. frequency of wear

Local populations may differ wildly (Benedict, et al., 2014)

Obstacles: Characterizing

Obstacles: Characterizing

Comparison Populations

Comparison Populations

(7)

How to collect data from the comparison population? 1. Build a low pro le scanner, place in a high traf c area 2. Scan shoes of those walking past

3. Create a local-area database of relevant scans

This is an engineering problem

Comparison Population

Comparison Population

Goal:

=

p^

S

N

(8)

Assume a machine exists that can scan shoe outsoles of pedestrians 1. Identify relevant features within the scans

Comparison Population

Comparison Population

(9)

Assume a machine exists that can scan shoe outsoles of pedestrians 1. Identify relevant features within the scans

2. De ne similarity for shoe images

Comparison Population

Comparison Population

(10)

Assume a machine exists that can scan shoe outsoles of pedestrians 1. Identify relevant features within the scans

2. De ne similarity for shoe images

3. Assess the frequency of similar shoes in the sampled data

Comparison Population

(11)

Use features other than make/model and size to characterize shoes Knockoffs often have very similar tread patterns

Similar styles have similar tread patterns across brands Unknown shoes can still be classi ed and assessed

Dr. Martens Eastland Timberland

Work 2295 Rigger 1955 Edition Jett 6" Premium Boot

Relevant Features

(12)

Bowtie Chevron Circle

Line Polygon Quadrilateral

Star Text Triangle

Used to separate shoes by make/model in (small) local samples (Gross, et al., 2013)

Relevant Features

Relevant Features

(13)

I

MAGE

A

NALYSIS

AND

I

MAGE

A

NALYSIS

AND

F

EATURE

D

ETECTION

(14)

Goal: Identify geometric tread features in

Goal: Identify geometric tread features in

images of shoe outsoles

images of shoe outsoles

Robust to different lighting conditions, rotation, image quality Fast processing of new images

Identify features that are explainable to practitioners

Image Analysis

(15)

Our eyes detect features in an image, and our brains learn to connect features with labels after seeing many examples.

Analogy: Human Classi cation

Analogy: Human Classi cation

(16)

Analogy: Human Classi cation

Analogy: Human Classi cation

(17)

C

ONVOLUTIONAL

N

EURAL

C

ONVOLUTIONAL

N

EURAL

N

ETWORKS

(18)

CNN Architecture

CNN Architecture

(19)

Very deep CNNs can require > 1 million images to optimize performance

Using a model base trained on different input data can greatly reduce the required number of images

Our approach

Use pretrained convolutional base: VGG16 Train a new model head

VGG16

Pre-trained CNN (Simonyan, et al., 2014)

Trained on 1.3 million images from ImageNet (Krizhevsky, et al., 2012)

Simple structure

Transfer Learning

Transfer Learning

(20)

F

ITTING

C

O

NNOR:

F

ITTING

C

O

NNOR:

C

ONVOLUTIONAL

N

EURAL

C

ONVOLUTIONAL

N

EURAL

N

ETWORK

FOR

O

UTSOLE

N

ETWORK

FOR

O

UTSOLE

R

ECOGNITION

(21)

Acquire Data

Acquire Data

ShoeScrapeR package over 80,000 images scraped since April 2018

(22)

LabelMe Annotation Tool used as a web interface - creates XML les with labels and coordinates. (Russell, et al., 2008)

27,710 regions labeled with one or more geometric objects

Label Data

Label Data

Labeling courtesy of Jenny Kim Ben Wonderlin Mya Fisher Holden Jud Miranda Tilton Charlotte Roiger Susan VanderPlas Joe Zemmels and others

(23)

Label Data

Label Data

(24)

256 x 256 pixel images Training data (60%):

1x Augmented images (rotation, skew, zoom, crop) to prevent over tting

Class weights used to counteract uneven class sizes Validation and test data (20% each)

Fit using the keras package in R, which provides a high-level API for the tensorflow library

Model Training

Model Training

(25)

Model Training

Model Training

Binary Cross-entropy Loss: −y log(p) −(1−y) log(1−p)

(26)

Evaluating the Model

Evaluating the Model

(27)

Evaluating the Model

Evaluating the Model

(28)

Evaluating the Model

Evaluating the Model

For multi-label images, only incorrect predictions contribute to off-diagonal probabilities used as the cutoff

EER

i

(29)

Heatmaps are scaled by class. Yellow = high activation

Interpreting the model

Interpreting the model

Class Activation Maps

Class Activation Maps

Blue: Prediction matches image label

Grey: Prediction does not match image label

(30)

Heatmaps are scaled by class. Yellow = high activation

Interpreting the model

Interpreting the model

Class Activation Maps

Class Activation Maps

Blue: Prediction matches image label

Grey: Prediction does not match image label

(31)

Heatmaps are scaled by class. Yellow = high activation

Interpreting the model

Interpreting the model

Class Activation Maps

Class Activation Maps

Blue: Prediction matches image label

Grey: Prediction does not match image label

(32)

Geometric shapes provide a convenient feature space for assessing shoe similarity

Transfer learning allows application of CNNs to much smaller datasets

CoNNOR performs well

Reduction in feature space: 256 x 256 x 3 -> 9

88% accuracy; many errors attributable to data labeling

Project Summary

(33)

[1] I. Benedict, E. Corke, R. Morgan-Smith, et al. “Geographical variation of shoeprint comparison class correspondences”. In: Science and Justice 54.5 (2014), pp. 335–337.

[2] S. Gross, D. Jeppesen, and C. Neumann. “The variability and signi cance of class characteristics in footwear impressions”. In: Journal of Forensic Identi cation 63.3 (2013), p. 332.

[3] A. Krizhevsky, I. Sutskever, and G. E. Hinton. “ImageNet Classi cation with Deep Convolutional Neural Networks”. In: Advances in Neural Information Processing Systems 25. Ed. by F. Pereira, C. J. C. Burges, L. Bottou and K. Q. Weinberger. Curran Associates, Inc., 2012, pp. 1097–1105.

[4] B. C. Russell, A. Torralba, K. P. Murphy, et al. “LabelMe: A Database and Web-Based Tool for Image Annotation”. En. In: International Journal of Computer Vision 77.1-3 (May. 2008). 02464, pp. 157–173. ISSN: 0920-5691, 1573-1405. DOI: 10.1007/s11263-007-0090-8. URL:

http://link.springer.com/10.1007/s11263-007-0090-8.

[5] K. Simonyan and A. Zisserman. “Very Deep Convolutional Networks for Large-Scale Image Recognition”. En. In: arxiv.org (Sep. 2014). URL: https://arxiv.org/abs/1409.1556.

References

References

(34)

R Packages and Toolkits:

Modeling: keras, tensorflow

Data Wrangling: magrittr, dplyr, lubridate, stringr,

tidyr, purrr, furrr

Image Processing: jpeg, imager, magick

Annotation Manipulation: sf, sp

Visualization: ggplot2, viridis, ggcorrplot, deepviz,

tidygraph, ggraph, shiny

XML/Web Scraping: xml2, XML, rvest, RSelenium

Slides/Documentation: rmarkdown, xaringan, knitr

Other Software: Docker, Selenium, LabelMe Annotation Tool (w/ Matlab toolbox), gimp image editor

Tools

Tools

(35)

T

HANK

YOU

References

Related documents

6) Techno-economic study which must involve a detailed cost analysis of the investment, payback time, operating expenses, internal rate of return (IRR), net

In a regular asset tracking system the readers would have to supply a RSSI (Received signal strength indication) value to provide data to calculate distance from the tags to

In conclusion, it can be stated that the biological compound PHB supplied as freeze-dried Ralstonia can bring added value to bivalve larvae culture by its

Chief Officer Group Gifts and Hospitality Register 2015. Date Name of Recipient Nature of

In this paper, we proposed a method based on improved Retinex theory and sparse representation to deal with the difficulties for face recognition under inhomogeneous illumination..

The first sub-index ( Quality&Resp ) evaluates how each country adheres to the following principles: “the government sector should be distinguished from the rest of the

An undated (estimated 1984) Brown & Williamson Tobacco Company mar- keting research report notes that their Kool cigarette brand had a young age profile including teenagers: