com.intel.analytics.bigdl.dataset.segmentation

COCOAnotationOD

case class COCOAnotationOD(id: Long, imageId: Long, categoryId: Long, segmentation: COCOSegmentation, area: Float, bbox: (Float, Float, Float, Float), isCrowd: Boolean, image: COCOImage = null) extends Product with Serializable

An annotation for an image (OD in the name for Object Detection)

id
imageId

the Id of the image

categoryId

the Id of the category. Note that categoryId is not continuous from 0 to the number of categories. You can use COCODataset.cateId2Idx to convert an categoryId to a compact category index.

segmentation

the segmentation data

area

area

bbox

the bounding box, (xmin, ymin, xmax, ymax)

isCrowd

if the annotation is a crowd. e.g. a crowd of people. If true, segmentation is an COCORLE object

image

the reference to the image

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. COCOAnotationOD
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new COCOAnotationOD(id: Long, imageId: Long, categoryId: Long, segmentation: COCOSegmentation, area: Float, bbox: (Float, Float, Float, Float), isCrowd: Boolean, image: COCOImage = null)

    id
    imageId

    the Id of the image

    categoryId

    the Id of the category. Note that categoryId is not continuous from 0 to the number of categories. You can use COCODataset.cateId2Idx to convert an categoryId to a compact category index.

    segmentation

    the segmentation data

    area

    area

    bbox

    the bounding box, (xmin, ymin, xmax, ymax)

    isCrowd

    if the annotation is a crowd. e.g. a crowd of people. If true, segmentation is an COCORLE object

    image

    the reference to the image

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val area: Float

    area

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val bbox: (Float, Float, Float, Float)

    the bounding box, (xmin, ymin, xmax, ymax)

  9. val categoryId: Long

    the Id of the category.

    the Id of the category. Note that categoryId is not continuous from 0 to the number of categories. You can use COCODataset.cateId2Idx to convert an categoryId to a compact category index.

  10. def categoryIdx: Long

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dumpTo(context: COCOSerializeContext): Unit

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val id: Long

  17. var image: COCOImage

    the reference to the image

  18. val imageId: Long

    the Id of the image

  19. val isCrowd: Boolean

    if the annotation is a crowd.

    if the annotation is a crowd. e.g. a crowd of people. If true, segmentation is an COCORLE object

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. var segmentation: COCOSegmentation

    the segmentation data

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped