Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Praxishasen Bericht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jan Wille
Praxishasen Bericht
Commits
bf1b1452
Commit
bf1b1452
authored
3 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
subsection Rotieren
parent
270f1900
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Praxisbericht.pdf
+0
-0
0 additions, 0 deletions
Praxisbericht.pdf
Praxisbericht.tex
+15
-0
15 additions, 0 deletions
Praxisbericht.tex
img/textbox.png
+0
-0
0 additions, 0 deletions
img/textbox.png
with
15 additions
and
0 deletions
Praxisbericht.pdf
+
0
−
0
View file @
bf1b1452
No preview for this file type
This diff is collapsed.
Click to expand it.
Praxisbericht.tex
+
15
−
0
View file @
bf1b1452
...
...
@@ -246,6 +246,21 @@
\subsection
{
Rotieren der gefundenen Sektionen
}
\label
{
sub: rotate
}
Die gefundenen Boxen liefern direkt eine Winkelinformation. Mit dieser und der Bildgröße lässt sich eine Rotationsmatrix erzeugen mit
deren Hilfe das Originalbild rotiert wird. Gleichzeitig wird auch die Box rotiert und aus dem Bild ausgeschnitten.
Da er Text auch vertikal sein kann, wird dies anhand des Seitenverhältnisses überprüft. Ist der Bildausschnitt höher als Breit, wird
er um
$
90
\degree
$
rotiert.
\autoref
{
fig: textbox
}
zeigt, wie das Ergebnis bei diesem Beispiel aussieht.
\begin{figure}
\bigskip
\includegraphics
[width=0.1\textwidth]
{
img/textbox.png
}
\caption
{
Ausgeschnittene und rotierte Textbox
}
\label
{
fig: textbox
}
\end{figure}
\subsection
{
Übergabe an Tesseract
}
\label
{
sub: call tesseract
}
\subsection
{
Textanalyse des Ergebnisses
}
...
...
This diff is collapsed.
Click to expand it.
img/textbox.png
0 → 100644
+
0
−
0
View file @
bf1b1452
15.9 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment