Code Monkey home page Code Monkey logo

elbarto's Introduction

Face/Object Recognition

Steps:

$ git clone [email protected]:Dilan/elbarto.git ~/projects/elbarto
$ cd ~/projects/elbarto
$ docker pull hackerloft/opencv:v1.0
$ docker run -d --name elbarto -p 8888:8888 -v ~/projects/elbarto/face-recognition:/home hackerloft/opencv:v1.0
$ docker exec -it elbarto python /home/get_faces.py /home/test-data/test_Diana_Vera.jpg /home/output/

Docker

Build image

$ docker build -t opencv:v1.0 .

... or just pull it from hub.docker.com

docker pull hackerloft/opencv:v1.0

Run image and share some volume to make possible to store changes in your local machine

$ docker run -d --name elbarto -p 8888:8888 -v ~/projects/elbarto/face-recognition:/home hackerloft/opencv:v1.0

Fetch Jupyter's token

$ docker logs elbarto

... it will be something like this:

The Jupyter Notebook is running at:
http://0.0.0.0:8888/?token=679cd547537772e8f7723999db152bdb7c30169d71c1e159

In case you want to jump inside container:

$ docker exec -it elbarto bash

Convert notebook to script

# (inside container)
$ jupyter nbconvert --to script /home/DetectFace.ipynb --stdout > /home/DetectFace.py
# (outside container)
$ docker exec -it elbarto jupyter nbconvert --to script /home/DetectFace.ipynb

Find faces and save to "output" folder

$ docker exec -it elbarto python /home/get_faces.py /home/test-data/test_Diana_Vera.jpg /home/output/

Useful Links

https://github.com/caesar0301/awesome-public-datasets

https://www.pyimagesearch.com/

https://github.com/informramiz/Fully-Convolutional-Networks/blob/master/CarND-Object-Detection-Lab.ipynb

https://blog.openai.com/universe/

# pandas
https://bitbucket.org/hrojas/learn-pandas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.