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

Clone the ingredients extraction system for recycling instructions #959

@teolemon

Description

@teolemon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions