Closed abdelaziz-mahdy closed 3 months ago
checking vulkan i see that the runtime libs are huge for macos. 240 mb so i guess vulkan will not work? or you think there is another way to serve a small version
only windows runtime vulkan libs can be provided which is 13 mb
edit: this https://github.com/opencv/opencv/issues/16854 may help but we will need to check the increase in lib size hopefully it wont be alot
for compilation script vulkan is loaded so i am lost now https://github.com/rainyl/opencv.full/actions/runs/10078559285/job/27863730109#step:4:749
On windows, at least on my PC, vulkan runtime is pre-installed.
And for all desktop platforms, I think we do not nedd to worry about it, opencv dynamically linked it and will only load if needed, so if users need vulkan they can install it manually.
I tested on Android too and found it's also already installed.
BTW, ios doesn's support vulkan.
So don't worry, just install it manually.
BUT, in my test, both windows and android throws an error indicating some shaders are not supported, I didn't test on macos so don't know whether it will also occur on mac.
So I guess it's a limitation from opencv! I mean they did mention that vulkan support is experimental
If I can't serve with the app, I don't think I will use it, I hate to have installation steps as a user, so I don't want to do that to users,
Thank you very much for looking into it, should we leave the issue open? Or close as not planned
Yes, it's the limitation of opencv, not the problem of this project, so just close this issue.
Read README carefully first Star :star: this project if you want to ask a question, no star, no answer
Question
we enabled vulkan but as you see it looks like it needs a lib to be added ?
that log will only show if
setLogLevel(LOG_LEVEL_ERROR);
is in the main functionfor code example https://github.com/abdelaziz-mahdy/face_grouping
i found this https://docs.opencv.org/4.x/d6/dea/tutorial_env_reference.html which shows OPENCV_VULKAN_RUNTIME should be the path to lib, which is weird since in the other docs they didnt mention that, do you think we can include it to the libs served by opencv?