Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

MATLAB - fastRCNNObjectDetector issues when complied into a .dll

1 Ansicht (letzte 30 Tage)
BenK
BenK am 21 Aug. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have a trained CNN, which comprises a detector.mat file with the parameters/regions of interest definitions etc. contained within it.
When running the detector code in the MATLAB IDE itself, I am getting excellent results.
However, my problems began when I have tried to compile the code into a .NET DLL.
Passing in the exact same parameters (detector.mat file and path to the same .jpg image) I get an error:
MWMCR::EvaluateFunction error ...
Struct contents reference from a non-struct array object.
Error in = > MyDetectionRoutine.m at line 8
... Matlab M-code StackTrace ...
at
file
C:\Development\toolbox\vision\vision\fastRCNNObjectDetector.m, name
fastRCNNObjectDetector.parseDetectinputs, line 755
I can't work out why it doesn't work for me as a compiled .dll.
Any suggestions would be gratefully received.

Antworten (0)

Produkte


Version

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by