Conversation
Supports delay-loading for Ninja generators and Python bindings.
|
I confirm lazy loading with Ninja generator. It works with this PR. But could you please provide steps to check python bindings with CUDA delayed loading? |
|
Sure, no problem. If you compiled OpenCV with Python3 bindings enabled, go to your Python3 package location defined by Still, loading the pyd file from Python is a bit tricky regarding the dependencies. Even though all dependencies might be shipped next to the DLL or the Path environment, Python will not load these. Instead, they need to be defined by the package's configuration scripts ( |
Fixes #23187
Supports delay-loading for Ninja generators and Python bindings.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.