{"height":"190","author_name":"hecomi","provider_name":"Hatena Blog","published":"2013-09-16 16:28:49","blog_title":"\u51f9\u307fTips","provider_url":"https://hatena.blog","url":"https://tips.hecomi.com/entry/20130916/1379316529","blog_url":"https://tips.hecomi.com/","width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/hecomi/","title":" Qt Quick 2 \u3067\u4f7f\u3048\u308b OpenCV \u7528\u306e QML \u8981\u7d20\u3092\u4f5c\u3063\u3066\u307f\u305f","categories":["Qt","OpenCV","C++"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftips.hecomi.com%2Fentry%2F20130916%2F1379316529\" title=\" Qt Quick 2 \u3067\u4f7f\u3048\u308b OpenCV \u7528\u306e QML \u8981\u7d20\u3092\u4f5c\u3063\u3066\u307f\u305f - \u51f9\u307fTips\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u306f\u3058\u3081\u306b \u524d\u56de\uff08QML \u304b\u3089 OpenCV \u3067\u53d6\u5f97\u3057\u305f\u30ab\u30e1\u30e9\u753b\u3092\u8868\u793a\u3057\u3066\u307f\u305f - \u51f9\u307fTips\uff09\u306f\u3001QQmlImageProvider \u3092\u7528\u3044\u305f\u30a2\u30d7\u30ed\u30fc\u30c1\u3067 C++ \u5074\u3067\u4f5c\u6210\u3057\u305f\u30d4\u30af\u30bb\u30eb\u30c7\u30fc\u30bf\u3092 QML \u5074\u3067\u6271\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001qmlRegisterType \u306b\u3088\u3063\u3066\u767b\u9332\u3067\u304d\u308b QML \u8981\u7d20\u304b\u3089\u6271\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3084\u308b\u5185\u5bb9\u306f\u524d\u56de\u3068\u540c\u3058\u304f\u3001OpenCV \u3067\u53d6\u5f97\u3057\u305f\u30ab\u30e1\u30e9\u753b\u3092\u8868\u793a\u3057\u307e\u3059 \u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068 import QtQuick 2.0 import OpenCV 1.0 Rectangle { width: 1280 height: 720 Camera { anchors\u2026","type":"rich"}