MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / renameImageForSave

Function renameImageForSave

functions/v2/ocr/app/index.js:104–106  ·  view source on GitHub ↗
(filename, lang)

Source from the content-addressed store, hash-verified

102 * @returns {string} The new filename.
103 */
104const renameImageForSave = (filename, lang) => {
105 return `${filename}_to_${lang}.txt`;
106};
107
108// [START functions_ocr_process]
109/**

Callers 1

index.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected