Skip to main content

A GUI tool for dataset preparation / annotation (instance segmentation & ML)

Project description

LivePyxel

logo livePyxel

LivePyxel is a Python-based GUI for fast pixel annotation of images captured directly from a webcam feed. It’s designed to speed up dataset preparation for instance segmentation and other ML workflows.


Tutorials


Requirements

  • Python: 3.9 – 3.12 recommended
  • OS: Windows, macOS, or Linux
  • Core deps (installed for you via pip unless using a conda env below):
    • PyQt5 (Qt5)
    • OpenCV (cv2)
    • NumPy

Tip: If you’re on Windows and prefer Conda, see the Conda section; Conda’s Qt/OpenCV packages are very reliable there.


Option A — Quick install from PyPI (recommended for users)

pip install --upgrade pip
pip install livepyxel

Run the app:

LivePyxel
# or
livepyxel
# or
python -m livepyxel

(Optional) Create a virtual environment first

Windows (PowerShell / cmd):

python -m venv .venv
.\.venv\Scripts\activate
pip install --upgrade pip
pip install livepyxel
LivePyxel

macOS / Linux:

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install livepyxel
LivePyxel

Option B — Conda environments

You can use Conda to manage Python and heavy binary deps (Qt, OpenCV, NumPy), and then install LivePyxel from PyPI without re-installing those deps via pip.

1) End users (install the released package)

Run the file environment.yml at the repo root

This will create a new env called livepyxel-env, then run the app:

conda activate livepyxel
LivePyxel

Option C — From source with pip (no Conda)

For contributors who prefer pure pip/venv:

git clone https://github.com/UGarCil/LivePyxel.git
cd LivePyxel

python -m venv .venv
.\.venv\Scripts\activate   # Windows
# source .venv/bin/activate  # macOS/Linux

pip install --upgrade pip
pip install -e .            # editable install for development
LivePyxel

If you have defined dev extras in pyproject.toml, you can do:

pip install -e ".[dev]"

Troubleshooting

  • Command not found: make sure your virtualenv/conda env is activated before running LivePyxel.
  • Black window / missing icons: ensure you’re on the latest version and that package data is included (it is by default from PyPI). If running from source, verify livepyxel/icons/ exists.
  • Import errors when running a module directly: launch via LivePyxel or python -m livepyxel (not by python livepyxel/imageAnnotator.py) so package-relative imports work.
  • OpenCV or Qt conflicts in Conda: stick to the Conda packages (pyqt, opencv, numpy) and use pip ... --no-deps for LivePyxel.
  • Python version: prefer Python 3.9–3.12. Python 3.13 support is pending upstream wheels for some deps.

License

This project is released under the MIT License. See LICENSE for details.


Links

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

livepyxel-0.1.3.tar.gz (8.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livepyxel-0.1.3-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

Details for the file livepyxel-0.1.3.tar.gz.

File metadata

  • Download URL: livepyxel-0.1.3.tar.gz
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for livepyxel-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5581eb33b79ac01c9c320a3212713239c4f247956339d1828d6fa5e804f2afdf
MD5 2a7018fdc252a23ad597cec76c0c9a00
BLAKE2b-256 b866abb9a2106589dbaa0e3b72667f4b40aaac11348fe11422f66bde55e244a4

See more details on using hashes here.

File details

Details for the file livepyxel-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: livepyxel-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for livepyxel-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9267b3e5feadffb183d3e2ff4fc7c71299183aa96e44c944787f5714928677ec
MD5 77316c3ffed6ea4b1fde3a1fca17cadb
BLAKE2b-256 99377cb4cb44fc51093cc242a8a40e9fec1b42daf0826443d7d168775a9f93c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page