Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make the opencv.dnn module available in acap-computer-vision-sdk? #32

Closed
anigabriel opened this issue May 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@anigabriel
Copy link

Is it possible to make the opencv.dnn module available in acap-computer-vision-sdk for axis P3265-LVE Dome Camera?
"""
OpenCV modules:
To be built: calib3d core features2d flann imgcodecs imgproc objdetect python3 video videoio
Disabled: world
Disabled by dependency: gapi highgui java_bindings_generator js_bindings_generator ml objc_bindings_generator photo python_tests stitching
Unavailable: dnn java python2 ts
Applications: apps
Documentation: NO
Non-free algorithms: NO
"""

@anigabriel anigabriel added the enhancement New feature or request label May 26, 2022
@Corallo
Copy link
Contributor

Corallo commented Jun 1, 2022

Hello anigabriel
We don't plan at the moment to extend the computer vision sdk, but you can try to rebuild it with the flags you need
https://github.com/AxisCommunications/acap-computer-vision-sdk/blob/master/sdk/Dockerfile.aarch64#L11
Once you rebuild the computer vision sdk, you can use your custom sdk to build the example application:
https://github.com/AxisCommunications/acap-computer-vision-sdk-examples/blob/master/object-detector-python/Dockerfile#L8

Here is an example of how we added more libs to the native sdk:
AxisCommunications/acap-native-sdk-examples#41

Be aware that building Opencv.dnn will allow you to use only the cpu to execute the inference, making it slow.
This is because the hardware accelerator doesn't have APIs for opencv.dnn.

@Corallo
Copy link
Contributor

Corallo commented Jun 9, 2022

I am converting this issue into a Q&A discussion

@AxisCommunications AxisCommunications locked and limited conversation to collaborators Jun 9, 2022
@Corallo Corallo converted this issue into discussion #42 Jun 9, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants