Skip to content

Instantly share code, notes, and snippets.

View balt-dev's full-sized avatar

Balt balt-dev

  • 20:23 (UTC -05:00)
View GitHub Profile
@balt-dev
balt-dev / average_video.py
Last active January 3, 2024 20:38
Average of all video frames in a video
import cv2
import numpy as np
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
def main():
# Get the file name
args = sys.argv [1:]
@balt-dev
balt-dev / objection.md
Last active April 13, 2023 12:28
Objection!

Objection

Objection is a (currently unimplemented) interpreted programming language with one tenet: anything and everything is an object.

Objective C's syntax highlighting will be used for examples here, as it fits pretty well.

Types

Primitives

  • char, uchar, short, ushort, int, uint, long, ulong
    Stores an integer with varying precision. \