Sending Images via HTTP Generic Events
In ProgressHello
Is it possible to send images in an event from an external system using "HTTP Generic Events"?
-
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.
Please sign in to leave a comment.
Comments
2 comments