# Object detection (Video)

**URL:** <https://discuss.roboflow.com/t/object-detection-video/3151>\
**Category:** 🤝  Community Help\
**Created:** [September 7, 2023, 2:10pm UTC](https://discuss.roboflow.com/t/object-detection-video/3151 "2023-09-07T14:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chen\_Chen](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/chen_chen/32/2804_2.png) [@Chen\_Chen](https://discuss.roboflow.com/u/Chen_Chen)\
**Post date:** [September 7, 2023, 2:10pm UTC](https://discuss.roboflow.com/t/object-detection-video/3151/1 "2023-09-07T14:10:52Z")

</div>

Project Type: object detection  
OS/browser: Windows  
Project Universe Link : [How to Use the people\_basketball\_hoops Object Detection API](https://universe.roboflow.com/mytem/people_basketball_hoops/model/4)  
my question: How to directly use this modal to detect video in python?

 ![TEST](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/2/2bafd0e9a5f099dcacf8f3b8f156a33d7f4b6304.png)

Above is the code to detect image,but i want to detect video !!!

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [September 9, 2023, 4:59am UTC](https://discuss.roboflow.com/t/object-detection-video/3151/2 "2023-09-09T04:59:49Z")

</div>

Hi @Chen_Chen

There are several ways to run object detection on a video. Since video inference can come in many forms, we provide the flexibility to run video inference in many ways. Here are some resources you can use to get started:

- [Video Inference with Roboflow](https://blog.roboflow.com/video-inference/)
- [GitHub - roboflow/video-inference: Example showing how to do inference on a video file with Roboflow Infer](https://github.com/roboflow/video-inference)
- [How to Monitor a Video with Computer Vision](https://blog.roboflow.com/monitor-a-video-computer-vision/)
