<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayousanz</author_name>
  <author_url>https://blog.hatena.ne.jp/ayousanz/</author_url>
  <blog_title>yousanのメモ</blog_title>
  <blog_url>https://ayousanz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>AI</anon>
  </categories>
  <description>初めに 開発環境 環境セットアップ 推論 初めに 日本の漫画フォーマットに特化したOCRのライブラリがあるので動かしてみます github.com 開発環境 uv python 3.10 mange-ocr 環境セットアップ 公式のままだとエラーになるので、pyproject.toml を変更します requires-python = &quot;&gt;=3.8&quot; 上記のように3.8以上にしておきます そのあとは、以下でライブラリを入れていきます(torchはCPU版になりますが、今回は簡単な推論だけなのでそのままにします) uv sync 推論 以下のようなコードを使って漫画の画像をOCRで文字認識を行い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2024%2F11%2F19%2F183052&quot; title=&quot;manga-ocrを動かす - yousanのメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/ayousanz/20241119/20241119183011.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-19 18:30:52</published>
  <title>manga-ocrを動かす</title>
  <type>rich</type>
  <url>https://ayousanz.hatenadiary.jp/entry/2024/11/19/183052</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
