{"height":"190","description":"\u6f22\u5b57\u3068\u304b\u306e\u691c\u51fa - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6 \u306e\u7d99\u7d9a\u8abf\u67fb\u306e\u3088\u3046\u306a\u3082\u306e\u3002dnn/text.py#L68 def detect_lines(image,scale=600, ...): ... return text_lines, scores \u3067\u30c6\u30ad\u30b9\u30c8\u9818\u57df\u306e\u30d0\u30a6\u30f3\u30c7\u30a3\u30f3\u30b0\u30dc\u30c3\u30af\u30b9\u3068\u78ba\u4fe1\u5ea6\u3092\u8fd4\u3057\u3066\u3044\u308b\u3002text_lines \u306f (28, 8) \u306e\u30b5\u30a4\u30ba\u306a\u3069\u306e\u30c6\u30f3\u30bd\u30eb\u3068\u3057\u3066\u8fd4\u3063\u3066\u304f\u308b\u3002\u30d0\u30a6\u30f3\u30c7\u30a3\u30f3\u30b0\u30dc\u30c3\u30af\u30b9\u304c 28 \u500b\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3060\u304c\u3001\u4f55\u6545\u5ea7\u6a19\u6210\u5206\u306f 8 \u306a\u306e\u304b\uff1f\u3068\u3044\u3046\u3053\u3068\u306b\u3064\u3044\u3066\u306f\u3001helper/image.py#L244-L250 boxes = [] for box in text_recs: x1\u2026","title":"darknet-ocr (1)","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","type":"rich","width":"100%","categories":["machine_learning"],"url":"https://randommemory.hatenablog.com/entry/2022/01/01/201204","author_url":"https://blog.hatena.ne.jp/derwind/","published":"2022-01-01 20:12:04","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://randommemory.hatenablog.com/","image_url":null,"author_name":"derwind","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F01%2F01%2F201204\" title=\"darknet-ocr (1) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}