Error: Undefined variable “vision” or class “vision.Fa​sterRCNNOb​jectDetect​or” in Matlab 2019a.

1 view (last 30 days)
Hello Matlab - Community,
by using the function detector = vision.FasterRCNNObjectDetector, Matlab shows the error Undefined variable “vision” or class “vision.FasterRCNNObjectDetector”
Why does this error occur? Computer Vision Toolbox is installed. Does anyone know how to solve it ? Thanks in advance.

Answers (1)

Walter Roberson
Walter Roberson on 16 Jun 2019
You should not construct a fastRCNNObjectDetector yourself. You should call https://www.mathworks.com/help/vision/ref/trainfastrcnnobjectdetector.html to construct the object.
Constructing these objects requires that you also have the Deep Learning Toolbox installed.

Categories

Find more on Computer Vision Toolbox 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!