@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@.409","opencv_cudaarithm@.409","opencv_cudafilters@.409","opencv_cudaimgproc@.409","opencv_cudacodec@.409","opencv_cudaobjdetect@.409","opencv_cudabgsegm@.409","opencv_cudastereo@.409","opencv_cudafeatures2d@.409","opencv_cudaoptflow@.409","opencv_cudawarping@.409","opencv_cudalegacy@.409"}),@Platform(value="windows",preload={"opencv_cuda490","opencv_cudaarithm490","opencv_cudafilters490","opencv_cudaimgproc490","opencv_cudacodec490","opencv_cudaobjdetect490","opencv_cudabgsegm490","opencv_cudastereo490","opencv_cudafeatures2d490","opencv_cudaoptflow490","opencv_cudawarping490","opencv_cudalegacy490"})}) 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.