Skip to content

Instantly share code, notes, and snippets.

View notalfredo's full-sized avatar
:octocat:
Creating memory leaks in Rust

Alfredo Gutierrez notalfredo

:octocat:
Creating memory leaks in Rust
View GitHub Profile
@notalfredo
notalfredo / line_segment_intersction.md
Created August 29, 2024 14:53 — forked from alexcpn/line_segment_intersction.md
Explanation of line segment intersection for two points
@notalfredo
notalfredo / .py
Created March 18, 2024 21:08
Luxonis forum post
#!/usr/bin/env python3
import math
import cv2
import numpy as np
import depthai as dai
import argparse
import open3d as o3d
import time
@notalfredo
notalfredo / .py
Created March 14, 2024 21:22
OAK-D SR depth align
#!/usr/bin/env python3
import cv2
import numpy as np
import depthai as dai
import argparse
# Weights to use when blending depth/rgb image (should equal 1.0)
rgbWeight = 0.4
depthWeight = 0.6