100% API, no Plugin
AnsweredIs there a way to do the following with just API calls and no plugin:
1) User sets up motion detection in Nx Meta.
2) Upon motion detection, the image is sent to our API Cloud.
3) Our API Cloud returns a JSON response.
4) We show the JSON response as a Bookmark, where the Bookmark contains the image, timestamp, and some info related to that image (e.g. blue cap).
We would like to avoid writing a C++ plugin to achieve this.
-
Hello Kyle,
there is a possibility to implement this without writing C++ plugin but it would work a bit differently from what you've described:
1) User can enable motion detection on camera via GUI client or you can do this via API.
2) Upon motion detection you can execute "do HTTP request" action which would notify your system about motion.
3) Your system can pull a single frame(/ec2/cameraThumbnail) or video(http/rtsp) via API and analyze it. Instead of returning JSON response, your system will need to create a Generic event in VMS via API(/api/createEvent). We have this support article explaining how to create generic events.
4) Rules engine on VMS side can create bookmark upon receiving Generic event from your system.
Will this approach work for you?
0
Please sign in to leave a comment.
Comments
1 comment