Skip to content

Instantly share code, notes, and snippets.

View juanmed's full-sized avatar
💭
Trying to understand...

Juan juanmed

💭
Trying to understand...
View GitHub Profile
import cv2
import numpy as np
import matplotlib.pyplot as plt
from sklearn.neighbors import NearestNeighbors
#from scipy.optimize import leastsq
from scipy.optimize import fmin_bfgs
from scipy.optimize import minimize
from scipy.optimize import approx_fprime
def res(p,src,dst):