Coder Social home page Coder Social logo

toyproject_snow's Introduction

toyproject_snow

프로젝트 개요

  • 얼굴인식 스노우 카메라처럼 흉내내서 만들기 (opencv, dlib 사용)

result_image

파일 설명

  • main.py 파이썬 실행 파일
  • overlay_pre.py 인식한 얼굴에 다른 이미지를 덮어씌우는 함수 정의
  • face_landmark.dat 68개 얼굴 특징점을 추출하기 위해 기존 학습된 데이터파일
  • smaples 폴더 : 동영상(girl.mp4), 얼굴에 덮어씌울 이미지(ryan_transparent.png)

진행 순서

1. python 가상 환경 만들기

  • anaconda prompt 실행
  • conda create -n dlib python=3.6
  • conda activate dlib

2. cv2, dlib 라이브러리 설치

3. 실행

  • command or terminal에서 python main.py

* 주의할 점

  • dlib 설치가 쉽지 않았으나, conda 가상환경에서 conda install...로 하는 법이 가장 무난하였음
  • python 3.x 버전에서 dlib 설치가 가능하다는 말이 있어서 3.x 버전 사용 (다른 버전은 test 안했음)

(original) https://opentutorials.org/module/3811/22895

toyproject_snow's People

Contributors

do9380a1 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.