Easy, simple to customize, pythonic data annotation framework.
Project description
Easy Annotation
ipyezannotation - Easy, simple to customize, pythonic data annotation framework.
Disclaimer
This project is in early development stage, so don't blame me if it opens-up a black hole in your HDD 😄, other than that IT WORKS! 🥳
Docs & examples coming soon.
Dependencies
This project currently supports Python>=3.8
.
Installation
There are two options to install this project:
- Download and install from PyPI by simply running:
pip install ipyezannotation
& you're done! - Alternatively, install from source using Poetry. This project uses
poetry>=1.3
to manage dependencies.
Examples
Images selection annotation
Annotation using ImageSelectAnnotator
.
Define data to annotate with ImageSelectAnnotator
:
source_groups = [
["./surprized-pikachu.png"] * 16,
["./surprized-pikachu.png"] * 7,
["./surprized-pikachu.png"] * 8,
["./surprized-pikachu.png"] * 4,
]
Convert input data to Sample
's:
from ipyezannotation.studio.sample import Sample, SampleStatus
samples = [
Sample(
status=SampleStatus.PENDING,
data=group,
annotation=None
)
for group in source_groups
]
Initialize database of your liking and synchronize it with your new input samples:
from ipyezannotation.studio.storage.sqlite import SQLiteDatabase
db = SQLiteDatabase("sqlite:///:memory:")
synced_samples = db.sync(samples)
Configure & create annotation Studio
to label your samples:
from ipyezannotation.studio import Studio
from ipyezannotation.annotators import ImageSelectAnnotator
Studio(
annotator=ImageSelectAnnotator(n_columns=8),
database=db
)
Inspiration
Love letter to the following projects coming soon ❤️
ipyannotations
superintendent
label-studio
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 ipyezannotation-0.1.4.tar.gz
.
File metadata
- Download URL: ipyezannotation-0.1.4.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8c421338900d5b426bd3e5350b6cb504a7a4933ad4d0fdebfda42f597e73a4a |
|
MD5 | f4ea5c8fc3ef6e5b98637a9ffc7c0145 |
|
BLAKE2b-256 | 690db219b1994e891fdf4cda49dc1b6a6794fc6a7b427e4747dffcfa7d454004 |
File details
Details for the file ipyezannotation-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: ipyezannotation-0.1.4-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7caea40c6a12eec0d7c22543212765a0356ab5416b12a3d23c5c6b7bfc5544f |
|
MD5 | 5c23e4a572274d48853cac1dc990db3f |
|
BLAKE2b-256 | bde546758ae44fcb83320b22fcac0ce4c09ad36ee9de0d5711323491476c2fde |