Marco
commited on
Commit
·
f35d59c
1
Parent(s):
3bc9036
add README YAML
Browse files
README.md
CHANGED
@@ -1,25 +1,48 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
5 |
|
6 |
## Features
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
##
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
- [
|
23 |
-
- [
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Streamlit OCR Application
|
3 |
+
emoji: 📷
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: "1.25.0"
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
|
12 |
+
# Streamlit OCR
|
13 |
+
|
14 |
+
## Overview
|
15 |
+
This project is a Streamlit-based Optical Character Recognition (OCR) application hosted on Hugging Face Spaces. It allows users to extract text from images using various OCR engines and includes a chatbot feature for enhanced interaction.
|
16 |
|
17 |
## Features
|
18 |
+
- **Live Camera Feed with OCR Support**: Capture and process images in real-time to extract text.
|
19 |
+
- **Display of Extracted Text**: View the recognized text directly on the screen.
|
20 |
+
- **Adjustable Confidence Score**: Modify the confidence threshold for displaying extracted text.
|
21 |
+
- **Freeze Button**: Use the freeze function to perform chatbot inference on the most recent text.
|
22 |
+
|
23 |
+
## Usage
|
24 |
+
You can access the application directly on Hugging Face Spaces: [Streamlit OCR + Chatbot App](https://st-ocr.streamlit.app/)
|
25 |
+
|
26 |
+
## Configuration
|
27 |
+
To run this application on Hugging Face Spaces, ensure you have the following configuration:
|
28 |
+
- **Repository Structure**: Include all necessary files such as `app.py` for Streamlit, and any model or data files required for OCR and chatbot functionalities.
|
29 |
+
- **Dependencies**: List all dependencies in a `requirements.txt` file to ensure they are installed in the Hugging Face environment.
|
30 |
+
- **Space Settings**: Configure the Space settings to use Streamlit as the runtime environment.
|
31 |
+
|
32 |
+
## TODOS
|
33 |
+
- [ ] Improve the freeze function for smoother operation.
|
34 |
+
- [ ] Fix existing bugs to enhance user experience.
|
35 |
+
|
36 |
+
## Completed Tasks ✓
|
37 |
+
- [x] Implemented OCR capability.
|
38 |
+
- [x] Added freeze function for text inference.
|
39 |
+
- [x] Integrated chatbot API call.
|
40 |
+
- [x] Merged code with Streamlit framework.
|
41 |
+
- [x] Enhanced OCR processing speed.
|
42 |
+
- [x] Added multilingual support.
|
43 |
+
|
44 |
+
## Contributing
|
45 |
+
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
|
46 |
+
|
47 |
+
## License
|
48 |
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
|