Compile Java Package and include a toolbox

조회 수: 2 (최근 30일)
OIPA
OIPA 2020년 3월 4일
편집: OIPA 2020년 3월 6일
Hi,
I have compiled a .jar file using library compiler so that I can integrate and call my function in a Java program. This .jar has some dependencies and all the files are automatically loaded to "Files required for your library to run" section (.mat and .m files).
However when I call the library through Java I get the following error:
Undefined function or variable 'visionACFRgb2luv'.
Error in vision.internal.acf.rgb2luv (line 78)
Error in vision.internal.acf.computePyramid (line 44)
Error in acfObjectDetector/detect (line 179)
Error in TSD_ACFDetector (line 25)
Error in funcion_TSR_vWin (line 54)
----------------------------------------------------
com.mathworks.toolbox.javabuilder.MWException: Undefined function 'visionACFRgb2luv' for input arguments of type 'single'.
It seems like the .jar does not include the vision toolbox that my function needs to run. How should I include the toolbox into the Java package?
Update: This Rgb2luv function is inside Piotr's Computer Vision Matlab Toolbox https://pdollar.github.io/toolbox/. How should I include this toolbox at the Java Package?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by