Packages

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)

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
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)

    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: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val area: Float
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val bbox: (Float, Float, Float, Float)
  7. val categoryId: Long
  8. def categoryIdx: Long
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def dumpTo(context: COCOSerializeContext): Unit
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val id: Long
  15. var image: COCOImage
  16. val imageId: Long
  17. val isCrowd: Boolean
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. var segmentation: COCOSegmentation
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped