Is it possible to generate Cuda code with the GPU Coder from a faster RCNN object Detector?
1 view (last 30 days)
Show older comments
Niklas Kraft
on 10 Oct 2018
Commented: MAHSHAN AWAN
on 20 Mar 2022
Hello,
I trained a faster RCNN detector on MATLAB to detect a custom object. This worked in MATLAB very well. As a next step I want to run the detector on a NVIDIA Jetson TX2. So I tried to generate CUDA code with the GPU Coder. But the Coder doesn't recognize the detect function. Is there a way to generate CUDA for object detection with a faster RCNN detector with the GPU Coder?
Thank you very much!
0 Comments
Accepted Answer
Stefanie Schwarz
on 17 Oct 2018
As of MATLAB R2018b, we unfortunately do not support the R-CNN detection with GPU Coder. Currently, we only support the function 'matchFeatures' from the Computer Vision System Toolbox, but not 'detect'. We are moving forward to integrate this capability in future releases.
As for alternatives, we think YOLO will be your best bet. Alexnet and Squeeze will identify objects on the screen, but it does not provide the coordinates of the object.
Potentially you can try something like the Traffic Sign Detection and Recognition example where a YOLO-like DNN is used to detect objects, and a 2nd DNN is used to identify the object.
You may refer to the links below for other deep learning/object detection features currently supported by GPU Coder:
2 Comments
Antoine Lasfargeas
on 28 Oct 2020
Hello,
Is there nowadays any way to use the GPU coder with Faster R-CNN? I just want to deploy Faster R-CNN to an Nvidia Jetson Nano device.
Thank you in advance,
MAHSHAN AWAN
on 20 Mar 2022
Hi there
Can someone please comment whether GPU coder (2021b or 2022a) supports detect function for Faster R-CNN?
Thank you in advance
More Answers (0)
See Also
Categories
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!