Compile Java Package and include a toolbox
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!