Page cover

Home Security App

Bubbaloop 101: Turn Your Phone into a Smart Security Camera in 10 Minutes

Why should you care?

  • You already own the hardware. An old iPhone or Android device on your windowsill is now your first smart security feed.

  • Privacy‑first. Everything stays local on a $249 Jetson Orin Nano or your laptop – no cloud fees, no vendor lock‑in.

  • Instant insight. Live multi‑camera visualization and local video recording with spatial intelligence built in.

This guide walks you through setting up Bubbaloop, an open-source camera pipeline built with Rust and kornia-rs, to:

  • Ingest real-time video from your phone or IP cameras

  • Do high level vision tasks like question answering, object detection etc on frames

  • Visualize and interact with the results in real-time

  • All with high performance on low-cost edge hardware

⏱️ You’ll go from "unopened box" to live feed + local recording in 10–15 minutes.


What You'll Need

Your Phone or Any Camera

  • iPhone – use RTSP Stream or Larix Broadcaster

  • Android – use WebCamPro

  • Optional: IP Cam (RTSP compatible) – e.g. TP-Link Tapo TC65 (~£29)

Hardware

Software & Tools


Set Up Camera Streaming First

  • Download RTSP Stream

  • Start a stream and take note of the RTSP URL (e.g. rtsp://your-ip:8554/live)


Step-by-Step Setup

Clone the Repo

Configure Your Camera

Edit src/cu29/pipelines/cameras_1.ron:

Install bubbaloop

This will install all the necessary dependencies including Rust (if not installed on your computer) and start the system process. You can check the status via

for real time logs

Start a Camera Pipeline

To stop:

List all pipelines:


Start a recording

To stop:


Visualize with Rerun

Or view a recorded .rrd file:


Running Paligemma for Object Detection (Experimental)

Now you can start safely the inference engine

Customise the prompt

You can change the prompt online with the following command

Request the inference result

The inference result can be obtained using the following command

Client


Contribute / Feedback

Join our Discord server or open issues on GitHub.

Last updated