This project (CvHMM) is an implementation of discrete Hidden Markov Models (HMM) based on OpenCV. It is simple to understand and simple to use. The Zip file contains one header for the implementation and one main.cpp file for a demonstration of how it works. Hope it becomes useful for your projects.
- The Viterbi implementation is based on Viterbi Algorithm in Wikipedia.
- The Baum-Welch Training method is implemented based on "a revealing introduction to hidden markov models"
- The inputs and outputs of CvHMM class is handled by cv::Mat (OpenCV)
- The syntax of the member functions is as simple as HMM in MATLAB.
Nice, thank you