使用 C++ 的隐马尔可夫模型 [英] Hidden Markov Models with C++

查看:25
本文介绍了使用 C++ 的隐马尔可夫模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在研究 C++ 中隐马尔可夫模型的实现.我想知道是否可以使用任何现有的用 C++ 编写的 HMM 库来使用使用动作识别(使用 OpenCV)?

I've been looking into implementations of Hidden Markov Models in C++ lately. I was wondering If I could use any of the existing HMM libraries written in C++ out there to use with Action Recognition (with OpenCV)?

我要避免重新发明轮子"!

I'm tying to AVOID "re-inventing the wheel"!

是否可以使用 Torch3Vision 即使(看起来)它被设计为从事语音识别工作?

Is it possible to use Torch3Vision even though(looks like) it was designed to work for speech recognition?

我的想法是,如果我们可以将特征向量转换为符号/观察值(使用矢量量化 - Kmeans 聚类),我们可以将这些符号用于解码、推理、参数学习(Baum-Welch 算法).这样子将与 OpenCV 中的 Torch3Vision 一起使用.

My idea is that, if we can convert the feature vectors into Symbols/Observations (using Vector Quantization - Kmeans clustering), we can use those symbols for decoding, inference, parameter learning (Baum–Welch algorithm). This way it would work with Torch3Vision in OpenCV.

对此的任何帮助将不胜感激.

Any help on this will be truly appreciated.

推荐答案

你可以看看http://www.ece.ucsb.edu/Faculty/Rabiner/ece259/Reprints/tutorial%20on%20hmm%20and%20applications.pdf 了解 HMM 背后的理论.自己实现算法并不难.

You can take a look at http://www.ece.ucsb.edu/Faculty/Rabiner/ece259/Reprints/tutorial%20on%20hmm%20and%20applications.pdf for the theory behind HMMs. It's not hard to implement the algorithms yourself.

对于基于 C 的版本,您可以查看我的实现,http://code.google.com/p/accelges/,这是我为 Google Summer of Code 项目所做的.

For a C-based version, you can take a look at my implementation, http://code.google.com/p/accelges/, which I've done for a Google Summer of Code project.

这篇关于使用 C++ 的隐马尔可夫模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