問題タブ [opencv3.3]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
1159 参照

java - OpenCV for Android アプリケーションを使用して、Red Blue と Green の値を個別に表示します。

カメラを何かに向けるアプリを作成しようとしています。アプリはオブジェクトの赤青と緑の色を表示します。OpenCV ライブラリを使用して Android スタジオでアプリケーションを開発しています。すべての設定が正常に完了し、ライブ ビデオの色空間を変換できます。ただし、R、G、B の値を個別に表示することはできません。正直なところ、私はそれを行う方法がわかりません.私はGoogle検索を行い、C ++でそれについていくつかの助けを得ましたが、Javaの助けはあまり見つかりませんでした.

私の活動ファイルはこれです

注:値をログアウトするだけなので、赤、青、緑を表示するテキストビューがありません。

0 投票する
0 に答える
2586 参照

opencv3.3 - OpenCV3.3 dnn.readNetFromTensorflow() cannot load the module

First,I use the OpenCV3.3 and the Python3.6. When I use net=cv2.dnn.readNetFromCaffe('MobileNetSSD.prototxt.txt','MobileNetSSD_deploy.caffemodel').It works

The question is when I load the tensorflow module,there is an error: My code is

The wrong message is

Please help me ,thank you very much!