Positional Encoding

Transformer models do not contain recurrence or convolution. To enable the model to account for the order of the sequence, it is necessary to inject information about the relative or absolute positions of the tokens within the sequence. This positional information enhances the model's sensitivity to positional variations, allowing it to effectively reason about the … Continue reading Positional Encoding

Waymo Open Dataset: Open3D Point Cloud Viewer

Waymo Open Dataset is a multimodal (camera + LiDAR) dataset covering a wide range of areas in the US (namely San Francisco, Mountain View, Los Angeles, Detroit, Seattle, Phoenix). It is one of the largest publicly available datasets for investigating a wide range of interesting aspects of machine perception and autonomous driving technology, such as … Continue reading Waymo Open Dataset: Open3D Point Cloud Viewer

Particle filters with Python

Particle filters comprise a broad family of Sequential Monte Carlo (SMC) algorithms for approximate inference in partially observable Markov chains. The objective of a particle filter is to estimate the posterior density of the state variables given the observation variables. A generic particle filter estimates the posterior distribution of the hidden states using the observation … Continue reading Particle filters with Python

Robust linear model estimation using RANSAC – Python implementation

RANSAC or "RANdom SAmple Consensus" is an iterative method to estimate parameters of a mathematical model from a set of observed data which contains outliers. It is one of classical techniques in computer vision. My motivation for this post has been triggered by a fact that Python doesn't have a RANSAC implementation so far. The … Continue reading Robust linear model estimation using RANSAC – Python implementation

Convex hull: how to tell whether a point is inside or outside?

In this post we will talk about convex hulls which have a broad range of applications in mathematics, computer science and surely image processing / computer vision. In mathematics the convex hull (sometimes also called the convex envelope) of a set of points X in the Euclidean plane or Euclidean space is the smallest convex … Continue reading Convex hull: how to tell whether a point is inside or outside?

Python: putting segments on top of the input image

Assume you are working on the image /video segmentation problem. Sooner or later a day is  coming when you need to present your (hopefully good) results to other people on a conference, project meeting, in a paper, whatever. Usually segmentation results are represented by a matrix of integers standing for region labels which are supposed … Continue reading Python: putting segments on top of the input image