资源简介
DMM行为识别算法代码,matlab实现算法,DMM行为识别算法代码,matlab实现算法,DMM行为识别算法代码,matlab实现算法
代码片段和文件信息
% fileDir = ‘.\SIAT-ADL\‘; % MSRAction3D
fileDir = ‘E:\DMM-HOG\MSRAction3D\‘;
frameRemove = 5;
ratio = 1/2;
data = [‘a01‘ ‘a02‘ ‘a05‘ ‘a10‘ ‘a11‘ ‘a13‘ ‘a18‘];
% data = [‘a01‘ ‘a02‘ ‘a03‘ ‘a04‘ ‘a05‘ ‘a06‘ ‘a07‘ ‘a08‘ ‘a09‘ ‘a10‘ ...
% ‘a11‘ ‘a12‘ ‘a13‘ ‘a14‘ ‘a15‘ ‘a16‘ ‘a17‘ ‘a18‘ ‘a19‘ ‘a20‘];
actionNum = 7; % 7
subjectInd = cell(1 actionNum);
actionSam = zeros(1 actionNum);
% one row is used to store one video sequence‘s DMM-HOG features
% DMM_HOG_front = zeros(200 4356);
% DMM_HOG_side = zeros(200 4356);
% DMM_HOG_top = zeros(200 4356);
DMM_HOG_front = zeros(1085 4356);
DMM_HOG_side = zeros(1085 4356);
DMM_HOG_top = zeros(1085 4356);
count1 = 1;
for i = 1:actionNum
action = data((i - 1) * 3 + 1: i * 3);
actio
- 上一篇:手写识别的数字的matlab 实现
- 下一篇:层合板刚度矩阵求解matlab
评论
共有 条评论