Pytorch Based - Efficient and Lightweight Ear Segmentation
Project description
Efficient and Lightweight Ear Segmentation
Download Model 📂
⚙️ Requirements ⚙️
- Python 3.8 to Python3.10 (Virtualenv recommended)
- Display Server for showing results
- Optional: poetry
- Optional: Nvidia CUDA for cuda usage
🛠️ Installation 🛠️
Pip installation
pip install -r requirements.txt
Poetry installation
poetry shell
poetry install
Optional (If you have multiple python installation)
poetry env use $(which python3.10)
poetry shell
poetry install
Usage
usage: earsegmentationai_cli.py [-h] -m {c,p} [-d [{cpu,cuda}]] [-fp FOLDERPATH] [-id [DEVICEID]]
options:
-h, --help show this help message and exit
-m {c,p}, --mode {c,p}
Select camera or picture mode
-d [{cpu,cuda}], --device [{cpu,cuda}]
Run in gpu or cpu mode
-fp FOLDERPATH, --folderpath FOLDERPATH
Folder path for image(s) for image mode only
-id [DEVICEID], --deviceId [DEVICEID]
Camera deviceId /dev/videoX for camera mode only
Webcam Mode 📷
python earsegmentationai_cli.py --mode c --device cpu
python earsegmentationai_cli.py --mode c --device cuda
python earsegmentationai_cli.py --mode c --deviceId 1 --device cuda
Image Mode 🖼️
python earsegmentationai_cli.py --mode p --fp /path/xxx/
Youtube Video 📸 ✨
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file earsegmentationai-1.0.2.tar.gz
.
File metadata
- Download URL: earsegmentationai-1.0.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112574ac0c64c211215d7494ca1324b32b45c6f50bd8d59e8a7d1688fc05b015 |
|
MD5 | 9489b7f8fe9e8fd82dc11091f0a5bebd |
|
BLAKE2b-256 | db097096c793d6357893542eb318f2318be73c37e32eb367037db7c5cf4b7e00 |
File details
Details for the file earsegmentationai-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: earsegmentationai-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2397ca0d704515c8ffeac6b42362ebe6b07817323ffa688c608c0be7d781036e |
|
MD5 | fbaa4e51970dc7c3b1c763c5cdd2198f |
|
BLAKE2b-256 | fa3ca4c415135afcbb925d97fee45534448cfc0c416736398e9684c37f317e00 |