You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imgshape is a Python toolkit for image shape detection, dataset inspection, preprocessing & augmentation recommendations, visualization, report generation, and PyTorch DataLoader helpers — making it a smarter dataset assistant for ML/DL workflows.
⚡️ Why use imgshape?
📐 Detect image shapes (H × W × C) for single files or whole datasets.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🖼️ imgshape — Smart Image Analysis & Preprocessing Toolkit (v2.2.0)
imgshapeis a Python toolkit for image shape detection, dataset inspection, preprocessing & augmentation recommendations, visualization, report generation, and PyTorch DataLoader helpers — making it a smarter dataset assistant for ML/DL workflows.⚡️ Why use
imgshape?📐 Detect image shapes (H × W × C) for single files or whole datasets.
🔍 Compute entropy, edge density, dominant color, and guess image type.
🧠 Get preprocessing recommendations (resize, normalization, suitable model family).
🔄 Augmentation recommender: suggest flips, crops, color jitter, etc., based on dataset stats.
📊 Visualizations: size histograms, dimension scatter plots, channel distribution.
✅ Model compatibility checks: verify dataset readiness for models like
mobilenet_v2,resnet18, etc.📝 Dataset reports: export Markdown/HTML/PDF with stats, plots, preprocessing, and augmentation plans.
🔗 Torch integration: generate ready-to-use
torchvision.transformsor even aDataLoader.🌐 Interactive GUI modes:
app.py) → modern multi-tab UI--web) → quick prototyping🚀 Installation
💻 CLI Usage
📦 Python API
📝 New in v2.2.0
🌐 Streamlit App (
app.py) with 5 interactive tabs:torchvision.transformspipelines or snippets🔗 TorchLoader:
(plan, preprocessing)test calls.🧠 AugmentationRecommender:
.as_dict()export.✅ Compatibility Fixes:
check_compatibility()outputs structured results.check_model_compatibility()preserved.📝 Report Generators:
⚡️ Test Suite:
compatibility,report, andtorchloader.🎨 UI Polishing:
analyze_type,recommend_preprocessing, TorchLoader.📎 Resources
This discussion was created from the release imgshape v2.2.0.
Beta Was this translation helpful? Give feedback.
All reactions