Skip to content

How do you broadcast a detected annotated frame [via Yolov8] to browser using websocket!! featuring yolov8, image detection, training, websocket.

Notifications You must be signed in to change notification settings

ksericpro/yolodetection

Repository files navigation

Link

-[yolo] (https://github.com/ultralytics/ultralytics) -[more yolo example] (https://docs.ultralytics.com/usage/python/) -[flask api + html] (https://www.freecodecamp.org/news/how-to-detect-objects-in-images-using-yolov8/) -*[real time you tube stream] (https://docs.salad.com/docs/yolov8-deployment-tutorial) -[front end websocket] (https://alpha2phi.medium.com/yolo-using-fastapi-websocket-and-react-2b2d28e9f7ed)

Setup

direct

Train sand save model

  • Results saved to D:\projects\pyprojects\yolo-detection\runs\detect\train3\weights

Run flask API

  • python object_detector.py

open browser

  • localhost:8080

run fast api

  • uvicorn fastapi_websocket:app --reload

Websocket Broadcast

  • uvicorn test:app --reload
  • open browser localhost:8000
  • curl localhost:8000/push/test

Links

(https://stackoverflow.com/questions/56249775/running-a-yolo-model-in-the-flask-server-itself-how-to)

working

About

How do you broadcast a detected annotated frame [via Yolov8] to browser using websocket!! featuring yolov8, image detection, training, websocket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published