Thanks, I finally managed to get a working script to send frames and capture them in a flask server. However the scripts seem to work fine when I run them from my IDE (Pycharm), but once on the floyd serve API it throws the following error on every POST request that I send:
2019-03-24 14:54:37 PSTuwsgi 81.247.121.24, 10.0.1.101 - [24/Mar/2019:21:54:37 +0000] "POST /video_get HTTP/1.1" [200] RT:0 SZ:80 BSZ:2 [python-requests/2.21.0] REF:-
2019-03-24 14:54:37 PST2019/03/24 21:54:37 [error] 53#53: *29 readv() failed (104: Connection reset by peer) while reading upstream, client: 10.0.0.14, server: , request: "POST /video_get HTTP/1.1", upstream: "uwsgi://unix:///tmp/serve_uwsgi.sock:", host: "ip-10-0-0-203.us-west-2.compute.internal:28738"
2019-03-24 14:54:37 PSTnginx 10.0.0.14 - [24/Mar/2019:21:54:37 +0000] "POST /video_get HTTP/1.1" [200] RT:0.212 SZ:154 BSZ:0 ["python-requests/2.21.0"] REF:"-" "-" "81.247.121.24, 10.0.1.101"indent preformatted text by 4 spaces
Do you know what could be the reason that this happens on the cloud server but not when testing on the IDE? Thanks for your support