The OCR.space Online OCR service converts scans or (smartphone) images of text documents into editable files by using Optical Character Recognition (OCR). The OCR software also can get text from PDF . Our Online OCR service is free to use, no registration necessary. Just upload your image files.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The OCRSpace API enables text extraction from images and PDFs, converting various image formats into editable and searchable data. This service is a game-changer for automating document handling processes, where the need to digitize content is crucial. Pipedream's platform allows for seamless integration of OCRSpace's capabilities with various apps to streamline workflows, such as organizing documents, populating databases, or even triggering event-driven actions based on the extracted content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ocrspace: {
type: "app",
app: "ocrspace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ocr.space/parse/imageurl`,
params: {
apikey: `${this.ocrspace.$auth.apikey}`,
url: `image_url_goes_here`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})