@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},value={@Platform(preload={"opencv_cuda@.4.1","opencv_cudaarithm@.4.1","opencv_cudafilters@.4.1","opencv_cudaimgproc@.4.1","opencv_cudacodec@.4.1","opencv_cudaobjdetect@.4.1","opencv_cudabgsegm@4.1","opencv_cudastereo@.4.1","opencv_cudaoptflow@4.1","opencv_cudawarping@.4.1","opencv_cudalegacy@.4.1"}),@Platform(value="windows",preload={"opencv_cuda412","opencv_cudaarithm412","opencv_cudafilters412","opencv_cudaimgproc412","opencv_cudacodec412","opencv_cudaobjdetect412","opencv_cudabgsegm412","opencv_cudastereo412","opencv_cudaoptflow412","opencv_cudawarping412","opencv_cudalegacy412"})}) public class opencv_python3 extends Object
opencv_python3 module with JavaCPP.
Call Py_AddPath(opencv_python3.cachePackages()) before 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 © 2020. All rights reserved.