Comments

2 comments

  • Avatar
    Jose M Martinez

    If sending an image is not possible, can I send the coordinates of a bounding box in the JSON of the metadata?

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    Hi Jose M Martinez,

    Are you saying the Generic events or the "Do HTTP Request" actions?
    It looks like your question might mix the events and actions. 

    However, either parts may not achieve your requests directly but you are suggested develop your own middleware and plugin if necessary.

     

    1) You can develop a middleware to receive the HTTP request sent from Nx then using the API to get the snapshot if required. This means you can

    1. set Generic Event as the trigger, then activate the Do HTTP Request
    2. The HTTP Request is sent to your own middleware with cameraRef. (ref)
    The sample in the articles sends the event back to Nx for email function, but your case should be your own agent or middleware instead
    3. Get the image by the Nx API (/rest/v3/devices/{deviceId}/image) and save somewhere. 

     

    The boundary box now is available via the metaSDK with plugin code. But we plan to have metadataAPI in the future, so at the moment at least for Gen6, it is not possible to have the bounding box external but only via SDK.

     

    Thanks.

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.