Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Clone the ingredients extraction system for recycling instructions #959

Open
1 task
teolemon opened this issue Feb 5, 2022 · 0 comments
Open
1 task

Comments

@teolemon
Copy link
Member

teolemon commented Feb 5, 2022

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

  1. Upload a packaging_image
    Same process as ingredients but field is: packaging_fr , packaging_en
  2. 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
  3. Get the user to validate it
  4. Send the validated result to packaging_text
    Same process as ingredients but field is: packaging_text_fr , packaging_text_en

Feature visible in the Web version

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: No status
Development

No branches or pull requests

1 participant