フィルターのクリア

Compile Java Package and include a toolbox

4 ビュー (過去 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 Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by