Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package nvidia
    Definition Classes
    com
  • package mdx

    this is the base transform for mdx analytics SDK, the transform comprise of

    this is the base transform for mdx analytics SDK, the transform comprise of


    core : mdx streaming core classes
    xapp : comprise of sample applications

    Definition Classes
    nvidia
  • package core

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    this is the core transform for mdx SDK, contains transform and classes for the core mdx functionality

    Definition Classes
    mdx
  • package schema

    please see nv.schema , which is used @since v1.0

    please see nv.schema , which is used @since v1.0

    this is kept for backward compatibility and is used for json based pipeline

    the key classes representing the json schema

    Calibration
    Message
    Frame and
    Behavior

    There are two schema for sending messages perception layer to Message broker (kafka or IOT hub), The two schema are represented by Message and Frame. Frame is concise in terms amount of bytes sent over the network

    User can configure to use either of the Messaging schema

    jBehavior is specific to the domain we are dealing with, represent object movement & state over period of times

    Definition Classes
    core
  • package frame
    Definition Classes
    schema
  • jCluster
  • jFrame
  • jFrameMessage
  • jFrameWithOffset
  • jPoint
  • jPointWithId
  • jRoiCount
  • jTypeCount

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jFrame
  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 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

  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. val id: String
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. val objects: Array[String]
  14. val sensorId: String
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. val timestamp: Timestamp
  17. val version: String
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped