Momera

A program that extracts the motion from your camera.

Stars
0
Committers
1

Momera

A program that extracts the motion from your camera. image

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