File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,7 @@ This project extracts text from images using OCR (Tesseract), structures the ext
11
11
- MySQL
12
12
- JSON
13
13
14
- ## Project Structure
15
- ```
16
- 📂 Your-GitHub-Repo
17
- │── 📄 README.md # Project documentation with setup instructions
18
- │── 📄 extract_and_structure.py # Python script for OCR and JSON structuring
19
- │── 📄 store_to_mysql.py # Python script for storing extracted data into MySQL
20
- │── 📂 data
21
- │ ├── sample_image.png # Sample input image
22
- │ ├── sample_output.json # Sample extracted JSON output
23
- │── 📂 sql
24
- │ ├── schema.sql # SQL schema for database tables
25
- │ ├── insert_sample.sql # Sample SQL insert statements
26
- ```
14
+
27
15
28
16
## Setup Instructions
29
17
### 1. Install Dependencies
@@ -41,7 +29,7 @@ Install Tesseract OCR and add it to the system PATH:
41
29
### 2. Run OCR Script
42
30
To extract text and structure it as JSON:
43
31
``` sh
44
- python extract_and_structure .py
32
+ python extract_and_structure_image .py
45
33
```
46
34
47
35
### 3. Setup MySQL Database
You can’t perform that action at this time.
0 commit comments