This project is an AI-powered tool for converting FTTH (Fiber to the Home) plan images to AutoCAD DWG files. It uses advanced computer vision techniques and machine learning to detect and classify various components in the FTTH plan images and generate corresponding DWG files.
- Image preprocessing for noise reduction and enhancement
- Feature extraction using computer vision techniques
- Component classification using a custom-trained Detectron2 model
- DWG file generation with proper scaling and georeferencing
- Mobile app for capturing and uploading FTTH plan images
- API server for processing images and returning DWG files
api_server/: Contains the API server codegui_app/: Contains the mobile app codemodel/: Contains the machine learning model training code and configurationtests/: Contains unit tests for various componentsdata/: Contains training and testing data for the machine learning model
-
Clone the repository: git clone https://github.com/amoahfrank/TelecomDWGConverter.git
-
Set up the API server: cd api_server pip install -r requirements.txt
-
Set up the mobile app: cd gui_app/mobile flutter pub get
-
Train the machine learning model: cd model python train.py
-
Start the API server: cd api_server python main.py
-
Run the mobile app: cd gui_app/mobile flutter run
-
Use the mobile app to capture FTTH plan images and process them into DWG files.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.