@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@.410","opencv_cudaarithm@.410","opencv_cudafilters@.410","opencv_cudaimgproc@.410","opencv_cudacodec@.410","opencv_cudaobjdetect@.410","opencv_cudabgsegm@.410","opencv_cudastereo@.410","opencv_cudafeatures2d@.410","opencv_cudaoptflow@.410","opencv_cudawarping@.410","opencv_cudalegacy@.410"}),@Platform(value="windows",preload={"opencv_cuda4100","opencv_cudaarithm4100","opencv_cudafilters4100","opencv_cudaimgproc4100","opencv_cudacodec4100","opencv_cudaobjdetect4100","opencv_cudabgsegm4100","opencv_cudastereo4100","opencv_cudafeatures2d4100","opencv_cudaoptflow4100","opencv_cudawarping4100","opencv_cudalegacy4100"})}) 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/")
.IOException
public static File[] cachePackages() throws IOException
{numpy.cachePackages(), opencv.cachePackage()}
.IOException
Copyright © 2024. All rights reserved.