apsexton / bateman-ocr

Tools and experiments in the OCR of the Bateman Manuscripts
ISC License
0 stars 5 forks source link

Modify image loading to load the associated csv file #5

Open apsexton opened 8 years ago

apsexton commented 8 years ago

The data folder contains sample images and associated .csv files.

LibriCerule commented 8 years ago

Should I change the loadImage method in Controller (and create a separate loadCSV method in Model) or in Model to implement the .csv file readings?

apsexton commented 8 years ago

To keep things simple initially, I suggest the former, i.e. change the loadImage method in Controller and create a separate loadCSV method in Model.

Later on we may refactor the code to make a csvFile class in the utils package (like imageFile) and have the loadCSV method in Model simply use the csvFile class.