Mit dem iPhone scannen, um zu installieren
Batch OCR–Extract the text from several images as separate files
- Batch OCR (text recognition) multiple images or files at the same time.
- Select whether to keep the text formatting or merge all of the texts into single lines.
- Save the results to Files.
Supports images and PDFs
Neue Funktionen
Version 2.0
Fixed output file names to reflect input file names
Was er macht
26 Aktionen-
CommentExtract the text from miltiple images. Choose: Formatting is preserved or Content is merged into a single line
-
Set VariableImages
-
If
-
Choose from MenuChoose From
-
Choose from MenuFiles
-
Select File
-
Choose from MenuPhotos
-
Select Photos
-
Set VariableImages
-
Choose from MenuOutput Formatting
-
Choose from MenuKeep Formatting
-
Number
-
Set VariableFormatting Flag
-
Choose from MenuRemove Formatting
-
Number
-
Set VariableFormatting Flag
-
Select File
-
Repeat with Each
-
Get Name
-
Extract Text from Image
-
If
-
If
-
Split Text
-
Combine Text
-
Save File
-
Rename File
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/photos'
#include 'actions/documents'
#define color red
/*
Extract the text from miltiple images.
Choose:
Formatting is preserved
or
Content is merged into a single line
*/
@Images = ShortcutInput
if !@Images {
menu "Choose From" {
item "Files":
selectFile(true)
item "Photos":
selectPhotos(true)
}
@Images
}
menu "Output Formatting " {
item "Keep Formatting":
@FormattingFlag = 1
item "Remove Formatting":
@FormattingFlag = 0
}
const File = selectFile()
for _ in @Images {
getName(@RepeatItem)
const TextFromImage = extractImageText(@RepeatItem)
if @FormattingFlag == 1 {
} else {
const SplitText = splitText(TextFromImage, "
")
const MergedText = joinText(SplitText, " ")
}
const SavedFile = saveFilePrompt(IfResult)
rename(SavedFile)
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von te55eract
Das gefällt dir vielleicht auch
Werbung