Skip to main content

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. In future version of this project (possibly ipyezannotation>=1.0.0) only later python versions will be supported starting from 3.9 or 3.10.

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 import Sample, SampleStatus

samples = [
    Sample(
        status=SampleStatus.PENDING,
        data=image_paths,
        annotation=None
    )
    for image_paths 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyezannotation-0.2.4.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

ipyezannotation-0.2.4-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file ipyezannotation-0.2.4.tar.gz.

File metadata

  • Download URL: ipyezannotation-0.2.4.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10

File hashes

Hashes for ipyezannotation-0.2.4.tar.gz
Algorithm Hash digest
SHA256 f00db622219602f4d0dc14c25e4ec5de4793f35c19d59e10c1672cb44bfcddf2
MD5 c3b05e46cbc7b36ffa5b30c4f77d2a6b
BLAKE2b-256 0f3b48d7e4064a2daf26238a265dd7797f47a027dde646a0b883dcd38e095191

See more details on using hashes here.

File details

Details for the file ipyezannotation-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ipyezannotation-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10

File hashes

Hashes for ipyezannotation-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68384000f517d84de81091ae0d13f2407ec9f14213c3e6093fa8b80fc92a2faa
MD5 e2c0e986e785e595d68227db9498da6f
BLAKE2b-256 afc79c04a1dda56c3de4f95750b2543bdf4034d04d859ead40d8f50433e25ce9

See more details on using hashes here.

Supported by

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