BrandonJoffe / home_surveillance

Home surveillance system with facial recognition
1.22k stars 384 forks source link

Question #14

Open spilote opened 7 years ago

spilote commented 7 years ago

Good morning, I guess I will be that guy this I really new... I'm trying to launch and move the step 4.

When I execute docker run -v /Users/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash

It says that I would need to mount my home directory but I don't really grasp the concept in how and which folder to mount.

I'm on Ubuntu, and I cloned the git in my /homerepo folder.

Can someone guide me please.

Thanks!

BrandonJoffe commented 7 years ago

Hey,

here is a good place to start: https://docs.docker.com/engine/tutorials/dockervolumes/

In a nutshell, you'll have to replace 'Users' (which is in the root directory on OS X) to the path of your homerepo folder from your root directory on ubuntu.

For example if homerepo was on your desktop you could run the following:

docker run -v /home/brandon/Desktop/homerepo/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash

I hope that helps! Brandon

spilote commented 7 years ago

Alright! It's working, thank you so much. Felt like it was the stupidest question ever but I didn't!

Thanks!

SÉBASTIEN PILOTE // MANAGING PARTNER

+1 (514) 668-8594

WWW.FITBCOM.COM http://www.FITBCOM.COM

Confidentiality: This documentation transmitted by electronic mail is intended for the use of the individual to whom or the entity to which it is addressed and may contain information which is confidential and privileged. Confidentiality and privilege are not lost by this documentation having been sent to the wrong electronic mail address. If you are not the intended recipient or the person responsible for delivering it to the intended recipient, please notify us immediately and destroy this document. Any distribution, reproduction or other use of this document is prohibited without our consent.

Confidentialité: Ce document transmis par courrier électronique est destiné uniquement à la personne ou à l'entité à qui il est adressé et peut contenir des renseignements confidentiels et assujettis au secret professionnel. La confidentialité et le secret professionnel demeurent malgré l'envoi de ce document à la mauvaise adresse électronique. Si vous n'êtes pas le destinataire visé ou la personne chargée de remettre ce document à son destinataire, veuillez nous en informer sans délai et détruire ce document. Toute distribution, reproduction ou autre utilisation de ce document est interdite sans notre consentement.

On Thu, Jan 26, 2017 at 8:58 AM, Brandon Joffe notifications@github.com wrote:

Hey,

here is a good place to start: https://docs.docker.com/engine/tutorials/ dockervolumes/

In a nutshell, you'll have to replace 'Users' (which is in the root directory on OS X) to the path of your homerepo folder from your root directory on ubuntu.

For example if homerepo was on your desktop you could run the following:

docker run -v /home/brandon/Desktop/homerepo/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash

I hope that helps! Brandon

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BrandonJoffe/home_surveillance/issues/14#issuecomment-275393914, or mute the thread https://github.com/notifications/unsubscribe-auth/AYMLFMdzQGN74jP_d79w6ekgtMowu_cpks5rWKZ1gaJpZM4Lujjw .

spilote commented 7 years ago

Well I got few steps closer!

I manage to launch the dashboard, but, when I try to add a camera, it says adding camera but nothing happen.

FYI, I'm trying to add this camera: Sercom RC8110 with that url http://admin:admin@192.168.1.225/img/video.mjpeg

When testing in a browser, it does stream in 720p

Could you also tell me where can I create a new user for the dashboard?

What am I missing?

Thanks!

SÉBASTIEN PILOTE // MANAGING PARTNER

+1 (514) 668-8594

WWW.FITBCOM.COM http://www.FITBCOM.COM

Confidentiality: This documentation transmitted by electronic mail is intended for the use of the individual to whom or the entity to which it is addressed and may contain information which is confidential and privileged. Confidentiality and privilege are not lost by this documentation having been sent to the wrong electronic mail address. If you are not the intended recipient or the person responsible for delivering it to the intended recipient, please notify us immediately and destroy this document. Any distribution, reproduction or other use of this document is prohibited without our consent.

Confidentialité: Ce document transmis par courrier électronique est destiné uniquement à la personne ou à l'entité à qui il est adressé et peut contenir des renseignements confidentiels et assujettis au secret professionnel. La confidentialité et le secret professionnel demeurent malgré l'envoi de ce document à la mauvaise adresse électronique. Si vous n'êtes pas le destinataire visé ou la personne chargée de remettre ce document à son destinataire, veuillez nous en informer sans délai et détruire ce document. Toute distribution, reproduction ou autre utilisation de ce document est interdite sans notre consentement.

On Thu, Jan 26, 2017 at 8:58 AM, Brandon Joffe notifications@github.com wrote:

Hey,

here is a good place to start: https://docs.docker.com/engine/tutorials/ dockervolumes/

In a nutshell, you'll have to replace 'Users' (which is in the root directory on OS X) to the path of your homerepo folder from your root directory on ubuntu.

For example if homerepo was on your desktop you could run the following:

docker run -v /home/brandon/Desktop/homerepo/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash

I hope that helps! Brandon

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BrandonJoffe/home_surveillance/issues/14#issuecomment-275393914, or mute the thread https://github.com/notifications/unsubscribe-auth/AYMLFMdzQGN74jP_d79w6ekgtMowu_cpks5rWKZ1gaJpZM4Lujjw .

BrandonJoffe commented 7 years ago

Hey @spilote,

sorry for the delayed response!

There seems to be issues with docker on later versions of Ubuntu - I only tested Ubuntu 14.01 LTS That being said, you can do a manual install, but please be sure to follow the installation instructions on Openface's webpage: https://cmusatyalab.github.io/openface/setup/ and install other dependencies that are missing i.e flask, psutil and a couple others...

Unfortunately, you cannot create a user account on the current dashboard - this is something that still needs to be added. I am not actively working on this project, but will try my best to assist as soon as I get a chance.

I hope you come right.

Cheers, Brandon

jam2211 commented 6 years ago

Hey, so I am having the same issue. I m running the latest version of Ubuntu server on a small which shouldn’t really matter.

When it grabbed the files from github it placed it in /home/jace/home_surveillance

So this is what I entered: docker run -v /home/jace/home_surveillance/homerepo/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash

After this I enter the container via the attach command then try “cd system” and it says directory not found. I’ve been at this for 4 hours now and haven’t every been able to start the We app python file.

Any thoughts?

levindmy commented 6 years ago

Hi Jam2211, try this: docker run -v /home/jace/:/host -p 9000:9000 -p 8000:8000 -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash and after that your path is /host/home_surveillance/system/

levindmy commented 6 years ago

also I opened the 554 port for the rstp video stream from IP camera -p 554:554