opencv4nodejs
opencv4nodejs copied to clipboard
How to make clean to reduce install size?
I have successfully installed opencv4nodejs via npm install.
After its built, the install size is 1.4 GB+
What the procedure for doing a build clean that will leave all the necessary files but clean up all the temp files?
I've searched the issues but havent seen anything relevant
What results is node_modules/opencv4nodejs and node_modules/opencv-build
Can I simply remove opencv-build ?
Thanks,
Bobby
cmake clean actually cleans too much and nodejs programs can't operate.
So, through trial and error, I figured out that under opencv-build/opencv/build, delete everything but lib and lib64 and my nodejs code will still work. Doing this reduces the size of the node_module from 1.8 GB to 253 MB.
Bobby