顔追跡と輝度値の読み取り
显示 更早的评论
顔の動画から輝度値を読み取ることを行っています。現在は手動で領域を指定し、その箇所の輝度値を読み取っていますが、今後は顔追跡を行い、顔だと認識した箇所の輝度値を読み取りたいと思っています。顔追跡と輝度値の読み取りを同時に行う方法はありますか。
追記
現在は以下のコードを用いて輝度値を読み取っています。
vidObj=VideoReader(動画名);
for u=startIndex:1:endIndex
I=read(vidObj,u);
I_cropped=I(指定した座標,:);
temp(:,:,:,:)=I_cropped;
end
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!