Giter VIP home page Giter VIP logo

oss_final_project_automaticfacecamera_photocompositingompositting's Introduction

AutomaticFaceCamera & PhotoCompositingompositting

Designed by

21600447 Seungjun, Yu

Index

1. Introduction

2. Language

3. Conclusion

Introduction

What does this project do?

This program recognizes the user's face, shoots only the area of the face, and then synthesizes the photos stored in the location of the face in other photos.

  1. Recognize the user's face.
  2. Save the recognized face as a file of 'face.jpg'.
  3. Load 'background.jpg' as a source file on your computer.
  4. Recognize a face in the source file and synthesize 'face.jpg' at the recognized location.
  5. Show the result to the user and correct the picture according to the user's keyboard input, or close the program (before the program ends, save the result as 'result.jpg').

Target User

image

People who want to composite their face or friends face to other person's face.

image

People who wants to make sure that a particular hairstyle suits their face

Why this project is useful?

This program allows the user to perform several processes at once to combine photos.

  1. Shooting a target with a camera
  2. Cut and save the subject's face
  3. Composite the cut and saved photos at the location of the face of the original photo to be combined
  4. Adjust size and position

This program can save the user's time by performing the above process in just a few seconds.

In particular, I expect that it will be able to contribute to saving time for students at Handong University or other universities who have a lot of work to do.

Language

image      image        image

How to get started?

Download the Python

$ sudo apt-get install python[version]
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python[version] [number]

Download the OpenCV

$ sudo apt-get -y update && sudo apt-get -y upgrade
$ pip install opencv-python
or
$ pip install opencv-contrib-python

Download the Haar Cascade

$ git clone https://github.com/opencv/opencv/tree/master/data/haarcascades

Donwload the Project Program Code

$ git clone https://github.com/tmddls17/OSS_Final_Project_AutomaticFaceCamera_PhotoCompositingompositting

Conclusion

Demo Video

Follow this link (https://youtu.be/Af2Vvm3XuTQ)

Presentation Video

Follow this link (https://youtu.be/v7YFg4Vhv88)

Limitation

An attempt was made to create a mask using R-CNN to cut a picture according to the outline of the face, but failed due to insufficient internal memory of the Raspberry Pi.

If the background photo and the face photo to be synthesized have different saturation, it would be better if you could add a function to change it and apply it.

Where can people get more help, if needed?

If you have problem with installing python

(https://angelplayer.tistory.com/219)

If you have problem with installing OpenCV

(https://nan-sso-gong.tistory.com/29)

Other Problems

Please Cantact!

[email protected]

oss_final_project_automaticfacecamera_photocompositingompositting's People

Contributors

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