opencv_js.wasm is too large

asked 2020-04-14 11:54:54 -0600

Default size of opencv_js.wasm is ~6MB. Is there way how do decrease size of it? For example by removing unnecessary modules? My only requirements are to use keypoints algorithms.

I tryed to modify opencv_js.config.py to this white_list = makeWhiteList([core, features2d]) but result size is still ~2MB. I need max 1MB

I posted similar question to Cloudflare Workers https://community.cloudflare.com/t/op...

edit retag flag offensive close merge delete