Skip to content

Instantly share code, notes, and snippets.

View edgarriba's full-sized avatar
😎
hacking

Edgar Riba edgarriba

😎
hacking
View GitHub Profile
@EderSantana
EderSantana / warp_opensfm.py
Created September 27, 2016 20:20
Test structure from motion pipeline by warping images with estimated parameters
import numpy as np
import opensfm
import cv2
from opensfm import dataset
import pylab
import scipy.interpolate
import opensfm.features
def project(shot, point):
from graphviz import Digraph
import torch
from torch.autograd import Variable, Function
def iter_graph(root, callback):
queue = [root]
seen = set()
while queue:
fn = queue.pop()
if fn in seen:
@cbalint13
cbalint13 / image-match-timelapse.py
Last active June 27, 2024 16:17
Image coregister for timelapse
#!/usr/bin/python3
"""
**********************************************************
* BSD License *
* Copyright (c) 2022 *
* Balint Cristian <cristian dot balint at gmail dot com> *
**********************************************************
# Little script to Homography match images into animation