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 13:16:04 +0700
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
5da194fe7daba783e54a745502ec1dab649b9922
5da194fe
1 parent
59179daa
up
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app/Http/Controllers/OcrController.php
app/Http/Controllers/OcrController.php
View file @
5da194f
...
...
@@ -28,6 +28,7 @@ public function import_pdf(Request $request){
$ocr
[
'js_path'
]
=
$js_path
;
$ocr
[
'image_path'
]
=
$image_path
;
$ocr
[
'mst_template'
]
=
[
'image'
=>
$json_data
[
'image'
]];
$ocr
[
'dt_template_field'
]
=
[];
return
response
()
->
json
([
'status'
=>
true
,
'data'
=>
$ocr
,]);
}
catch
(
\Throwable
$e
){
report
(
$e
);
...
...
Please
register
or
sign in
to post a comment