https://github.com/hermann-web/flask-image-uploader-and-processor-template
A Flask-based Python script allowing image uploads and placeholder image processing. It responds with a default classification message.
https://github.com/hermann-web/flask-image-uploader-and-processor-template
backend file-upload flask image-processing python scripting web-dev
Last synced: 11 months ago
JSON representation
A Flask-based Python script allowing image uploads and placeholder image processing. It responds with a default classification message.
- Host: GitHub
- URL: https://github.com/hermann-web/flask-image-uploader-and-processor-template
- Owner: Hermann-web
- License: mit
- Created: 2021-10-04T19:04:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T15:26:08.000Z (about 2 years ago)
- Last Synced: 2025-01-04T21:19:51.597Z (about 1 year ago)
- Topics: backend, file-upload, flask, image-processing, python, scripting, web-dev
- Language: Python
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Image Uploader and Processor
This Python script utilizes Flask to create a simple file upload system for images. Users can upload PNG, JPG, or JPEG files through a web interface, which are then saved in a designated folder. Additionally, the script includes a basic placeholder for image processing and responds with a default classification message.
## Features
- Upload images (PNG, JPG, JPEG) through a web interface.
- Save uploaded images to a specified folder.
- Placeholder for image processing with a default classification response.
## Installation and Usage
1. Clone this repository.
2. Install the required dependencies.
```
pip install -r requirements.txt
```
3. Run the Flask application.
```
python app.py
```
4. Access the application at [http://localhost:5000](http://localhost:5000) in your web browser.
5. Upload images and observe the default classification response.
## Usage
- Visit [http://localhost:5000](http://localhost:5000) to access the application.
- Upload images through the provided interface.
- Check the response with the default classification message.
## Notes
- Modify the script's image processing logic as required.
- Ensure proper security measures for file uploads in production.
## Contributing
Contributions are welcome! Feel free to fork the repository and submit pull requests.
## License
This project is licensed under the [MIT License](LICENSE).