tensorflow:: ops:: DrawBoundingBoxesV2
#include <image_ops.h>複数の画像に対して境界ボックスを描画する。
まとめ
imagesのコピーを出力しますが、ピクセル上に、 boxesで指定された位置でゼロ個以上のバウンディングボックスを描画します。boxes 内の各バウンディングboxesの座標は、 [y_min, x_min, y_max, x_max]としてエンコードされます。バウンディングボックスの座標は、基となる画像の幅と高さに対する[0.0, 1.0]の浮動小数点数です。
例えば、画像が100×200ピクセル(高さ×幅)で、境界ボックスが[0.1, 0.2, 0.5, 0.9]の場合、境界ボックスの左上と右下の座標は(x,y)座標で(40, 10) )から(100, 50)になります。
バウンディングボックスの一部が画像からはみ出す場合があります。
議論:
- スコープ:スコープオブジェクト
- 画像: 形状
[batch, height, width, depth]を持つ4次元画像。画像のバッチ。 - ボックス: 形状
[batch, num_bounding_boxes, 4]の 3D で、バウンディング ボックスが含まれています。 - 色: 2D。ボックスの色として順番に表示するRGBAカラーのリスト。
返品:
-
Output:imagesと同じ形状の4次元データ。入力画像のバッチに、画像上にバウンディングボックスが描画されます。
構築者と破壊者 | |
|---|---|
DrawBoundingBoxesV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input boxes, :: tensorflow::Input colors) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
DrawBoundingBoxsV2
DrawBoundingBoxesV2( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input boxes, ::tensorflow::Input colors )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const