Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Dung Diego
/
ocr-tool
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dung Diego
2026-07-16 08:45:08 +0700
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
8bbe015d287fc449e2ab5c6b4856292b8fc7461c
8bbe015d
1 parent
e8290dba
up
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
resources/views/ocr/ocr_pdf.blade.php
resources/views/ocr/ocr_pdf.blade.php
View file @
8bbe015
...
...
@@ -68,7 +68,11 @@
</style>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.8/axios.min.js"
></script>
<script
src=
"{{ asset("
assets
/
js
/
vue
.
min
.
js
")
}}"
></script>
<div
id=
"app"
>
<div
class=
"wrapper"
>
<div
class=
"content-wrapper position-relative"
>
<section
class=
"contents"
>
<div
id=
"app"
>
<div
class=
"loading text-center"
><div
class=
"spinner-container"
><div
role=
"status"
class=
"spinner-border text-primary"
><span
class=
"sr-only"
>
Loading...
</span></div></div></div>
<div
class=
"pdf-container"
:style=
"{width: this.ocr.mst_template.image.width*0.3155 + 'px',height: this.ocr.mst_template.image.height*0.3155 + 'px'}"
>
<div
class=
"text-center"
@
mousedown=
"ocr_start_select"
@
mousemove=
"ocr_move_select"
@
mouseup=
"ocr_end_select"
>
<img
:src=
"`{{route('order.show_pdf')}}?file_path=`+ocr.image_path"
class=
"img-fluid border"
draggable=
"false"
/>
...
...
@@ -129,6 +133,11 @@
<img
:src=
"`{{ route('order.show_pdf') }}?file_path=` + ocr.image_path.replace(/\.jpg$/, `_${page_num}.jpg`)"
class=
"img-fluid border"
draggable=
"false"
/>
</div>
</div>
</section>
</div>
</div>
<script>
...
...
Please
register
or
sign in
to post a comment