Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploaded files #7

Open
hadarisas opened this issue Nov 29, 2019 · 3 comments
Open

uploaded files #7

hadarisas opened this issue Nov 29, 2019 · 3 comments
Assignees
Labels

Comments

@hadarisas
Copy link

Hii Jan
I followed all instruction and for the 1st run, registering faces and recognize them worked well.
but I can't find uploaded files. and also after restart docker I can't read registered faces

thanks for your nice API

@JanLoebel
Copy link
Owner

Hi there,

I think there must be a mistake using the image. Never heard of that problem before. But lets try to find your issue here.

Can you provide all the steps/commands you've done so far and what you've expected for each step?

@JanLoebel JanLoebel self-assigned this Nov 29, 2019
@hadarisas
Copy link
Author

I downloaded this repo, and copied it into /root
After thatI build the docker image:

docker build -t facerec_service .

Run the Docker image:

docker run -d -p8080:8080 -vfaces:/root/faces facerec_service

For testing : used Postman

To register person :

Simple POST an image-file to http://localhost:8080/faces?id=person1

And for Reading registered faces

Simple GET to http://localhost:8080/faces

For identify faces on image

Simple POST an image-file http://localhost:8080/

It worked well for the first time but i noticed that images aren't stored in /root /faces
Also when i restart the docker it can't recognize faces that i registered before restarting docker

@JanLoebel
Copy link
Owner

@hadarisas is you problem fixed since the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants