Skip to main content

YasirVision 🚀

A Python library designed to simplify complex OpenCV + MediaPipe computer vision projects into easy-to-use APIs. Turn 300+ lines of repetitive code into clean, 20-line scripts!

Installation

pip install yasirvision

(Or clone this repository and run pip install .)

Features

YasirVision provides both a highly customizable HandDetector class and out-of-the-box demo functions.

1. Standalone Demo Features

Want to run a feature immediately without writing a while True loop?

import yasirvision as yv

yv.hand_tracking()          # Simple hand tracking
yv.virtual_drawing_canvas() # Draw in the air with your index finger!
yv.gesture_control()        # Modular gesture control (pinch, volume, cursor)
yv.finger_counter()         # Count how many fingers are held up
yv.air_write()              # Simplified air writing canvas

2. Custom Integration (Core API)

Use the HandDetector class to build your own computer vision logic in under 20 lines.

import cv2
from yasirvision import HandDetector

cap = cv2.VideoCapture(0)
detector = HandDetector(detectionCon=0.8)

while True:
    success, img = cap.read()
    img = detector.find_hands(img)
    lmList = detector.find_position(img)
    
    if lmList:
        fingers = detector.fingers_up()
        print(f"Fingers up: {fingers}")

    cv2.imshow("Hand Tracking", img)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

Recording a Demo

To record a showcase video for LinkedIn or GitHub, simply run the included record_demo.py script locally.

Metadata

Release files for yasirvision 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yasirvision 0.1.0
File Size Uploaded Provenance Actions
yasirvision-0.1.0.tar.gz 12.6 kB Without provenance Details for yasirvision-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yasirvision 0.1.0
File Interpreter ABI Platform Actions
yasirvision-0.1.0-py3-none-any.whl Python 3 none any Details for yasirvision-0.1.0-py3-none-any.whl

Total release size: 25.1 kB

Release files / yasirvision-0.1.0.tar.gz

Download URL yasirvision-0.1.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bbd5646f8479fc139f5599713a8a9ebbae26610a99177716c9f390376d0f0b57
BLAKE2b-256 checksum
How to use checksums
27efe404f25fedca30b7242b096f0ab7687c300d63ff66e3efd887feb111de81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / yasirvision-0.1.0-py3-none-any.whl

Download URL yasirvision-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d78b1e002bf885a9984e39aa41b8c36d25157207086e35839bcf68e9aa39a8b6
BLAKE2b-256 checksum
How to use checksums
d133f09cd7802694a55fb96384d43398752c8196313f4f93220bbdbdcb189014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for yasirvision 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page