image-classifier-ts
Version:
Command line tool to auto-classify images, renaming them with appropriate labels. Uses Node and Google Vision API.
11 lines • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StringUtils = void 0;
var StringUtils;
(function (StringUtils) {
function replaceAll(text, token, replacement) {
return text.split(token).join(replacement);
}
StringUtils.replaceAll = replaceAll;
})(StringUtils = exports.StringUtils || (exports.StringUtils = {}));
//# sourceMappingURL=StringUtils.js.map