Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Computer Vision - Image Gradient

Sobel Operator, Signed Distance Field

Image gradients capture the rate of intensity change in an image and are fundamental for detecting edges. Sobel Operator The Sobel operator is a popular edge detection filter that computes image ...

Computer Vision - Warping

Affine Transformation, Perspective Warping, Non-Linear Warping.

Introduction Warping is a process to transform pixels to another shape using a mapping function. There are three kinds of warping: affine warping, perspective warping, and non-linear warping. They...

Computer Vision - Non Maximum Suppression

Non Maximum Suppression (NMS), Intersection over Union (IoU), TensorFlow non_max_suppression

In image classification, we often get many bounding boxes of the same object in a small subarea. Non Maximum Suppression (NMS) can help us pick which boxes we want to keep. Inputs: Bounding bo...

Computer Vision - Blurring

Gaussian Blurring (Under Active Updates)

Gaussian Blurring TODO OpenCV Implemenation 1 2 3 4 5 6 7 8 9 10 def get_gaussian_kernel(size:int): """ We're not sure the padding rule of cv2.GaussianBlur - Technically applying the id...

Compute Comparison

Arduino Uno vs Rpi Zero vs Rpi 4b+ vs Rpi 5 vs Nvidia Orin Nano Across Multiple Dimensions

Memory Device RAM Cache (L1 / L2) Disk / Storage / Non-Volatile Memory Notes Arduino UNO 2 KB ❌ None No Disk; Program...

Arduino Notes

View

Common Commands millis() is unsigned long 1 unsigned long previous_time = millis() uint8_t lowByte(uint16_t value); 1 2 3 uint16_t value = 0x1234; uint8_t lower = lowByte(value); ...

Python - Numpy View and Contiguous Array

View

What is np.view When slicing or transpose takes place on an array, we actually get a np.view object that shares the underlying memory with the array. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...

Python - Numpy and Pandas Operations

A Mumbo Jumbo Of Numpy and Pandas Operations and Examples

Numpy General Programming Rules In Numpy np allocates memory like C, so it’s contiguous. Math operations can be applied to all elements, which is a lot faster than for loop and use math modu...

Python - Python Subprocessing

Subprocess

Subprocess Module Reference The recommended approach to invoking subprocesses is to use the run() function for all use cases it can handle. For more advanced use cases, the underlying Popen inter...

Python - Python Packaging System

Packaging

Setuptools Entrypoints Entrypoints are a way to specify components in your package to the rest of the python space, so they can be dynamically discovered. So this enables: Console scripts (co...