spy_camera

command module
v0.0.0-...-3cc233d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Spy Camera

This repo will help you to turn your PC into a surveillance camera. With this setup, you'll be able to monitor & record activities remotely. When movement is detected, it will save a video to your hard drive.

Watch the demo video on YouTube

Requisites

  • Go
  • GoCV
  • OpenCV

Installation

  1. Install Go from here.
  2. Install OpenCV following the instructions here.
  3. Install GoCV by following the instructions here.

Usage

  1. Clone the repository:
    git clone https://github.com/jempe/spy_camera.git
    
  2. Navigate to the repo directory:
    cd spy_camera
    
  3. Run the application:
    go run main.go
    
  4. Access the camera stream from your browser:
    http://localhost:4000
    

Configuration

You can set the following flags when running the application:

  • -user: Username for HTTP basic authentication (default: "username")
  • -pass: Password for HTTP basic authentication (default: "password")
  • -h: Show help

Features

  • Motion detection using OpenCV
  • Save video when motion is detected
  • HTTP basic authentication for accessing the stream

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL