mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-05-14 09:59:29 +07:00
fix: counter api response order
This commit is contained in:
parent
34ad3a5ad5
commit
695c5fe4a3
|
@ -31,7 +31,7 @@ args = None
|
|||
def counter():
|
||||
# return the rendered template
|
||||
global people_count
|
||||
return jsonify([people_count, 1000, 980, 700, 500, 670, 567 ])
|
||||
return jsonify([ 1000, 980, 700, 500, 670, 567, people_count ])
|
||||
|
||||
@app.route("/video")
|
||||
@cross_origin()
|
||||
|
|
Loading…
Reference in New Issue
Block a user