Giter Site home page Giter Site logo

vitorcarvalho67 / barium Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 4.0 199.47 MB

Cutting-edge Python software utilizing neural networks and machine learning for precise hand movement tracking

Home Page: https://barium-ai.netlify.app

License: GNU General Public License v3.0

Python 95.25% Batchfile 0.05% TeX 4.70%
cnn-keras computer-vision cv2 deep-learning human-computer-interaction keras-neural-networks machine-learning mediapipe-hands open-source opencv virtual-mouse scikit-learn

barium's Issues

Feature: Synchronize Mouse Movements Captured by Camera with On-Screen Cursor Movement

Implement a system that captures the small movements of a user's hand or face via a webcam and translates these movements to control the cursor on a computer screen. This requires interpolating the smaller, captured movements to a larger scale suitable for screen coordinates.

Like:

def map_coordinates(x, y, src_width, src_height, dst_width, dst_height):
    """
    Map coordinates from source dimensions to destination dimensions.
    
    :param x: X coordinate in source
    :param y: Y coordinate in source
    :param src_width: Width of source
    :param src_height: Height of source
    :param dst_width: Width of destination
    :param dst_height: Height of destination
    :return: (new_x, new_y) in destination
    """
    new_x = int((x / src_width) * dst_width)
    new_y = int((y / src_height) * dst_height)
    return new_x, new_y

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.