Git Product home page Git Product logo

aditya-khadilkar / face-tracking-with-anime-characters Goto Github PK

View Code? Open in Web Editor NEW
405.0 16.0 61.0 2.48 MB

Hello! I have made a Python project where YURI from the game doki doki literature club accesses the webcam and stares directly into the players soul. Hope you enjoy!

License: Apache License 2.0

Python 100.00%
artificial-intelligence python3 opencv doki-doki-literature-club pygame face-detection eye-tracking haar-cascade anime waifu

face-tracking-with-anime-characters's People

Contributors

aditya-khadilkar avatar aroweeri avatar gupta-keshav avatar seansanker avatar tapankarnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

face-tracking-with-anime-characters's Issues

Support both mac and windows in the same file

You can import put platform specific code behind an if that will only execute if you are on a specific os.

This post on stackoverflow should be a good reference.

This way people can run the same file regardless of their machine.

Feel free to reach out with questions about this or anything else related to python; I am always happy to help.

use Pipenv to track dependencies

First off, extremely creepy and fantastic project. You are a gift to the world.

Second, its generally bad practice in python to pip install packages globally on a per-project basis. Usually, most developers use a tool called virtualenv to be able to install packages locally for a single project. For any project, it is also a good idea to keep track of its dependencies as part of the project.

Anywho, I would recommend learning about Pipenv. By using that to handle dependencies, other developers can get up and started with your project quickly (not to mention yourself in quite a few situations)

Use more command line friendly filenames

When you develop through IDLE, the name of the file doesn't matter that much, but when you run a program that you have downloaded through the command line it is not very ergonomic to type in filenames when those filenames contain spaces.

python My\ Thing.py

PEP8 (the de-facto standard for python) asks that you name files and modules as described here

So instead of My Thing.py you should have my_thing.py

pass background images as command line arguments

You can use the built-in python argparse module or the click library to allow people to pass in things like the images to use for the body and for the eyes as arguments.

For example python face_track.py --background=base.png --eyes=eyes.png

This is a usability win because it lets people experiment with the functionality of the code (having eyes follow a person) with different images without having to touch the code itself.

These args can be optional, so the defaults you have will work just fine.

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.