microsoft / OCR-Form-Tools

A set of tools to use in Microsoft Azure Form Recognizer and OCR services.
MIT License
507 stars 170 forks source link

FOTT Desktop Tool - Not able to read "local files" for training #1013

Open abhisheksreesaila opened 2 years ago

abhisheksreesaila commented 2 years ago

Describe the bug When we hit "Train" and provide the local path as the "source" it complains that it cannot access files and URI is incorrect. As a result the desktop version of the tool is. USELESS since it cannot be used to train, rather just OCR' and tagging..

To Reproduce Steps to reproduce the behavior:

  1. Download the. "EXE" from the releases folder. Took the latest release v 2.1. (https://github.com/microsoft/OCR-Form-Tools/releases/tag/v2.1-ga-hotfix)
  2. Setup local connection by pointing to a local folder on your laptop
  3. Setup a local project by using images from your local desktop folder (from step 2)
  4. Label a few documents (atleast 5)
  5. Go the "Train" screen and provide source (file:///C:/path/to/your/train/folder)
  6. It throws an error

Expected behavior API should support local files and hence should consume all the files within the folder and provide a "TRAINED MODEL"

Screenshots

error message

file path provided

Desktop (please complete the following information):