Name Last Update
app Loading commit data...
bootstrap Loading commit data...
config Loading commit data...
database Loading commit data...
public Loading commit data...
resources Loading commit data...
routes Loading commit data...
storage Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.env.example Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.styleci.yml Loading commit data...
README.md Loading commit data...
artisan Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
package.json Loading commit data...
phpunit.xml Loading commit data...
select.html Loading commit data...
server.php Loading commit data...
webpack.mix.js Loading commit data...
  • run project php artisan serve http://127.0.0.1:8000/ocr

  • create database CREATE TABLE mst_template ( id INT(11) NOT NULL AUTO_INCREMENT, tpl_name VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci', tpl_text VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci', tpl_xy VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci', in_date DATETIME NOT NULL DEFAULT current_timestamp(), up_date DATETIME NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (id) USING BTREE, UNIQUE INDEX tpl_name (tpl_name) USING BTREE ) COLLATE='utf8mb4_general_ci' ENGINE=MyISAM AUTO_INCREMENT=11 ;

CREATE TABLE dt_template ( tpl_detail_id INT(11) NOT NULL AUTO_INCREMENT, tpl_id INT(11) NOT NULL, field_name VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci', field_xy VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci', in_date DATETIME NOT NULL DEFAULT current_timestamp(), up_date DATETIME NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (tpl_detail_id) USING BTREE, INDEX tpl_id (tpl_id) USING BTREE ) COLLATE='utf8mb4_general_ci' ENGINE=MyISAM AUTO_INCREMENT=7 ;

  • /ocrpdf/app/Services/OCR/read_pdf.py : read pdf