tensorflow :: ops :: DrawBoundingBoxesV2
#include <image_ops.h>
画像のバッチに境界ボックスを描画します。
概要
images
コピーを出力しますが、 boxes
内の場所で指定された0個以上の境界ボックスをピクセルの上に描画します。各境界ボックスの座標boxes
として符号化される[y_min, x_min, y_max, x_max]
バウンディングボックスの座標は、下にある画像の幅と高さを基準にして[0.0, 1.0]
変動します。
たとえば、画像が100 x 200ピクセル(高さx幅)で、境界ボックスが[0.1, 0.2, 0.5, 0.9]
場合、境界ボックスの左上と右下の座標は(40, 10)
40、10 (40, 10)
から(100, 50)
((x、y)座標)。
バウンディングボックスの一部が画像から外れる場合があります。
引数:
- スコープ:スコープオブジェクト
- 画像:形状
[batch, height, width, depth]
4D。画像のバッチ。 - ボックス:境界ボックスを含む形状
[batch, num_bounding_boxes, 4]
。 - 色:2-D。ボックスを循環するRGBAカラーのリスト。
戻り値:
-
Output
:images
と同じ形状の4D。画像にバウンディングボックスが描画された入力画像のバッチ。
コンストラクタとデストラクタ | |
---|---|
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
公の行事
DrawBoundingBoxesV2
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