createMat unrecognised function error
이전 댓글 표시
I have installed Computer Vision Toolbox and Image Processing Toolbox but I still get this error when I try and use createMat:
Unrecognized function or variable 'createMat'.
Error in opencv_tests (line 4)
[inputMat,inputArray] = createMat(img);
My code:
import clib.opencv.*;
import vision.opencv.util.*
img = imread("cakes.jpeg");
[ocvMat,ocvArray] = createMat(img);
Looks like it's not picking up the add ons?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 OpenCV Support에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!