Skip to main content

A tool for image preprocessing and object detection

Project description

AutomationIMG

License: GPL v3 Python

AutomationIMG is a Python-based tool for automated image preprocessing and object detection, featuring an intuitive graphical user interface. It simplifies the process of organizing and analyzing image datasets for machine learning and computer vision tasks.

๐Ÿš€ Features

  • Preprocessing Pipeline

    • Automated image organization
    • Support for various directory structures
    • Batch processing capabilities
  • Object Detection

    • Single object detection using Canny edge detection
    • Bounding box visualization
    • Quality assessment of detections
  • User Interface

    • Intuitive GUI built with PyQt5
    • Real-time progress tracking
    • Easy folder selection and processing

๐Ÿ“‹ Prerequisites

Before you begin, ensure you have the following installed:

  • Python 3.7 or higher
  • pip (Python package installer)

๐Ÿ’ป Installation

  1. Clone the repository:
git clone https://github.com/akshitharsola/AutomationIMG.git
cd AutomationIMG
  1. Install the package:
pip install -e .

๐Ÿ“– Usage

Directory Structure

The tool supports the following directory structure for input data:

Main_Folder/
    โ””โ”€โ”€ Apple/
        โ””โ”€โ”€ image1.jpg
        โ””โ”€โ”€ image2.jpg
    โ””โ”€โ”€ Orange/
        โ””โ”€โ”€ image1.jpg
        โ””โ”€โ”€ image2.jpg

Running the Tool

  1. Start the application:
# Simply run
automationIMG
  1. Using the GUI:
    • Click "Input Folder" to select your image directory
    • Choose "Output Folder" for processed results
    • Run "Preprocess Dataset" to organize images
    • Use "Single Object Detection" for detection and analysis

Output Structure

The tool generates the following output structure:

Output_Folder/
    โ””โ”€โ”€ processed/
        โ””โ”€โ”€ images
        โ””โ”€โ”€ annotations.json
    โ””โ”€โ”€ edge_detection/
        โ””โ”€โ”€ detection results
    โ””โ”€โ”€ bounding_boxes/
        โ””โ”€โ”€ visualizations

๐Ÿ—‘๏ธ Uninstallation

You have several ways to uninstall AutomationIMG:

  1. Using the GUI

    • Launch the application: automationimg
    • Click the "Uninstall Tool" button
    • Follow the prompts
  2. Using the uninstall module

python -m automationimg.uninstall
  1. Manual uninstallation
pip uninstall automationimg -y

Note: After uninstallation, any remaining files in the installation directory can be safely deleted manually.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

๐Ÿ‘ค Author

Akshit Harsola

๐Ÿ™ Acknowledgments

  • Thanks to all contributors who help improve this tool
  • Special thanks to the open-source community for their valuable tools and libraries

๐Ÿ“ž Support

If you encounter any problems or have suggestions, please open an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automationimg-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automationimg-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file automationimg-0.1.0.tar.gz.

File metadata

  • Download URL: automationimg-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for automationimg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 687766cfb39ab74fe2e0dd2096d646529416c7c0b05c244e133f0c0a42a60954
MD5 7f23f58f8a58274fb0a00021e896c233
BLAKE2b-256 c297c8f17a971aa0f62da5eebcf117161209ca137b8ae020a550bbddc3be7b5e

See more details on using hashes here.

File details

Details for the file automationimg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: automationimg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for automationimg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73ae5731cdee7d23b88e13a6b9d37523ff7df3684b749fd3fa47c2d1ec946df7
MD5 dbc602c610706ae6ab5f24932112bd04
BLAKE2b-256 7bb16a8b9cbb670327500daabb4594b3cebee2af9c3f47e6b41aeed0e11cba20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page