Scanne avec ton iPhone pour installer
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
Nouveautés
Version 2.0
Fixed output file names to reflect input file names
Ce qu’il fait
26 actions-
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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)
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de te55eract
Ça pourrait aussi te plaire
Publicité