Lightweight EDA utilities for computer vision datasets
Project description
CVEDA — Computer Vision Evaluation and Dataset Auditor
CVEDA is a Python package that scans image datasets, checks annotation quality, finds issues, computes distributions, and builds an automatic PDF audit report. It is designed for teams that want a reliable way to inspect, clean, and validate datasets before training any computer vision model.
Why CVEDA matters
High quality datasets decide the quality of your model. This tool lets you review a dataset in a structured and automated way. You receive clear checks, detection of corrupted images, distribution summaries, bounding box diagnostics, and many feature modules that point out issues that would normally take hours of manual inspection.
What CVEDA offers Automatic checks
Missing annotation detection
Empty annotation file detection
Bounding box sanity checks
Missing classes or unused classes
Split validation for train or validation or test folders
Overlapping bounding boxes
Hard negative sample detection
Dataset statistics
Class counts
Bounding box size statistics
Box area distribution
Spatial heatmaps
Cooccurrence matrix
Sample image summaries
Feature modules
A growing collection of more than thirty feature modules that run independently. These include annotation confidence checks, image quality checks, visual similarity detection, and spatial insights.
Corrupted image finder
Detects unreadable, broken, zero byte, or partially corrupted images.
PDF report generation
Generates a clear multi page PDF audit report with tables, figures, and summaries. This helps teams share results quickly without writing any manual documentation.
Installation pip install cveda
If you want PDF reporting support, install extras:
pip install cveda[report]
Quick start from cveda.api import CVEDA
auditor = CVEDA( dataset_path="path_to_dataset", generate_report=True, report_path="dataset_report.pdf" )
result = auditor.run_audit() print(result.keys())
This scans your dataset, runs all checks, computes all distributions, runs the enabled features, and finally creates a PDF report.
Recommended folder format dataset/ images/ annotations/
Supported annotation formats
COCO JSON
Pascal VOC XML
YOLO TXT
Sample output
The result returned by run_audit() is a dictionary containing
image index
checks
feature outputs
distribution statistics
summary levels
report path
You can serialize it as JSON or feed it into your production tools.
Command line usage cveda audit --data dataset_folder --report out.pdf
Extra arguments let you enable features, change sampling limits, or disable the PDF.
Configuration
The auditor accepts many parameters that control behavior. Some commonly used parameters are:
Parameter Description dataset_path Path to dataset root generate_report Whether to generate a PDF report_path Output PDF path sample_limit Limit images for heavy checks workers Parallel worker count enable_features List of feature names disable_features Exclude some features Performance suggestions
CVEDA reads all images once and stores metadata. You can enable caching for faster repeated runs. For heavy tasks such as duplicate detection or overlap checks, you can set a sample limit to manage speed.
Extending CVEDA
You can add your own feature modules by placing a Python file inside the features folder with a run method. CVEDA will automatically discover it and include the result in the final audit.
Project goals
CVEDA aims to help computer vision practitioners trust their training data. This package is built for practical use in real projects and continues to grow with more checks and feature modules.
License
MIT License.
Contributing
Pull requests are welcome. Please open an issue if you want a new feature or if you find incorrect behavior.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cveda-0.1.1.tar.gz.
File metadata
- Download URL: cveda-0.1.1.tar.gz
- Upload date:
- Size: 69.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f16b9294d17ab980736210d3dc97d33229914f62721790e3784402169cfcfa5b
|
|
| MD5 |
2d55658b4aa01115a2882afaf29101d9
|
|
| BLAKE2b-256 |
3e2ddd08813e5c54dc4b47e51fffca8e5ede2bfe7c805b8d0f4cff5a8778d3dd
|
File details
Details for the file cveda-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cveda-0.1.1-py3-none-any.whl
- Upload date:
- Size: 99.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2d24b76bf8b25957600c630f1855ff6452828dcdf3e674d8c51be67339b1ed0
|
|
| MD5 |
76a940e22ec892aaa5b0707feb81a5d9
|
|
| BLAKE2b-256 |
efa2d9e8292ecf30b05ff968d47ec9d85d55bb96f6a69d0c92ef88be6d98aa0c
|