opencv_js.wasm is too large

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

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 to this white_list = makeWhiteList([core, features2d]) but result size is still ~2MB. I need max 1MB

I posted similar question to Cloudflare Workers

edit retag flag offensive close merge delete