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
A python program which converts images and video into excel spreadsheets.

image2excel A program which converts images and video into Excel spreadsheets. Usage examples can be found in examples Videos can take a long time to

Oscar Peace 2 Aug 09, 2021
This is a tool for making a every day video if you take a picture of you everyday

Face-Everyday-Maker-Studio Description This project is a tool for making a everyday video, which is timelapse video or slides video, of images but for

John A Betancourt G 9 Sep 06, 2022
Video Translation Into Text

2021/12/9 The project has been updated Added a home screen Just drag it onto the screen The final results \ 2021/12/9 项目已更新 添加了主界面 拖到即可 最后结果 \ Using t

10 Mar 12, 2022
Convert lecture videos to slides in one line. Takes an input of a directory containing your lecture videos and outputs a directory containing .PDF files containing the slides of each lecture.

Convert lecture videos to slides in one line. Takes an input of a directory containing your lecture videos and outputs a directory containing .PDF files containing the slides of each lecture.

Sidharth Anand 12 Sep 10, 2022
Telegram Music/ Video Streaming Bot Using Pytgcalls

Video Player 🔥 ᴢᴀɪᴅ ᴠᴄ ᴘʟᴀyᴇʀ ɪꜱ ᴀ ᴛᴇʟᴇɢʀᴀᴍ ᴘʀᴏᴊᴇᴄᴛ ʙᴀꜱᴇᴅ ᴏɴ ᴘʏʀᴏɢʀᴀᴍ ꜰᴏʀ ᴘʟᴀʏ ᴍᴜꜱɪᴄꜱ ɪɴ ᴠᴄ ᴄʜᴀᴛꜱ... 🅡🅔🅟🅞 🅢🅣🅐🅣🅢 ʀᴇQᴜɪʀᴇᴍᴇɴᴛꜱ 📝 FFmpeg NodeJ

16 Nov 30, 2022
Add a "flame" effect on each hand's index onto a video stream.

Add a "flame" effect on each hand's index onto a video stream. recording.webm.mov This script is just a quick hack, it's a bit of glue between mediapi

Paul Willot 7 Sep 15, 2022
Vigia-youtube - The YouTube Watch bot is able to monitor channels on Google's video platform

Vigia do YouTube O bot Vigia do YouTube é capaz de monitorar canais na plataform

Alessandro Feitosa Jr 10 Oct 03, 2022
pyffstream - A CLI frontend for streaming over SRT and RTMP specializing in sending off files

pyffstream - A CLI frontend for streaming over SRT and RTMP specializing in sending off files

Gregory Beauregard 3 Mar 04, 2022
Webcam Indicator is an application to recieve and send messages from your own Webcam Server.

Welcome to Webcam Indicator 👋 Webcam Indicator is an application to recieve and send messages from your own Webcam Server. 🏠 Homepage Prerequisites

Lorenzo Carbonell 2 Apr 04, 2022
Simple background blur for your webcam

backgroundblur Simple background blur for your webcam. This script will capture your webcams output, add a blur effect to the background and output th

Stefan Wagner 4 Dec 07, 2021
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
Video Editor for Linux

Project on break until late March. NEW RELEASE 2.8 IS OUT NOW. INSTALLING: see here. RELEASE NOTES AVAILABLE here. Introduction Features Releases Inst

1.9k Jan 07, 2023
DICexport is a GUI (PyQt5) to export digital image correlation videos

DIC Video Exporter DICexport is a GUI (PyQt5) to export digital image correlation videos. It offers the flexibility to choose a selected range of a vi

Chaoyi Zhu 0 Jun 23, 2022
Python based script to operate FFMPEG.

FMPConvert Python based script to operate FFMPEG. Ver 1.0 -- 2022.02.08 Feature ✅ Maximum compatibility: Third-party dependency libraries unused ✅ Che

cybern000b 1 Feb 28, 2022
This plugin generates json files used by deovr allowing you to play 2d and 3d video's using the player

deovr-plugin This plugin generates json files used by deovr allowing you to play 2d and 3d video's using the player. Deovr looks for an index file /de

10 Sep 29, 2022
Boltstream Live Video Streaming Website + Backend

Boltstream Self-hosted Live Video Streaming Website + Backend Reference

Ben Wilber 1.7k Dec 28, 2022
This will help you study and avoid moving mouse coz u dont need mouse for watching youtube videos

This will help you study and avoid moving mouse coz u dont need mouse for watching youtube videos. Neither u need it for pdfs just use your keyboard

KorryKatti 5 Jan 07, 2022
Code for the manim-generated scenes used in 3blue1brown videos

Code for the manim-generated scenes used in 3blue1brown videos

Grant Sanderson 4.1k Jan 09, 2023
Automatically segment in-video YouTube sponsorships.

SponsorBlock Auto Segment [Model Download] Automatically segment in-video YouTube sponsorships. Trained on a large dataset of YouTube sponsor transcri

Akmal 7 Aug 22, 2022
This is a simple script to generate a .opml file from a list of youtube channels.

Youtube to rss Don't spend more time than you need to on youtube.com This is a simple script to generate a .opml file from a list of youtube channels.

Kostas 1 Oct 04, 2022