An open API service indexing awesome lists of open source software.

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.

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).