mpizenberg / annotation-app

Generic, reusable, image annotation web application
https://annotation-app.pizenberg.fr
Mozilla Public License 2.0
31 stars 4 forks source link

Uploading a folder of images without selecting them all #17

Open mpizenberg opened 6 years ago

mpizenberg commented 6 years ago

Currently, this application is using standard File input API. This forces the user to select all images to import, and cannot retrieve files recursively in folders.

We know however that Chrome is able to do so for google drive, so there should be a way. If anyone wants to dig into that, the code that deals with loading multiple files is in client/src/Packages/Button.elm:

An alternative solution would be to be able to load a zip containing all images. This implies that the unzipping would have to be done in the browser.

mpizenberg commented 6 years ago

From ACM MM18 review:

As the authors suggest, loading files in batches (rather than loading all of them at the same time) would prevent possible complications. However, the necessity of processing in batches makes the overall task somewhat more complicated; it creates the additional efforts for the user, as the user will need to sort images into batches and do the necessary bookkeping