case class ObjectState(id: String, start: Timestamp, end: Timestamp, points: List[Coordinate], sampling: Int = 1, lastXPoints: List[Coordinate] = List.empty, object: Object = null, embeddings: Array[Embedding] = Array.empty) extends Product with Serializable
tracks detections of a given object over a period of time, this includes geo points i.e latitude and longitude, timestamp, object appearance/embeddings and in future other attributes like Pose, Gaze and Gesture This is used for internal state management
- id
unique id of the object, default implementation use sensor-id + object-id
- start
start timestamp of the object detection
- end
end timestamp of the object detection
- points
List of geo points or Locations
- sampling
if point sampling is x, then 1/x points is the sampling ratio
- embeddings
array of embeddings to represent a given object
- Alphabetic
- By Inheritance
- ObjectState
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ObjectState(id: String, start: Timestamp, end: Timestamp, points: List[Coordinate], sampling: Int = 1, lastXPoints: List[Coordinate] = List.empty, object: Object = null, embeddings: Array[Embedding] = Array.empty)
- id
unique id of the object, default implementation use sensor-id + object-id
- start
start timestamp of the object detection
- end
end timestamp of the object detection
- points
List of geo points or Locations
- sampling
if point sampling is x, then 1/x points is the sampling ratio
- embeddings
array of embeddings to represent a given object
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val embeddings: Array[Embedding]
- val end: Timestamp
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastXPoints: List[Coordinate]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val object: Object
- val points: List[Coordinate]
- val sampling: Int
- val start: Timestamp
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
timeInterval: Double
time span of the state in seconds
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated