gvinciguerra / countmein Goto Github PK
View Code? Open in Web Editor NEW๐พ People counting and surveillance with IoT devices
License: GNU General Public License v3.0
๐พ People counting and surveillance with IoT devices
License: GNU General Public License v3.0
Set up using docker on a Mac. 10.12.6. The dashboard doesn't respond. I started everything with docker-compose up and it looks like everything started. I wasn't sure what to put into the config file so here's what I used.
version: "3"
services:
web:
build: .
ports:
- "8000:8000"
depends_on:
- db
command: gunicorn -t 15 --bind localhost:8000 counterserver.main:hug_wsgi
db:
image: mongo:latest
ports:
- "27017:27017"
Any clues to where I might look?
Thanks
This is wonderful stuff and I am sure your project will be a very good template. I am following the Docker instructions and got the server up and running but I am unable to POST any images as per instructions.
E:\countmein>curl -i http://localhost:8000/v1/events -F event_type=0
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Server: gunicorn
Date: Sat, 26 Jun 2021 14:29:34 GMT
Connection: close
content-type: application/json; charset=utf-8
content-length: 26
"60d739cef72f136ecdc07971"
E:\countmein>curl -i http://localhost:8000/v1/frame -F [email protected]
HTTP/1.1 100 Continue
HTTP/1.1 400 Bad Request
Server: gunicorn
Date: Sat, 26 Jun 2021 14:30:04 GMT
Connection: close
content-type: application/json; charset=utf-8
content-length: 64
{"errors": {"frame": "Required parameter 'frame' not supplied"}}
Am on Windows and when I execute the client, it is crashing after a face has been detected...
E:\countmein\clients>python camera_node.py
[[ 85 168 289 289]] // I printed faces() to debug
Traceback (most recent call last):
File "E:\countmein\clients\camera_node.py", line 155, in
track_unknown_faces(faces, frame)
File "E:\countmein\clients\camera_node.py", line 81, in track_unknown_faces
new_tracker = cv2.Tracker_create("MEDIANFLOW") # KCF MEDIANFLOW
AttributeError: module 'cv2.cv2' has no attribute 'Tracker_create'
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wvn_it83\opencv\modules\videoio\src\cap_msmf.cpp (434) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.