Skip to content
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

Opencv JS file size #374

Open
aastha19 opened this issue Oct 8, 2020 · 2 comments
Open

Opencv JS file size #374

aastha19 opened this issue Oct 8, 2020 · 2 comments

Comments

@aastha19
Copy link

aastha19 commented Oct 8, 2020

Hello,

I am trying to use certain functions of OpenCV js in my code. But the size of the entire OpenCV js file is too big to be used as it is.
Is there any way to only keep certain functionalities and create a custom file?
Or is there a lightweight version available?

opencv version: 3.4

@huningxin
Copy link
Owner

Hello,

You can configure the exported functions by https://github.com/opencv/opencv/blob/master/platforms/js/opencv_js.config.py#L82.

@Jiiiaqi-l
Copy link

Jiiiaqi-l commented Nov 10, 2020

Hello,

You can configure the exported functions by https://github.com/opencv/opencv/blob/master/platforms/js/opencv_js.config.py#L82.

Hi,
Could you add some instructions on how to export dynamically? That would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants