This is list of all feature that is available on vanilla dashboard. Feature listed below have their own page. You can see the source code of these pages in here
API Documentation:
-
Stream/Camera related API : https://docs.nodeflux.io/visionaire-docker-stream/integration-point
-
Enrollment API: https://gitlab.com/nodefluxio/vanilla-dashboard/-/blob/master/contract.md
-
Event API: https://gitlab.com/nodefluxio/vanilla-dashboard/-/blob/master/event-contract.md
-
Websocket : https://docs.nodeflux.io/visionaire-docker-stream/developer-guide
-
Global Setting API : https://gitlab.com/nodefluxio/vanilla-dashboard/-/blob/master/global-settings.md
This page is used to list all CCTV available. Please check camera.js
for the source code
API Used on this page:
- Get list of all streams
- Add Streams
- Delete Streams
- Create Pipeline
currently, when camera is succesfully added, pipeline will automatically be created.
To show visualisation, we use visualstreamer.js class that already provided in this repo. this class, along with the code can be used anywhere you desire. visualisation class is also used in the VisualisationWrapper
component
This page is used to look deeper into one cctv camera. it will show visualisation along with event dumps. Please check cameradetail.js
for the source code
API used on this page:
- Get Stream
- Websocket
Like on previous page, we also use VisualisationWrapper
to show the camera visualisation.
For the event dumps, we can call the websocket. Then the data will be displayed using component called Event
. Event component is just a component used to display picture and text data from event dumps.
This page is used to get past event data. We can filter and sort the event data based on flag and or date. Please check events.js
for the source code.
API used on this page:
- Get Event
the Get Event API itself already able to filter and sort based
Component used on this page is mainly Event
component and Input component (text, select and date selector) for filtering and sorting
This page use to manage all enrolment CRUD. Please check
enrollment.js
for the source code.
API used on this page:
- Get List Enrollment (get all enrollment data)
- Delete Enrollment
- Add Enrollment
- Update Enrollment
- Get Enrollment (get specific enrollment data)
We currently use react-dropzone
for uploading enrollment image, and then call Add Enrollment or Update Enrollment to save the data.
The component used for displaying enrollment image is ThumbnailCard
. It's just component to display image with title and actions.