BrandonJoffe / home_surveillance

Home surveillance system with facial recognition
1.23k stars 385 forks source link

How it works? #54

Open borgelite opened 6 years ago

borgelite commented 6 years ago

When i run docker i become this error. docker run -v /Users/:/host -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash standard_init_linux.go:190: exec user process caused "exec format error"

What can i do?

Safename321 commented 5 years ago

It means the image isnt built correctly, and therefore cannot be run. Other repos with Docker problems are solving it by re-building with the same architecture (ARM for us) as the execution environment. It seems there is a right version of Docker required.

Here is a possible clue which did not work for me. https://github.com/tiangolo/uwsgi-nginx-flask-docker/issues/67

These GitHub Repos w Docker say the error is because the build is with non-ARM Docker version https://github.com/ArchiveTeam/warrior-dockerfile/issues/20 https://github.com/monicahq/monica/issues/1290 https://github.com/influxdata/influxdata-docker/issues/228

Safename321 commented 5 years ago

If your in Windows (Im in windows10), after you run the docker container, then clone the github code. The docker container is empty and does not have tehir WebApp.py file so you cannot run the server until the code is in the container and you run it within that environment. If that runs, then goto the "Localhost:5000" page to see if the server is running.

Getting the Pi to run the camera code seems pretty hard to do. I get "unexpected indent on line 55" where the line declaration is "Global alarm_state".

SaddamBInSyed commented 4 years ago

Hi

The same above error occurring in the Jetson nano board.

any solution came across with this error.

please help.