yolov5_obb
yolov5_obb copied to clipboard
Run yolov5_obb on a Smartphone ?
Hi, I was wondering if it might be possible to run your model even on the limited computing power of a smartphone. Before diving too deep into it, I wanted to get the opinion of more experienced people in the field.
If you think it is possible, is a rough estimation for fps possible ?
If you think it is not possible could you briefly elaborate on the reasons please ?
Any insights are appreciated. Thank you very much for your work!
@hukaixuan19970627 Could you please answer ?
I'm sure it will work on smartphone because yolov5s_obb has low computing power requirements.
But before that you'd better convert the CUDA code of the obb_nms function to python/C++ code.
@hukaixuan19970627 any idea how can i convert obb_nms funtion to python/C++ ?? Thank you so much for your responses !
Sorry, I don't have any idea, may be you can refer to this repo. Please let me know if you run yolov5_obb on smartphone successfully.
@hukaixuan19970627 Yep, I'll keep you in touch ! Thk you ;)
Hi @hukaixuan19970627, I want to inform you that I had successfully implemented the model to an Android device and the frame rate in real time is slightly good ! In order to had this done, i implemented the SOFT_NMS function in Java and replace it whit traditional NMS. I don't know how this could be done without your work. So, thank you so much for you effort and your contribution to the open source community !
Below is a capture that shows inference on smartphone !

bravo!!!
Great work @Avant-Gardiste !! I already ran yolov5 model on android but I'm also trying yolo_obb and running on android device.It would be great if you help me in this regards. Thank you in advance.
@apanand14 Sure, gladly. Ping me whenever you want. Here is my LinkedIn profile : https://www.linkedin.com/in/el-mehdi-tafik-740043202/
Thank you so much for sharing your profile but I'm not using it. Would you mind if I contact you on your email? @Avant-Gardiste
Sure, no pb !
can you share your email please?
@apanand14 [email protected]
@Avant-Gardiste : would it be possible if you could share your implementation? Thanks.
did anyone run yolo_obb with ncnn framework on android?
有
有人在 android 上用 ncnn 框架运行 yolo_obb 吗?
有
有
Hi!! great! thank you for your response. would you like to guide for the deployment or share inference code if you do not mind? thank you in advance
hi if you want to run on cpu you just have to download python file softnms_rotate.py from [https://github.com/ZhangGongjie/Soft-NMS-for-Rotated-Rectangles] and put that file into utils folder.
then go to general.py and do these 2 step.
it will work on cpu as well as other devices