post https://app.nanonets.com/api/v2/OCR/Model//UploadFile/
You can use this endpoint to upload training images for a category (for the specified model) using locally stored files. You will receive model information along with total number of images per category on successful execution.
Note: Filename in Data must be the same as that of the uploaded image name.
Log in to see full request history
Responses
400Category not valid for model. Check if this model has the category used in the request
OR
File missing. Check if you have included the file in the request
OR
Incorrect image. Check if file you included is valid PNG or JPEG file
404Model does not exists. Check if the model id exists