semvec/pypi-packages huggingface dataset:
OcrGather 0.1.1
Some third-party OCR services are encapsulated
License: MIT
Requires Python: >=3.8

# OcrGather



<div align="center">
    <a href="https://github.com/centyuan"> <img src="https://img.shields.io/badge/Maintainer-centyuan-blue.svg"> 
    </a>
    <a href="">
        <img src="https://img.shields.io/badge/Language-Python-green.svg">
    </
    <a href="https://github.com/centyuan/OcrGather"><img src="https://img.shields.io/pypi/v/OcrGather"></a>
    <br>
    <a href=""><img src="https://img.shields.io/github/stars/centyuan/OcrGather.svg?style=social&label=Star"></a>
    <a href=""><img src="https://img.shields.io/github/forks/centyuan/OcrGather.svg?style=social&label=Fork"></a>
     <a href=""><img src="https://img.shields.io/github/forks/centyuan/OcrGather.svg?style=social&label=Watch"></a>
    <a href="https://pypi.org/project/OcrGather/"><img src="https://pepy.tech/badge/OcrGather"></a>
</div>





## [OcrGather](https://github.com/centyuan/OcrGather#OcrGather)

```
Some third-party OCR services are encapsulated
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
```

## [Installation](https://github.com/centyuan/OcrGather#installation)

**Pip install**

```
pip install OcrGather
```

## [Support List](https://github.com/centyuan/OcrGather#support-list)

| Service Name | Service Provider |  client name  | Support |
| :----------: | :--------------: | :-----------: | :-----: |
|   有道OCR    |       有道       | ocr.youdao()  |    Y    |
|   讯飞OCR    |       讯飞       |  ocr.xfyun()  |    Y    |
|   合合OCR    |     合合信息     | ocr.textin()  |    Y    |
|   腾讯OCR    |       腾讯       | ocr.tencent() |    X    |
|   阿里OCR    |       阿里       | ocr.aliyun()  |    X    |
|   百度OCR    |       百度       | ocr.aliyun()  |    Y    |
|  Tesseract   |                  |               |    X    |
|     ...      |       ...        |               |   ...   |



## [Quick Start](https://github.com/centyuan/OcrGather#quick-start)

```
from OcrGather import ocr 

# create instance 
api_key = os.getenv("API_KEY", "77f89e08f43a86f9")   # api key 
secret_key = os.getenv("SECRET_KEY", "HlmF4vlvwmemBL2tG4wIYiUob3BUjZQ1")  # secret key
client = ocr.youdao(api_key=api_key,secret_key=secret_key)
file_path =  "../assets/1c3d.png"
# 或  file_url ="https://xxx/xxx.png"
mark, text = client.get_text(file_path=file_path)
# 或 client.get_text(file_url=file_url)
```
own-knowledge-gpt 0.0.3
Custom Knowledge GPT
License: MIT
Requires Python: >=3.9
Keywords: AI HACKER,AI,autoGPT,Deep Learning,LLM,Interface

---
title: Own Knowledge GPT
emoji: 🚀
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 4.2.0
app_file: app.py
pinned: false
license: mit
---

# Own-Knowledge-GPT 
## Introduction 
Welcome to the Own-Knowledge-GPT, this is a demo project that allow you want your Chat bot can learn anything you want 

This project is built by Python and integration with OpenAI API which use GPT-3.5-turbo model 

## Getting Started 
### 1. Environment Setup
The project is built in python 3.9+. You need to install python 3.9 or later
```commandline
  git clone git@hf.co:spaces/myn0908/Own-Knowledge-GPT
```
For install dependencies:
```commandline
 pip install -r requirements.txt
```
### How to use 
This project use Gradio to build User Interface, please use: 
```commandline
 python app.py
```
Enjoy project with step by step follow this: 

Bot Learning with URL 
![Screenshot 2023-11-13 at 19.56.40.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_zJFx9p%2FScreenshot%202023-11-13%20at%2019.56.40.png)

Please input URL and your file format and then press Training button, when the training process is finished, it's will notice you Training Completed 

After that, you can starting chat with your custom bot about the topic in your URL
![Screenshot 2023-11-13 at 20.00.10.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_xDIQGv%2FScreenshot%202023-11-13%20at%2020.00.10.png)

The vector index storage by this structure: 

![Screenshot 2023-11-13 at 20.03.04.png](..%2F..%2F..%2F..%2Fvar%2Ffolders%2Fzc%2Fcsmhsgrd0bz3bbkycljwdk2c0000gn%2FT%2FTemporaryItems%2FNSIRD_screencaptureui_ZTP7r9%2FScreenshot%202023-11-13%20at%2020.03.04.png)