Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctih1/momera
A program that extracts the motion from your camera.
https://github.com/ctih1/momera
camera cv2 extraction extractor fast linux macos motion motion-extraction opencv opencv-python python python3 webcam windows
Last synced: about 1 month ago
JSON representation
A program that extracts the motion from your camera.
- Host: GitHub
- URL: https://github.com/ctih1/momera
- Owner: ctih1
- Created: 2024-06-18T14:27:50.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-25T14:36:33.000Z (5 months ago)
- Last Synced: 2024-09-26T23:43:36.584Z (about 2 months ago)
- Topics: camera, cv2, extraction, extractor, fast, linux, macos, motion, motion-extraction, opencv, opencv-python, python, python3, webcam, windows
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Momera
A program that extracts the motion from your camera.
![image](https://github.com/ctih1/Momera/assets/78687256/cf7080e4-4673-4d5c-a244-abb42b0db809)## Introduction
This is a program that I made using python, because I was interested on motion extraction (after watching [Posy's excellent video]())## Installation
This program is very easy to setup.
* Using Git:
```git clone https://github.com/ctih1/Momera```
```cd Momera```
```pip install -r requirements.txt```
```cd src```
```python3 main.py```
## Usage
If you do not want to alter any settings, you can skip this section. If have issues, like the program using the wrong camera, you should follow this guide| Key | Action
|-----|-------------------------------------------------
| Q | Quit the application
| H | Disable motion extractor to see the input video
| K | Change camera (left)
| L | Change the camera (right)
| Mousewheel Up| Alter the frame delay by +1
| Mousewheel Down | Alter the frame delay by -1
| Enter | Enter change resolution mode, type using your keyboard, then hit enter to apply (WIDTHxHEIGHT@FPS) (ex: 1920x1080@30)### Notifications
You may see some notifications when doing actions, or when getting errors. They are pretty self-explanatory, but on some errors, it might be hard to find a cause. Here's the most common one:
```Failed camera switch #x```
There are two reasons why this might happen:
* This camera doesn't exist.
* The camera's width or height is listed as 0## Contribution
- Clone the repo
- Make a new branch in the following format: ("fixes" or "features")/(what you did)
- Push your branch into GitHub
- Make a pull request to master