# yoloapi **Repository Path**: finsiot-dev/yoloapi ## Basic Information - **Project Name**: yoloapi - **Description**: 集成yolo8 django swagger demo - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-07 - **Last Updated**: 2025-02-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 启动 ```shell conda create -n python38 python=3.8 conda activate python38 pip install django djangorestframework drf_yasg pyopencv opencv-python ultralytics python manage.py migrate python manage.py runserver ``` ## 测试 ```shell curl -X POST -F "image=@test.jpg" http://localhost:8000/api/detect/ ``` ## yolo8 ```python # Use different YOLOv8 models YOLO('yolov8s.pt') # Small YOLO('yolov8m.pt') # Medium YOLO('yolov8l.pt') # Large ```