Clear Filters
Clear Filters

Object detection using coral TPu

23 views (last 30 days)
ahmad
ahmad on 30 Mar 2024
Answered: Shubham on 31 Mar 2024
Can matlab support coral TPu. I want to detect object using coral screenshot attached. I trained faster rccn on matlab can I used it in Coral TPu to detect object.if possible than how?

Answers (1)

Shubham
Shubham on 31 Mar 2024
Hey Ahmad,
As per my understanding, coral TPU only supports "TensorFlow Lite" models. Since you have already trained a "Faster R-CNN" model in MATLAB, export your model along with weights and architecture. Please refer to the following documentation for exporting a deep neural network to "TensorFlow":
You may also refer to the File Exchange submission by MathWorks for converting a network or a layergraph as a "TensorFlow" model:
Convert the "TensorFlow" model into "TensorFlow Lite" using "TensorFlow Lite" Converter and compile it using "Edge TCU compiler".
After that you can call python in MATLAB using "pyrun" function:
You can also import the "TensorFlow Lite" model in MATLAB using "loadTFLiteModel": https://www.mathworks.com/help/deeplearning/ref/loadtflitemodel.html
You may also use the Interface for the "TensorFlow Lite" by MathWorks as provided on the File Exchange:
I hope this helps!

Categories

Find more on Recognition, Object Detection, and Semantic Segmentation 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!