Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bugbundle/phantom

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.