-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
partly built opencv.js size is too big #21431
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5.5
- Operating System / Platform => Ubuntu 18.04
- Compiler => gcc 7.5
Detailed description
I build opencv.js with reduced opencv_js.config.py. The functions are very little, but the size is too big (> 1.6M). I add -DBUILD_opencv_video=OFF to build.js, but the size still big about 1.5M.
Any idea to reduce it to smaller?
core = {
'': [
'copyMakeBorder', 'divide', 'multiply', 'subtract',
],
}
imgproc = {
'': [
'cvtColor',
'resize',
'warpAffine',
'warpPerspective',
],
}
dnn = {'': ['blobFromImage']}
white_list = makeWhiteList([core, imgproc, dnn])Steps to reproduce
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable