Giter Club home page Giter Club logo

openface_sample's Introduction

openface_sample

顔認証サンプルコードの動作確認手順

Dockerのインストール

{参考記事}

ローカルの作業ディレクトリへGitプロジェクトをclone

cd {作業ディレクトリ}
git clone ・・・・ ※clone済みの場合は、最新化する

顔認証Dockerfileをbuildしてイメージを作成

cd {作業ディレクトリ}/ict_store/exxxxxx/face_recognition docker build -t ict_store/face_recognition:1.0 . ※完了まで少し時間がかかるので待機

イメージをrunしてコンテナを作成 (ローカルの作業ディレクトリとコンテナのhomeディレクトリを共有)

docker run -it -v {作業ディレクトリの絶対パス(pwd)}/ict_store/exxxxxx/:/home/ ict_store/face_recognition:1.0 /bin/bash

コンテナ上で顔認証サンプルコードを実行

python3 /home/face_recognition/main.py

実行結果

・・・・・・・・・・

顔認証ソースファイル構成

・main.py ・・・ 顔認証実行ファイル(動作確認用サンプル)。OpenFaceを用いた関数群(openface_func.py)を利用。
・openface_func.py ・・・ OpenFaceを用いた関数群(顔ベクトル取得&顔ベクトル間の距離取得)。

参考記事

Dockerコマンド よく使うやつ

https://qiita.com/Esfahan/items/52141a2ad741933d7d4c

OpenFace動作環境作成

https://elsammit-beginnerblg.hatenablog.com/entry/2020/05/17/192559 https://blog.goo.ne.jp/jsp_job/e/a779b628252e23a4ebcf6c857e748f2f

openface_sample's People

Contributors

nakanoh8 avatar

Watchers

 avatar

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.