Code snippets from my Computer Vision ND
# 2d localization
import pdb
from helpers import normalize, blur
import numpy as np
def initialize_beliefs(grid):
Code snippets from my Computer Vision ND
# 2d localization
import pdb
from helpers import normalize, blur
import numpy as np
def initialize_beliefs(grid):
omega_xi matrix
Localization including movement only
part of my Computer Vision ND
import numpy as np
omega_xi matrix
Localization including sensor measurment for a single landmark
part of my Computer Vision ND
import numpy as np
Example of numpy array padding with zeros while increasing the size of a matrix. Additionally, the placement of the a small matrix inside the padded matrix is shown. The small transformation matrix (2x2) is put on the diagonal of the mxm matrix surrounded by zeros.
import numpy as np
# transformation matrix unit
tr = np.array([[1,-1],[-1,1]])
Sum of all the functions and code to make SLAM
import numpy as np
from helpers import make_data
######################
Image processing code snippets from the Udacity CVND.
import matplotlib.pyplot as plt
import numpy as np
import cv2
# Read in the image
image = cv2.imread('images/pizza_bluescreen.jpg')
image_copy = np.copy(image)
Load image apply high-pass filter apply fourier tr
import numpy as np
import matplotlib.pyplot as plt
import cv2
# Read in an image
Canny Edge Detection
Hough Line Detection
import numpy as np
import matplotlib.pyplot as plt
import cv2
Harris corner detection
Detect corners
import matplotlib.pyplot as plt
import numpy as np
import cv2
Finding Contours Fit Ellipse Crop selected contour based on angle of ellips
import numpy as np
import matplotlib.pyplot as plt
import cv2