텐서플로우:: ops:: DrawBoundingBoxesV2

#include <image_ops.h>

여러 이미지에 경계 상자를 그립니다.

요약

images 의 복사본을 출력하지만, boxes 에 지정된 위치로 픽셀 위에 하나 이상의 바운딩 박스를 그립니다. 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) 에서 (100, 50) 까지((x,y) 좌표)가 됩니다.

경계 상자의 일부가 이미지 영역 밖에 있을 수 있습니다.

논거:

  • 범위: Scope 객체
  • 이미지: [batch, height, width, depth] 형태의 4차원 이미지입니다. 이미지 배치입니다.
  • boxes: 경계 상자를 포함하는 [batch, num_bounding_boxes, 4] 모양의 3D입니다.
  • 색상: 2차원. 상자에 적용할 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

공공 기능

DrawBoundingBoxesV2

 DrawBoundingBoxesV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input boxes,
  ::tensorflow::Input colors
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const