Clone the ingredients extraction system for recycling instructions
teolemon opened this issue · 0 comments
teolemon commented
Overview
- Clone the ingredients extraction system for recycling instructions
Flow
It works exactly like the ingredients field, tab and addition workflow. This means although I've redocumented everything, you can mostly clone the ingredients code, or refactor it to be able to handle the packaging case
- Upload a packaging_image
Same process as ingredients but field is:packaging_fr
,packaging_en
… - Request OCR output
Request:cgi/packaging.pl?code=3454681006511&id=packaging_fr&process_image=1&ocr_engine=google_cloud_vision
Response:{"packaging_text_from_image":"tia ac ","packaging_text_from_image_orig":null,"status":0}
API to perform OCR on it: https://documenter.getpostman.com/view/8470508/SVtN3Wzy?version=latest#c911e8c8-2b88-44cd-8512-52fa55131396 - Get the user to validate it
- Send the validated result to packaging_text
Same process as ingredients but field is:packaging_text_fr
,packaging_text_en
…