OpenFollow Preview

Manual / Setup

Installing Person Detection Experimental

On the pre-built OpenFollow image and .deb package, Person Detection ships ready to run: the inference engine and the quality-tier models are bundled, so detection works offline with nothing to install. You only need this page to add detection to a source or base-only build that ships without the engine, or to add the model-build toolchain on a workstation so Download Model can build or convert models beyond the bundled tiers.

Experimental – not for show use. Person Detection is an experimental feature. Accuracy, model defaults, and settings can change between releases, and the install procedure is not yet stable. Do not put it on a show-critical path. Use it for evaluation and rehearsal only.

Hardware-heavy. A source-build backend install is several hundred MB; the model-build toolchain (torch + ultralytics) is several gigabytes and needs at least ~4 GB free. Downloaded models need more still, so an NVMe drive is recommended when you keep many. Detection is also far more compute-heavy than marker-driven tracking and is really a workstation feature. Budget hardware accordingly – see Hardware.

Step by step

You run a single bundled installer on the device over SSH. You'll need a second computer – a Mac, or a PC running Linux or Windows – on the same network as the OpenFollow station, and the same VLAN if your network uses them. The device itself is headless, so all commands run on it from that computer.

Internet needed during install. This downloads the backend from the internet, so the OpenFollow station needs internet access for the whole process. Once the install finishes successfully, no internet access is required to run detection.

Type it here and every <device-ip> in the commands below fills in automatically.

SSH refused with a host-key warning? If you see REMOTE HOST IDENTIFICATION HAS CHANGED, the device's SSH identity changed since you last connected at this IP (typically a reflash). Clear the stale key and try again: ssh-keygen -R <device-ip> (same command on macOS, Linux, and Windows PowerShell).

You'll use Terminal – a standard app for sending text-based commands to another computer without a graphical user interface. Type or paste each line exactly and press Enter. Where a command shows <device-ip>, replace it with your station's IP address (shown on the device screen) – or enter it in the box above to fill every command at once.

  1. Open Terminal.

    On a Mac: press Cmd+Space, type Terminal, press Enter. On Linux: press Ctrl+Alt+T, or open "Terminal" from your applications.

  2. Connect to your station.
    ssh openfollow@<device-ip>

    When it asks for a password, type your device's password and press Enter. The characters won't appear as you type – that's normal. On stations set up from the prepared OpenFollow image, the default password is openfollow. From here on, what you type runs on the device.

  3. Run the installer.
    /usr/share/openfollow/install-detection.sh

    It checks free space, then downloads and installs the backend for you. The whole process takes about 10–20 minutes; scrolling text is normal progress, not an error. If it stops with a space warning, free up storage (or fit an NVMe) and run it again.

  4. Done.

    When it prints Done. Detection works in the web UI once a model (.onnx) is present, the backend is installed. Open the web interface, turn on Show experimental features, and on the Person Detection tab use Download Model to fetch a model, then pick it as the active Model.

Model-build toolchain. To build or convert your own models with Download Model, add the export tools on a workstation by running the installer with --with-export: /usr/share/openfollow/install-detection.sh --with-export. They pull in torch and ultralytics (large, and AGPL-licensed), and aren't needed on a show Pi.