Skip to content

Python-Image-Classifier-with-RESTful-API 是一個基於 Flask、Python 和 Docker 的影像識別應用,該應用可以使用 YOLOv3 模型對圖片進行物件偵測,然後通過 RESTful API 回傳偵測結果。

Notifications You must be signed in to change notification settings

Oliver0804/Python-Image-Classifier-with-RESTful-API

Repository files navigation

  1. Clone the repository:
git clone https://github.com/yourusername/Python-Image-Classifier-with-RESTful-API.git
  1. Change into the project directory:
cd Python-Image-Classifier-with-RESTful-API
  1. Build the Docker image:
docker build -t image_classifier .

Start the Docker container:

docker run -p 5000:5000 -d image_classifier

Open your browser and go to http://localhost:5000/ to access the web interface of the application. alt text

This application also supports object detection on uploaded images. You can use the POST method to upload an image to the /upload endpoint and the API will return the class and coordinates of all objects in the image.

alt text alt text

In summary, Python-Image-Classifier-with-RESTful-API is a convenient and easy-to-use image recognition application. Deploying it with Docker allows developers to quickly set up a self-contained development environment, which makes it easy to customize and extend the application.

About

Python-Image-Classifier-with-RESTful-API 是一個基於 Flask、Python 和 Docker 的影像識別應用,該應用可以使用 YOLOv3 模型對圖片進行物件偵測,然後通過 RESTful API 回傳偵測結果。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published