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
- Alphabetic
- By Inheritance
- COCOAnotationOD
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val area: Float
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bbox: (Float, Float, Float, Float)
- val categoryId: Long
- def categoryIdx: Long
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def dumpTo(context: COCOSerializeContext): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: Long
- var image: COCOImage
- val imageId: Long
- val isCrowd: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var segmentation: COCOSegmentation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )