@Properties(inherit={opencv_aruco.class,opencv_bgsegm.class,opencv_bioinspired.class,opencv_face.class,opencv_img_hash.class,opencv_structured_light.class,opencv_text.class,opencv_tracking.class,opencv_xfeatures2d.class,opencv_ximgproc.class,opencv_xphoto.class,opencv_videostab.class,opencv_superres.class,opencv_stitching.class,opencv_saliency.class,opencv_quality.class,opencv_dnn_superres.class,opencv_intensity_transform.class,opencv_mcc.class,opencv_rapid.class,opencv_barcode.class,opencv_wechat_qrcode.class},value={@Platform(preload={"opencv_cuda@.405","opencv_cudaarithm@.405","opencv_cudafilters@.405","opencv_cudaimgproc@.405","opencv_cudacodec@.405","opencv_cudaobjdetect@.405","opencv_cudabgsegm@.405","opencv_cudastereo@.405","opencv_cudaoptflow@.405","opencv_cudawarping@.405","opencv_cudalegacy@.405"}),@Platform(value="windows",preload={"opencv_cuda455","opencv_cudaarithm455","opencv_cudafilters455","opencv_cudaimgproc455","opencv_cudacodec455","opencv_cudaobjdetect455","opencv_cudabgsegm455","opencv_cudastereo455","opencv_cudaoptflow455","opencv_cudawarping455","opencv_cudalegacy455"})}) public class opencv_python3 extends Object
opencv_python3 module with JavaCPP.
Call PySys_SetPath(opencv_python3.cachePackages()) after calling Py_Initialize().
| Constructor and Description |
|---|
opencv_python3() |
| Modifier and Type | Method and Description |
|---|---|
static File |
cachePackage()
Returns
Loader.cacheResource("/org/bytedeco/opencv/" + Loader.getPlatform() + extension + "/python/"). |
static File[] |
cachePackages()
Returns
{numpy.cachePackages(), opencv.cachePackage()}. |
public static File cachePackage() throws IOException
Loader.cacheResource("/org/bytedeco/opencv/" + Loader.getPlatform() + extension + "/python/").IOExceptionpublic static File[] cachePackages() throws IOException
{numpy.cachePackages(), opencv.cachePackage()}.IOExceptionCopyright © 2022. All rights reserved.