node.js port of jueseph/Opticrop