# How CountVue works

URL: https://countvue.com/docs/getting-started/how-it-works
Applies to: CountVue Live, CountVue Survey, CountVue Portal

> The parts of CountVue, what happens to the video, and how counts get from the camera to your reports.

## From video to numbers

1. **Video in.** CountVue Live reads a camera stream (RTSP, ONVIF cameras, NVR channels, USB webcams). CountVue Survey reads video files.
2. **Detection.** A neural network, chosen by the [analytics preset](https://countvue.com/docs/live/presets-and-modes), finds people, vehicles, bikes or faces in each analyzed frame. Vehicles also get a type (car, van, truck, bus).
3. **Tracking.** Each object is followed from frame to frame, so one person walking past is one object, not dozens of detections.
4. **Rules.** You draw [lines, zones and speed lines](https://countvue.com/docs/live/lines-zones-speed) on the picture. When a tracked object crosses a line, enters or leaves a zone, stays in a zone too long or passes two speed lines, CountVue records an [event](https://countvue.com/docs/reference/event-types).
5. **Counts.** Events are summed into counts per 15 minutes, per line or zone, per direction and per object type, and sent to [CountVue Portal](https://countvue.com/docs/portal).
6. **Reports.** In the Portal you combine cameras and locations into [dashboards](https://countvue.com/docs/portal/dashboards), share them, export the data and get [alerts](https://countvue.com/docs/portal/alerts).

## What stays on your computer

- The video itself. It is analyzed where it is and is never uploaded.
- [Event snapshots](https://countvue.com/docs/live/snapshots) and [recordings](https://countvue.com/docs/live/recording-and-playback). The Portal fetches a picture or a clip from the computer only when you open it, over a direct encrypted connection.
- The full event history of each camera.

What goes to the Portal: counts in 15-minute intervals, zone occupancy and dwell times, heatmaps, camera health, and the settings you change remotely.

## Locations and channels

- A **location** is one computer running CountVue Live or CountVue Survey, connected to your cloud account. A store, a parking lot or a survey laptop is a location.
- A **channel** (camera) is one video source on that computer: a camera stream in Live, or a video file or folder in Survey.

One account can have many locations with Live and Survey side by side. See [Locations](https://countvue.com/docs/portal/locations).

## Activation

CountVue is activated by connecting the computer to a CountVue Portal account: on first start the app shows a code, and you add the computer to your account with it. Until then the app shows only the connection screen. See [Connect to CountVue Portal](https://countvue.com/docs/getting-started/connect-to-portal).

Once connected, the app keeps working if the internet goes down: counts are kept on the computer and sent when the connection is back.

## How CountVue is paid for

| Product | Paid by | Free without payment |
|---|---|---|
| CountVue Live | Camera channel, monthly or yearly | Live video and live counts on screen, continuous and scheduled recording on the computer |
| CountVue Survey | Hours of video analyzed | Setting up and trying lines and zones on your videos |

A new account gets a free trial. Details: [Billing and subscriptions](https://countvue.com/docs/portal/billing) and [Survey hours](https://countvue.com/docs/survey/hours).
