Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20186

nuxeo-vision: Send events once the API has been called

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Detail
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10
    • Component/s: Nuxeo Vision
    • Upgrade notes:
      Hide

      Once nuxeo-vision has handled a Picture, it sends the "visionOnImageDone" event, and once it has handled a Video, it sends "visionOnVideoDone".

      This allows to trigger event (typically, an asynchronous event) and process business logic after nuxeo-vision has extracted tags or text.

      A typical example is the following: For a Picture, nuxeo-vision stores by default in dc:source the text extracted via OCR. Adding a listener for "visionOnImageDone" is a good idea if one wants to check for unauthorized words (start a workflow, tag the picture, change its ACL so only an administrator can access it, ...)

      Show
      Once nuxeo-vision has handled a Picture, it sends the "visionOnImageDone" event, and once it has handled a Video, it sends "visionOnVideoDone". This allows to trigger event (typically, an asynchronous event) and process business logic after nuxeo-vision has extracted tags or text. A typical example is the following: For a Picture, nuxeo-vision stores by default in dc:source the text extracted via OCR. Adding a listener for "visionOnImageDone" is a good idea if one wants to check for unauthorized words (start a workflow, tag the picture, change its ACL so only an administrator can access it, ...)

      Description

      There are configurations where we want to be able to act on the result of the Google Visions API call. For example, checking the OCR extracted from an image does not contain offensive words.

      Detecting nuxeo-vision is done extracting the tags is complicated and unsure.

      => Add events, so configuration can listen on these event (one for picture, one for video)

      ------
      Nuxeo Vision has been improved allows to trigger event (typically, an asynchronous event) and process business logic after nuxeo-vision has extracted tags or text. Example: for a Picture, nuxeo-vision stores by default in dc:source the text extracted via OCR. Adding a listener for "visionOnImageDone" is a good idea if one wants to check for unauthorized words (start a workflow, tag the picture, change its ACL so only an administrator can access it, ...)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: