Skip to content
README.md 733 B
Newer Older
EZ's avatar
EZ committed
# IIIF Illustration Detection
EZ's avatar
EZ committed
a simple cnn for the binary classification into "contains illustration"/"doesn't contain illustration"
EZ's avatar
EZ committed
directories for training should be structured like this:

EZ's avatar
EZ committed
train <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ill<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;noill<br>
EZ's avatar
EZ committed
    
EZ's avatar
EZ committed
val<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ill<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;noill<br>
EZ's avatar
EZ committed
    
EZ's avatar
EZ committed
test<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;test
EZ's avatar
EZ committed


        
also contains a notebook that takes a barcode and gives predictions for pages

getpredictions_ex get barcodes from metadata and predicts for all of them (takes a long time)
saves number of found images into a new column of the metadata-dataframe (to inspect the results)
EZ's avatar
EZ committed