Detect People with a Webcam in 4 minutes
In this guide you’ll use machine learning to detect people in a camera stream.
You will learn
- How to create a machine and install
viam-server
- How to configure a webcam
- How to deploy a machine learning model
- How to use the machine learning model with a vision service
Requirements
You don’t need to buy or own any hardware to complete this tutorial. If you have the following components, you can follow along on your own hardware:
- A Linux, macOS or WSL computer that can run
viam-server
. - A webcam: this could be the webcam on your laptop or any other webcam you can connect to your computer.
Make sure to connect the webcam to your computer (if it’s not built-in) before starting this guide.
Instructions
Follow these instructions to configure your machine and test detecting people:
Next steps
You can now detect people on a camera stream. These detections are also accessible using the vision service API.
To learn more about the Viam platform, dive into the How-to Guides which provide instructions for common tasks and workflows, check out Tutorials for projects, or learn more in the Platform Reference documentation:
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!