Skip to content

Repository files navigation

Latest pipeline run: Go

phantom

Stream video from usb device over the web. It is about turning an old Raspberry Pi, with a video device (USB, PCI, etc.), into a home camera.

architecture-beta
group vpn(cloud)[Private network]
junction disksplit
service api(server)[api] in vpn
service os(disk)[System Storage] in vpn
service storage(disk)[Video Storage] in vpn
api:R -- L:disksplit
os:B -- T:disksplit
storage:T -- B:disksplit
Loading

Once installed, you should be able to connect to your server through your VPN and stream from your video device.

prerequisite

  • gocv
  • opencv4 (gocv dependency)

In order to install opencv4 you can either rely on your system package manager or compile it directly using:

cd$GOPATH/gocv.io/x/gocv
make install

Getting started

Build the container

podman build -t phantom:$(git describe).

Run the container

podman run --device /dev/video0 -p 8080:8080 localhost/phantom:$(git describe) /app/main

About

Turn your micro-computer into a homemade camera with this small API. Stream video device over http for Home automation using a Raspberry Pi.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages