Skip to content

Instantly share code, notes, and snippets.

View lambdaloop's full-sized avatar

Lili Karashchuk lambdaloop

View GitHub Profile
@lambdaloop
lambdaloop / pad_videos_slp.py
Created January 5, 2024 21:48
pad video sleap
#!/usr/bin/env python3
import h5py
import cv2
import numpy as np
import sys
import json
import shutil
in_fname = sys.argv[1]
@lambdaloop
lambdaloop / estimate_offsets_chunks.py
Created December 6, 2023 17:57
Functions to etimate the offset between two videos using audio, broken down by chunks
import numpy as np
import scipy.signal as signal
import matplotlib.pyplot as plt
import subprocess
import scipy.io
import io
import soundfile as sf
from pyts.metrics import dtw
@lambdaloop
lambdaloop / themes_dennou_coil.org
Created June 17, 2023 07:17
Augmented reality themes in dennou coil

Augmented reality themes in dennou coil

Virtual pets

  • move around
  • is in only one location
  • unclear if it can be rolled back
    • can be captured
    • emotional connection
    • sold by some company?
    • store information into virtual pets (steganography?)
@lambdaloop
lambdaloop / calligator_minimal_example.py
Last active November 18, 2019 21:15
Minimal calligator example
import numpy as np
from calligator.boards import CharucoBoard, Checkerboard
from calligator.cameras import Camera, CameraGroup
cam_names = ['A', 'B', 'C']
# cam_names = ['A', 'B', 'C', 'D', 'E', 'F']
vidname_format = 'videos/calibration-evyn-2019-05-22-compressed/23-May-2019 Calibration Test {} Cam-{}.avi'
vidnames = [[] for _ in cam_names]
for i in range(2, 4):