Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

lehhair/pot-app-recognize-plugin-GPT-vision

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pot-App 文字识别插件 GPT-vison

通过调用GPT-vision模型对图片进行识别

使用说明,从release下载解压后需要重命名成[plugin].com.pot-app.ocrspace.potext.potext才能安装

你可以这样填写参数

API KEY: sk-xxxxx

API Endpoint: https://api.openai.com/v1/chat/completions

Model: gpt-4o

自用的Prompt: Analyze the image. OCR any text; skip if none. Use "---" to separate OCR text from analysis. Provide analysis in Chinese.

Prompt: Please analyze the provided image, recognize and extract all the text content, and describe the main content of the image. Your response will be used as input for the next AI assistant or translation assistant. Please return the result in Chinese (cn).

or

Prompt: Please analyze the provided image, perform OCR to extract all text content, and describe the main content of the image. Return the result in Chinese. The OCR content should be at the beginning, in its original form, followed by the explanation in Chinese.

or

Prompt: Analyze the image, perform OCR to extract all text in [brackets], translate the text in [brackets], and describe the main content in Chinese, separated by ---.(推荐)

这里输出语言可以自行选择,也可以保持原文,看你喜好

Stream: False (首先这里true没有应用场景,其次会报错,仅作预留)

About

📋Pot App Recognize Plugin Template

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%