iT邦幫忙

0

AI 辨認圖片

請問 Azure 可用那個東西來辨認或訓練圖片轉文字呢? 已學懂用一點 computer vision 了,但還是辨認不到以下圖片,請提供意見,謝
https://ithelp.ithome.com.tw/upload/images/20210911/20135171DXyTL7xa2N.png

Googoe vision更強大一些 (已發現可用文字搜尋圖片內容)
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

2
Greysuki
iT邦新手 5 級 ‧ 2021-09-11 19:26:31
from google.cloud import vision
import io

client = vision.ImageAnnotatorClient()
with io.open("C:/YOUR/IMAGE/PATH", "rb") as image_file:
    content = image_file.read()
image = vision.Image(content=content)
response = client.text_detection(image=image)
texts = response.text_annotations

print(texts[0].description)
>>> 8r 57

我要發表回答

立即登入回答