Use ZWO astronomy camera as an IP camera.

Related tags

VideoZWOIPCam
Overview

ZWO Astronomy Camera as IP Camera

Astronomy cameras are known for their high sensitivity and flexibility on whether to have IR pass through and bayer filters. This makes them a perfect fit as an IP camera, no matter for all sky camera, baby monitoring, or stealth night monitoring. This project enables us to use a ZWO camera, which I happen to have at hand, to act as an IP camera, so it could be connected with a DVR/NVR for continouous recording, or combined with other processing pipelines to provide more intelligent services (object detection etc.). This project was tested on a Raspberry Pi 3 and Python 3, but I don't see a reason why it couldn't work on Raspberry Pi 4 or Nvidia Jetson or Python 2.

Usage

  1. Download ZWO ASI camera SDK from their website for your OS. Extract the content and put it to this project folder. You can also put it elsewhere. Just need to change the SDK_PATH variable in main.py. If you want to execute the code without root privilege, please follow the instructions in the lib/README of the SDK.
  2. Use python3 -m pip install -r requirements.txt to install dependencies, which only contain a python binding to ZWO SDK for now.
  3. Use python3 main.py to launch the monitor.
  4. Use http:// :8000/stream.mjpg for the video stream, and http:// :8000/latest_full.jpg for the latest captured image.
  5. This script can also be registered as a service, which automatically starts on system boot. We provide camera.service as a reference. In order to set it up, one could 1) change the WorkingDirectory in the camera.service file, and 2) run enable_service.sh with root privilege.

使用ZWO天文相机作为IP相机

天文相机拥有比普通相机高得多的灵敏度和灵活性。 比如可以透过红外线,或者没有贝尔滤镜(黑白相机)。 所以天文相机其实非常适合当IP相机来做监控,比如做全天相机监测云量和流星,监控小孩或者在没有红外补光灯的情况下在夜里监控。 这个项目可以让ZWO天文相机作为IP相机使用,比如可以和DVR/NVR录制设备连起来持续录像,或者和其他算法/工具连起来提供物体检测等智能应用。 本项目在树莓派 3 + Python 3上测试通过。但它应该也可以在树莓派4,NVidia Jetson,和Python 2上面直接跑。

使用方法

  1. 官网下载ZWO ASI相机SDK(需要点进“二次开发”)。解压到本项目的文件夹下。其实也可以把SDK目录放到其他地方,只要把main.py里面的SDK_PATH改一下就好。有一个小坑是需要看一下SDK的lib/README,跟着上面的步骤做一个简单的安装,这样才能不用root权限就可以运行。
  2. python3 -m pip install -r requirements.txt安装依赖。
  3. python3 main.py启动程序。
  4. http:// :8000/stream.mjpg 来访问视频串流,用http:// :8000/latest_full.jpg 来访问最新的静态jpg图像。
  5. 这个脚本还可以作为一个系统服务开机自启动。要安装系统服务,我们需要1) 把camera.service文件里面的WorkingDirectory改为实际存放的目录位置,2) 用管理员权限(sudo)执行enable_service.sh.
Owner
Yan Wang
Yan Wang
Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

WebRTC Camera Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology. Based on: Pion - pure Go implem

Alex X 739 Dec 30, 2022
Video-to-GIF-Converter - A small code snippet that can be used to convert any video to a gif

Video to GIF Converter Project Description: This is a small code snippet that ca

Hassan Shahzad 3 Jun 22, 2022
TkVideoplayer - This is a simple library to play video files in tkinter.

TkVideoplayer - This is a simple library to play video files in tkinter.

Art/Paul 38 Dec 23, 2022
Jio TV Server - Watch TV right from your laptop

Jio-PyServer Jio TV - Python Server Watch TV right from your laptop! Requirements: Python 3.X Internet Access A Jio Account Known Issues: Channel Stre

Elvis Tony 11 Apr 05, 2022
Playing videos through S3 buckets (Wasabi, AWS, etc.) through client-side VideoJS player

