case class jFrame(version: String, id: String, timestamp: Timestamp, sensorId: String, objects: Array[String]) extends Product with Serializable
this is alternative to com.nvidia.mdx.core.schema.jMessage
Each frame Message / payload have a one to one correspondence with Frame (Video Frame). A frame comprises of one or more objects detected.
The JSON structure of the frame is { "version": "4.0", "id": "frame-id", "@timestamp": "2018-04-11T04:59:59.828Z", "sensorId": "sensor-id", "objects": [ ".......object-1 attributes...........", ".......object-2 attributes...........", ".......object-3 attributes..........." ] } Example frame with only Primary GIE { "version": "4.0", "id": "frame-id", "@timestamp": "2018-04-11T04:59:59.828Z", "sensorId": "sensor-id", "objects": [ "object-Id | bbox.leftX | bbox.topY | bbox.rightX | bbox.bottomY |object-type", ".......object-2 PGIE attributes...........", ".......object-3 PGIE attributes..........." ] } An example with SGIE where object-type is Vehicle { "version": "4.0", "id": "frame-id", "@timestamp": "2018-04-11T04:59:59.828Z", "sensorId": "sensor-id", "objects": [ "957|1834|150|1918|215|Vehicle|#|sedan|Bugatti|M|blue|CA 444|California|0.8", "..........." ] }
- version
represents version of the schema
- id
represents the video frame-id
- timestamp
represents the camera timestamp
- sensorId
Unique sensor-id
- objects
List of objects, where each object is represented using a string, the attributes of the object are pipe seperated
- Since
v0.1
- Alphabetic
- By Inheritance
- jFrame
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
jFrame(version: String, id: String, timestamp: Timestamp, sensorId: String, objects: Array[String])
- version
represents version of the schema
- id
represents the video frame-id
- timestamp
represents the camera timestamp
- sensorId
Unique sensor-id
- objects
List of objects, where each object is represented using a string, the attributes of the object are pipe seperated
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()
-
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
-
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 objects: Array[String]
- val sensorId: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestamp: Timestamp
- val version: String
-
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