OCR4all / ocr4all-backend

Master repository containing all required submodules to get the new OCR4all backend (still WIP) up and running
MIT License
1 stars 1 forks source link

Change collection set file structure #19

Closed maxnth closed 3 months ago

maxnth commented 3 months ago

Currently the files property of a collection set object just contains an array of all files in the collection set without any additional information regarding the file type or "extension type". In the future the request should return a more structured format like:

...
{ files: [
  { "content-type": "image", "type": "nrm", "file:": "some_page.nrm.png"},
  { "content-type": "image", "type": "bin", "file:": "some_page.bin.png"},
  { "content-type": "xml", "type": null, "file:": "some_page.xml"},
]}
...

or something similar to allow starting training only on e. g. grayscale images.

maxnth commented 3 months ago

Was added to dev branch