Yolo-Fastest icon indicating copy to clipboard operation
Yolo-Fastest copied to clipboard

operating speed of Raspberry Pi

Open 2684160504 opened this issue 4 years ago • 6 comments

Hello, I am on 1660TiGPU in ubuntu16.04, yolofastest speed is 30 frames, and about 1 frame on Raspberry Pi. Is this normal?Looking forward to your reply, thank you.

2684160504 avatar Oct 24 '20 02:10 2684160504

I have tried yolo-fastest at RaspberryPi 4 (8GB) with opencv 4.4,and the result is about 7~8 fps.

liuyijian avatar Dec 13 '20 15:12 liuyijian

I have tried yolo-fastest at RaspberryPi 4 (8GB) with opencv 4.4,and the result is about 7~8 fps.

OK,Thank you very much.

2684160504 avatar Dec 14 '20 01:12 2684160504

Hi @liuyijian can you please provide some information on what is the input resolution you had your model tested for in raspberry pi?

sudo-install-MW avatar Dec 17 '20 21:12 sudo-install-MW

Hi @sudo-install-MW My input resolution to the model is 320*320, which is the default setting in yolo-fastest.cfg. I use function cv2.dnn.blobFromImage(...) to transform the original frame (1280*720) that capture from the camera, to 320*320 as model input. As I am not sure if I can change the default width and height paremeter in yolo-fastest.cfg, I make temporary practice like this. Hope to learn some practical trick from you.

liuyijian avatar Dec 19 '20 09:12 liuyijian

I have tried yolo-fastest at RaspberryPi 4 (8GB) with opencv 4.4,and the result is about 7~8 fps.

兄弟,树莓派4上面执行ncnn_sample里面的指令,一直报错benchmark.h文件找不到,有遇到过吗

jereter avatar Dec 24 '20 08:12 jereter

@jereter ncnn_sample里的前面几个include需要的文件在Tencent/NCNN仓库的src目录里,具体地址如下: https://github.com/Tencent/ncnn/tree/b93775a27273618501a15a235355738cda102a38/src

liuyijian avatar Dec 28 '20 06:12 liuyijian