A convenient wrapper library for OpenCV - Simple and easy-to-use computer vision tools
Project description
EasyCV
یک کتابخانه راحت و ساده برای کار با OpenCV
نصب
نصب از TestPyPI (فعلاً)
کتابخانه در TestPyPI منتشر شده است. برای نصب:
pip install -i https://test.pypi.org/simple/ easycv
نصب از PyPI اصلی (بعد از انتشار)
بعد از انتشار در PyPI اصلی:
pip install easycv
روش 1: نصب از پوشه پروژه (برای توسعه)
از پوشه اصلی پروژه این دستور را اجرا کنید:
pip install .
بعد از نصب، میتوانید از هر جای سیستم از کتابخانه استفاده کنید:
import easycv.vision
easycv.vision.open_live_window()
روش 2: نصب با اسکریپت خودکار
ویندوز:
build_and_install.bat
لینوکس/Mac:
chmod +x build_and_install.sh
./build_and_install.sh
یا با Python:
python install.py
روش 3: نصب از فایل wheel (بعد از build)
اگر قبلاً کتابخانه را build کردهاید:
# ابتدا build کنید
python -m build
# سپس از فایل wheel نصب کنید
pip install dist/easycv-0.1.0-py3-none-any.whl
روش 4: نصب در حالت توسعه (برای توسعهدهندگان)
اگر میخواهید تغییرات را بلافاصله ببینید:
pip install -e .
نکته: برای نصب از PyPI از
pip install easycvاستفاده کنید.
استفاده
روش 1: استفاده از ماژول (پیشنهادی)
import easycv.vision
# استفاده از توابع بدون نیاز به import جداگانه
easycv.vision.open_live_window(window_name="Live Feed", show_fps=True)
روش 2: Import مستقیم توابع
from easycv import open_live_window
open_live_window(window_name="Live Feed", show_fps=True)
روش 3: Import ماژول با نام کوتاهتر
from easycv import vision
vision.open_live_window(window_name="Live Feed", show_fps=True)
ساختار پروژه
easycv/
├── __init__.py # نقطه ورود اصلی
├── vision.py # ماژول پردازش ویدیو و دوربین
└── ...
توسعه
این پروژه در حال توسعه است و توابع به تدریج اضافه خواهند شد.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easycv_lib-0.1.0.tar.gz.
File metadata
- Download URL: easycv_lib-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1a75407f4feda649a0bda00f03d376e882385594dcf4464775971afef7a8307
|
|
| MD5 |
a4eb038a74c5990e458d30136657a021
|
|
| BLAKE2b-256 |
ff058bc62f6039f01d89fd8920861eb3af0685bb98c7788651c7ae9316c68202
|
File details
Details for the file easycv_lib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easycv_lib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
965a7a83ae7d58ce2ef3d36a97f28dcc646b8c2296c79442c786af42f91dace6
|
|
| MD5 |
0214afa24fa54b6c75acab339f2b6ecf
|
|
| BLAKE2b-256 |
84e84ca03c2d58e4caa28b7fad372cd9e634bd8981c5a04184e398cba8ad0aa6
|