Skip to content

Commit

Permalink
Updated README.md with a little more information
Browse files Browse the repository at this point in the history
  • Loading branch information
seansund committed May 9, 2017
1 parent e9d9b55 commit e711d5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# peoplecount-server

Server-side flow for peoplecount application. Communicates with devices via MQTT. The camera device code is available in [peoplecount-camera](https://github.com/seansund/peoplecount-camera).

The server exposes an HTTP request input to initiate the flow. Once started, a new capture instance is added to the database and a message with the new capture_id is published to a command topic so that devices will initiate the capture.

When the device has completed its capture it will publish to an event topic to which the server has subscribed. When a message comes in, the server looks up the capture in the database using the capture_id and updates the total count and counts list with the information from the device.

0 comments on commit e711d5f

Please sign in to comment.