Borrar filtros
Borrar filtros

Compile Java Package and include a toolbox

4 visualizaciones (últimos 30 días)
OIPA
OIPA el 4 de Mzo. de 2020
Editada: OIPA el 6 de Mzo. de 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?

Respuestas (0)

Categorías

Más información sobre Java Package Integration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by