YOLOv8 + Keras based isometric diagram extraction
Project description
AI-Based Isometric Diagram Extraction
AI-Based Isometric Diagram Extraction is a Python package for extracting meaningful structures from isometric diagrams using deep learning models. It leverages pre-trained models such as YOLO and anomaly detection autoencoders to detect, clean, and analyze diagrammatic representations.
Features
- Object Detection: Uses YOLO-based model (
best.pt) to identify components in isometric diagrams.\ - Anomaly Detection: Uses autoencoder-based anomaly detection
(
anomaly.keras,my_model.keras).\ - Diagram Cleaning: Removes noise and enhances extracted diagrams.\
- Easy Inference: Run inference on any diagram image with a single function call.\
- Extensible: Future support for fine-tuning models on custom datasets.
Installation
You can install the package directly from source:
git clone https://github.com/nbeeeel/AI_Based_Isometric_Diagram_Extraction.git
cd AI_Based_Isometric_Diagram_Extraction
pip install .
Or after publishing to PyPI:
pip install ai-isometric-extractor
Usage
Python API
import ai_isometric_extractor as ai
# Run inference on an image
ai.run_inference("Test Pictures/334D92461.jpg")
CLI (coming soon)
ai-extractor input.jpg --output results/
Project Structure
AI_Based_Isometric_Diagram_Extraction/
│── ai_isometric_extractor/
│ ├── __init__.py
│ ├── main.py
│ ├── models/
│ │ ├── best.pt
│ │ ├── anomaly.keras
│ │ ├── my_model.keras
│── README.md
│── pyproject.toml
│── requirements.txt
│── LICENSE
Roadmap
- Initial package setup\
- Support for YOLO + Autoencoder models\
- CLI support\
- Fine-tuning on custom datasets\
- Extended visualization tools
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Nabeel Ahmed
GitHub Profile
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 ai_isometric_extractor-0.1.2.tar.gz.
File metadata
- Download URL: ai_isometric_extractor-0.1.2.tar.gz
- Upload date:
- Size: 56.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ddf9464cd9aa52212e3e6c46d095245bf5619ff17be41427037cdf7c475a10e
|
|
| MD5 |
34733523f88a2ecad9113e7024a6b948
|
|
| BLAKE2b-256 |
53f150946485dfb6fdf71b32e4d0dcc061185458e7bc2704a66be48a05e95b0b
|
File details
Details for the file ai_isometric_extractor-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ai_isometric_extractor-0.1.2-py3-none-any.whl
- Upload date:
- Size: 56.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1e975d45e2dc328b71f06cad99a2f26289df54ae85247eaa341924e282e9ed9
|
|
| MD5 |
ad5fa63b065afe11f8a9ee581c9d5afa
|
|
| BLAKE2b-256 |
fe793f3de89cc9434441e8ed01397db973c3d70a98f2b4071da6ff2f981ec0aa
|