Giter Club home page Giter Club logo

ysee-camera-system's Introduction

ySee Camera System

This is A very simple CCTV system that runs on linux that uses the users webcam to stream a live video feed that can be watched through a web page if the user has a nginx web server. This is likely to be buggy, and is probably not the most secure CCTV system.

Requirements

Hardware

  • PC
  • Keyboard
  • Monitor
  • Webcam
  • 4 GB (reccomended) A day is about 100 MB.

Software

  • Linux Ubuntu 24 or higher
  • Terminal
  • fswebcam
  • ffmpeg
  • Nginx web server

Install Guide

  1. Make sure you have all of the required software
  2. Download the files
  3. Put cams.sh and check.sh in the same folder
  4. Create a folder called "security" in the www/html folder of the Nginx web server
  5. Put view.html in the "security" folder
  6. Change all instanses of 0.0.0.0 in view.html to your PC's IP address on your local network.
  7. In the command line navigate to tthe folder that cams.sh and check.sh are in
  8. Type ./cams.sh once navigated into the directory
  9. If the script says INTIALIZING... and then starts giving messages like "Trying to take photo" or "Capturing frame", then it is working.

User Guide

To view the live video feed, go to your browser on any device on the LAN that your PC is on, then type 0.0.0.0/security/view.html into the web browser, where 0.0.0.0 is your Pc's ip on the LAN. (You can get this from ifconfig) You can also review the footage by looking in the "snapshots" directory in the security folder of the web server.

Troubleshooting

If you are experencing any issues, try stopping the system by typing "killall cams.sh" into a terminal window. Then restart it by navigating to the directory where cams.sh is, then type "./cams.sh". If the issue is not resolved by then, email [email protected]

ysee-camera-system's People

Contributors

maxbiz100 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

regor11

ysee-camera-system's Issues

***KNOWN BUG*** Error: Opening /dev/video0... stat: No such file or directory.

iSee Camera Server will output error: "Opening /dev/video0... stat: No such file or directory" randomly. This is a known bug without a clear fix. There are also some troubleshooting steps.

If you are getting this error in bursts (normal data interjected by error, then back to normal), that is unknown on how to fix. It is a bug of fswebcam, as shown here. If you are getting this error as the primary content of the terminal window, or the picture is frozen, here are some fixes.

  1. In a new terminal window, type "killall cams.sh", then in terminal use cd to navigate to the directory that iSee is installed in, then type "./cams.sh".
  2. Unplug/replug the webcam
  3. Reboot the PC then relaunch iSee.
  4. If you are still experiencing this issue, contact iSee at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.