Playing videos through S3 buckets (Wasabi, AWS, etc.) through client-side VideoJS player without incurring ingress/egree traffic on EC2 Instance.

Syed Umar Arfeen 8 Mar 28, 2022
A GUI based datamoshing apllication for everyone! Apply this glitch to your videos and gifs. Supports all video formats!

A GUI based datamoshing apllication for everyone! Apply this glitch to your videos and gifs. Supports all video formats!

Akascape 131 Dec 31, 2022
Repository to create Ascii art in CMD based on video file.

Made to take any file format, and transform it into ascii art, displayed as a video in the cmd. If the cmd formatting is wrong, try zooming a little and remember to make cmd fullscreen. I made my cmd

60 Dec 17, 2022
This application makes a webrtc video call with jitsi meet signaling

gstreamer-jitsi-meet This application makes a webrtc video call with jitsi meet signaling. Other end can be any jitsi meet app or web app. It doesn't

Linh 7 Apr 26, 2022
A Python library that simplifies working with video from soccer matches.

Match Video This is a Python library that simplifies working with video from soccer matches. It allows match video to be selected intuitively by perio

Grant Wenzinger 2 Jul 21, 2022
Turn any live video stream or locally stored video into a dataset of interesting samples for ML training, or any other type of analysis.

Sieve Video Data Collection Example Find samples that are interesting within hours of raw video, for free and completely automatically using Sieve API

Sieve 72 Aug 01, 2022
GStreamer Inspector GUI

gst-explorer GStreamer GUI Interface Tool GUI interface for inspecting GStreamer Plugins, Elements and Type Finders. Expects Python3 Qt, PyQt5 and GSt

Jetsonhacks 31 Nov 29, 2022
Text2Video's purpose is to help people create videos quickly and easily by simply typing out the video’s script and a description of images to include in the video.

Text2Video Text2Video's purpose is to help people create videos quickly and easily by simply typing out the video’s script and a description of images

Josh Chen 19 Nov 22, 2022
Your self hosted Youtube media server

The Tube Archivist Your self hosted Youtube media server Core functionality Subscribe to your favourite Youtube channels Download Videos using yt-dlp

Simon 2.1k Dec 31, 2022
Program to play videos with props in Apex Legends

R5Fresh A video player for the Apex Legends mod R5Reloaded

9 Nov 13, 2022
Python script for extracting audio from video files and creating Mel spectrograms

video2spectrogram About This package is meant to automate the process of extracting audio files from videos and saving the plots computed from these a

Alexandros Stergiou 1 Oct 28, 2021
Stream music with ffmpeg and python

youtube-stream Stream music with ffmpeg and python original Usage set the KEY in stream.sh run server.py run stream.sh (You can use Git bash or WSL in

Giyoung Ryu 14 Nov 17, 2021
Telegram Video Chat Video Streaming bot 🇱🇰

🧪 Get SESSION_NAME from below: Pyrogram 🎭 Preview ✨ Features Music & Video stream support MultiChat support Playlist & Queue support Skip, Pause, Re

DOOZY YEZ 5 Jun 26, 2022
I have baked a custom integration to control Eufy Security Cameras and access RTSP and P2P stream if possible.

I have baked a custom integration to control Eufy Security Cameras and access RTSP (real time streaming protocol) and P2P (peer to peer) stream if pos

Fuat Akgün 422 Jan 01, 2023
Filtering user-generated video content(SberZvukTechDays)Filtering user-generated video content(SberZvukTechDays)

Filtering user-generated video content(SberZvukTechDays) Table of contents General info Team members Technologies Setup Result General info This is a

Roman 6 Apr 06, 2022
A python generator that converts youtube videos to ascii art in your console.

Video To ASCII A python generator that converts youtube videos to ascii art in your console. This has not been tested for windows! Example Normal mode

Julian Jones 24 Nov 02, 2022