Deep Learning model to develope Simulink/Android app
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm using the Simulink® Support Package for Android™ Devices to implement a pre-trained DAGNetwork that performs semantic segmentation on images captured by the Android camera.
The model consists of: Android camera block - Concatenate - Predict - function block (to convert single signal (m x n x 3) to RGB) - Video display.
If I consider as the first block "Image From File" to run the model on the PC, it works, but once the previous model is built and deployed on the Android device, the display in the built-in app is black. I think it appears because in this case the input to the predict block is no longer a static image but a "dynamic" signal.
Thanks in advance for any kind of suggestion that solves the problem.
0 commentaires
Réponses (1)
Sutanu Maiti
le 9 Nov 2021
You may have a look at the below example:
You may refer the way image taken from camera and converted to an image from the example model:
>> open_system('androidObjectClassification')
The blank screen could be due to the output image after prediction that was given to the cideo display block. You may take input image and predicted label and use any insert text function to embed the predicted text into the input image and then feed that to the video display block.
Hope it helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Modeling dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!