https://github.com/s4k10503/imageclassifier
User friendly application that allows users to classify images using a pre-trained ONNX model.
https://github.com/s4k10503/imageclassifier
ai computer-vision deep-learning onnxruntime python3
Last synced: about 1 year ago
JSON representation
User friendly application that allows users to classify images using a pre-trained ONNX model.
- Host: GitHub
- URL: https://github.com/s4k10503/imageclassifier
- Owner: s4k10503
- License: mit
- Created: 2023-08-13T19:39:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T16:46:49.000Z (over 2 years ago)
- Last Synced: 2025-05-21T04:11:39.569Z (about 1 year ago)
- Topics: ai, computer-vision, deep-learning, onnxruntime, python3
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Classifier

## Overview
The Image Classifier project is a user-friendly application that allows users to classify images using a pre-trained ONNX model.
The application provides a graphical user interface (GUI) built with CustomTKInter, allowing users to select an image, display its thumbnail, and perform classification to predict the label and confidence level.
## Features
- [×] Image Selection: Enables users to select an image using a file dialog.
- [×] Thumbnail Display: Resizes and displays the selected image as a thumbnail.
- [×] Inference: Performs inference on the selected image and displays the predicted label and confidence percentage.
## Dependencies
- PIL (Pillow) for image processing
- CustomTKInter for customizing the GUI
- Tkinter for the basic GUI framework
- ONNX Runtime for handling ONNX models
- NumPy for numerical operations
- Requests for HTTP requests (in setup)
- Standard libraries: os, json, urllib.request, shutil, warnings
- Injector for dependency injection.
- PyRx for reactive programming.
## Setup
Please run the setup.py to download the required files.
## Usage
Run main.py to launch the application, and use the GUI to select an image for classification.
## License
This project utilizes the ResNet ONNX model provided by ONNX Model Zoo, which is licensed under the Apache License, Version 2.0.
You must comply with the terms of that license when using the model.
The code and other components of this project are licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.