Azzera filtri
Azzera filtri

Compile Java Package and include a toolbox

4 visualizzazioni (ultimi 30 giorni)
OIPA
OIPA il 4 Mar 2020
Modificato: OIPA il 6 Mar 2020
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?

Risposte (0)

Categorie

Scopri di più su Java Package Integration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by