This work presents a modular algorithm that aims to reconstruct trajectories of particles from sequences of images obtained with optical microscopy techniques, and extract quantitative statistical information about the movements of the same. In first instance, the coordinates of the particles are obtained, after applying combinations of different filters to clean the images and obtain local maxima when applying a Laplacian operator. Then the detections of the different video frames are assembled with an algorithm based on Kalman filters. The algorithm of trajectory reconstruction is evaluated and compared with known experiments. Finally, relevant information that will serve to characterize the trajectories is extracted.