Some useful python code snippets and utilities.
Point in Polygon — You're given the gps coordinates (latitude, longitude) of a polygon. Find out if the gps coordinates of a point of interest (x,y) lies inside the polygon. The logic is based on the method described here
Cut/Join video files — Cutting and joining video files. Dependency moviepy. Install with pip install moviepy
.
Video Surveillance with Raspberry Pi - Broadcast the feed from pi-camera connected to the Raspberry Pi. The feed can be seen through browser on the same network.
Check FPS - Check the frames per second rate for video file or web cam.
Extract Frames - Extract frames (images) from the video file.
Snap7 - Snap7 is a python library to connect to Siemens PLCs.
Merge PDF - Merge PDF files using PyPDF2 package. Install with pip install pypdf2
. Based on this.. Requires python 3.8.
Convert Audio to Video - Convert audio file to video file.
This repository is released under the MIT license. In short, this means you are free to use this software in any personal, open-source or commercial projects. Attribution is optional but appreciated.