Coder Social home page Coder Social logo

fisal77 / artaeye Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 86.54 MB

ArtaEye is web/mobile camera eye tracking to make beautiful drawing and artwork based on eye movements. In this project. We target people with disabilities to create an artwork. We try to translate their feelings through their eyes into digital drawings.

Python 100.00%
ai ml opencv computer-vision eye-tracking webcam eye-detection webcam-eyetracking eye-tracking-mouse

artaeye's Introduction

ArtaEye

ArtaEye is web/mobile camera eye tracking to make beautiful drawing, artwork based on eye movements. In this project, we target people with disabilities to create an artwork, we try to translate their feelings through their eyes into digital drawings.

Originally a repo for doing facial recognition and matching an emoji to it, I've since hijacked it to hold my models and data collection and raw data for my eye tracking mouse. I use hough circles to perform pupil detection, and use a CNN on a bunch of data I collected.

MLtracking.py contains the real-time mouse, run it to let the webcam control the mouse!

andyCNN.py loads all the data from the eyes/ and testeyes/ dirs to train the models

eyetrack.py collects the pupil data by moving your cursor around the screen and having you follow its tip around.

testEyes.py evaluates the models I've trained.

Link to face_recognition library: https://github.com/ageitgey/face_recognition

Site for drawing my mouse location: https://processing.org/examples/continuouslines.html

artaeye's People

Contributors

fisal77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

artaeye's Issues

error

when i run the testEyes.py, i have this error.
UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_new.cpp:264.)
totalHolder.append(((torch.tensor([[im]]).to(dtype=torch.float,device=device))/top,
tensor([[84.1106]], grad_fn=)

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.