Detect People with a Webcam in 4 minutes
This quickstart is part of a series. If you haven’t read through Learn Viam, driven a rover, and controlled a motor, we recommend you do so before continuing.
In this guide you’ll use machine learning to detect people in a camera stream.
You will learn
- 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.
Instructions
Follow these instructions to configure your machine and test detecting people:
Next steps
You can now detect people on a camera stream. Of course these detections are not just accessible from the Viam app, but you can also use the vision service API.
Next, you’ll learn how to collect data from sensors or cameras using the data management service:
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!