Face-Liveness-Detection icon indicating copy to clipboard operation
Face-Liveness-Detection copied to clipboard

Some questions about running

Open ifcoxs opened this issue 5 years ago • 0 comments

In Matlab version: 1. 错误使用 bitshift ASSUMEDTYPE 必须为整数类型名称。

出错 getmapping (line 37) j = bitset(bitshift(i,1,samples),1,bitget(i,samples)); %rotate left

出错 DoG_LBP_NUAA_Test (line 10) Map_u2_16 = getmapping(16, 'u2');

Solution:
find the file /lbp-0.3.3/getmapping.m in line 37, instead of bitshift(i,1,samples) use bitand(bitshift(i,1),2^samples-1)
2. run in linux ClientTrain = imread(['./NUAA/ClientNormalized/' strrep(ClientTrainNormalizedName{i}, '\', '/')]);

ifcoxs avatar Dec 05 '18 09:12 ifcoxs