使用libsvm在matlab中为一个hog对象检测器绘制一个窗口

时间:2022-02-15 14:58:27

I am creating a multiclass classifer using HOG features and libsvm. I have a video feed and I've segmented the feed into frames and analysed each frame indvidually for an object. I can detect the object but I would like to draw a window around the detected object with either a colour code for the window or an annotation for that object, is there a function in libsvm matlab that can help to do this?

我正在使用HOG功能和libsvm创建一个多类classifer。我有一个视频输入,我已将输入分割成帧并分别为每个帧分析一个对象。我可以检测到这个对象,但我想在窗口的颜色代码或该对象的注释周围绘制一个检测到的对象周围的窗口,libsvm matlab中是否有一个函数可以帮助完成此操作?

1 个解决方案

#1


If you have the Computer Vision Toolbox, check out the insertShape Method.
It allows you to easily draw shapes onto an image.

如果您有计算机视觉工具箱,请查看insertShape方法。它允许您轻松地在图像上绘制形状。

#1


If you have the Computer Vision Toolbox, check out the insertShape Method.
It allows you to easily draw shapes onto an image.

如果您有计算机视觉工具箱,请查看insertShape方法。它允许您轻松地在图像上绘制形状。