Fast Dataset Cleaner by PhotoRoom - 🏃
Installation
- Run
pip3 install fast-dataset-cleaner.
Launch the platform
Run fast-dataset-cleaner in your CLI. You can optionally add a specific port: fast-dataset-cleaner --port _CUSTOM_PORT_ (default: 1747).
Open your browser and go to localhost:1747 (or your custom port) to see the live platform.
Requirements
- Save images for annotation in a single folder.
- Create a csv with an id column containing all the ids or names of the images to annotate. For instance, if your images are in image_{id}.jpg format, your csv should look like :
id
image_0
image_1
image_2
How it works
This platform is designed for binary classification of images. This can be helpful either to clean up datasets or to add a label to each image.
When launching the platform for the first time, you have to fill in the entries in the left menu - accessible by clicking on the banner or by typing on the Space bar. Once you are finished, click on the Get images button or reload the page. The required password is the one displayed in your CLI.
The entire annotation process can be done using the keyboard. The images are displayed with a number on their left. To annotate one of them, press the associated key or click on the card. By default, each image has the value true. When all the images on a page are annotated, press the Enter key to validate the annotations. You can then check in your files that a new csv was created - the initial name of the csv with the suffix _annotated - with two new columns for the annotator and the annotation, and that these annotations have been saved.
You can change pages with the arrows on your keyboard, which allows you to navigate through your dataset and re-annotate some images if necessary. BEWARE: ONLY the Enter button saves the annotations.
When refreshing the page, unlabeled images are displayed. If after a page refresh the final screen is displayed, you're done labeling your dataset! 🎉
Use masks
You can also use masks to check segmentations. For this task, save all your binary masks in another folder with the same ids as the original images. Add this folder to the platform entries and you should be able to see the segmented images after a page refresh.
Shortcuts
For convenience and speed, we implemented a few keyboard shortcuts:
- Open/Close the menu: m or Space bar.
- Navigate between images: Keyboard arrows.
- Annotate an image: Press the number key associated with the image number.
- Validate annotations: Enter.
- Load images when the menu is open: i or g.
Metadata
Release files for fast-dataset-cleaner 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fast-dataset-cleaner-1.0.0.tar.gz | 653.0 kB | Without provenance | Details for fast-dataset-cleaner-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fast_dataset_cleaner-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for fast_dataset_cleaner-1.0.0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / fast-dataset-cleaner-1.0.0.tar.gz
| Download URL | fast-dataset-cleaner-1.0.0.tar.gz |
|---|---|
| Size | 653.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dda9da57545cf73f091319eb08a4d1199f24f5659e8280b3b719f71a4ac1fe5d
|
|
BLAKE2b-256 checksum How to use checksums |
ed4151844532ba79620d4d0e1b3f99da9dc5c387f055aae8b201b56b544d3ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.8
|
Release files / fast_dataset_cleaner-1.0.0-py3-none-any.whl
| Download URL | fast_dataset_cleaner-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b438b89d4b7b8cdae7416c7a676b7561f3f138164c11d574bf7fa7d9c3d5b940
|
|
BLAKE2b-256 checksum How to use checksums |
36432f6b023e8708b0991263835a9584fca5fc6b65e6a57f214ef9b6b4e1df6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.8
|
Security for fast-dataset-cleaner 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.