Measuring the Frame rate for object detection using webcam Raspburry

2 ビュー (過去 30 日間)
Abdussalam Elhanashi
Abdussalam Elhanashi 2019 年 11 月 6 日
Hi Guys
I am looking for measuring the frame rate per second for object detection using R-CNN using webcam Raspburry
code is
detector= load ('detector.mat');
r = raspi;
w = webcam(r);
for k = 1:100000000000000000
img = snapshot(w);
img=imresize(img,[640,480]);
[bbox,score] = detect(detector.detector,img,'MiniBatchSize', 128);
detectedImg = insertObjectAnnotation(img,'rectangle',bbox,score);
displayImage(r,detectedImg,'Title','detectedImg');
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeTracking and Motion Estimation についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by