object TripwiresE extends TripwiresT
Tripwires related functions,
// generate tripevents based on list of locations in a Behavior object // the tripwire definition is passed using the config: Map[String, String] val tripEvents = TripwiresE.tripEvents(behavior, config) //
- Alphabetic
- By Inheritance
- TripwiresE
- TripwiresT
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
config: Map[String, String]
while running outside of spark the below config needs to be set before running any operations
while running outside of spark the below config needs to be set before running any operations
- Definition Classes
- TripwiresT
-
def
delete(calibration: String): Unit
delete sensors, which has not tripwire or ROI
delete sensors, which has not tripwire or ROI
- Definition Classes
- TripwiresT
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
intersect(wire: Line, trip: List[Coordinate])(implicit d: DummyImplicit): Boolean
returns true if trip / List[Coordinate] and wire intersect.
returns true if trip / List[Coordinate] and wire intersect.
- Definition Classes
- TripwiresT
-
def
intersect(wire: Line, trip: List[jCoordinate]): Boolean
returns true if trip / List[jCoordinate] and wire intersect.
returns true if trip / List[jCoordinate] and wire intersect.
- Definition Classes
- TripwiresT
-
def
intersect(p1: Point, q1: Point, p2: Point, q2: Point): Boolean
returns true if line segment 'p1q1'and 'p2q2' intersect.
returns true if line segment 'p1q1'and 'p2q2' intersect.
- Definition Classes
- TripwiresT
-
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()
-
def
onSegment(p: Point, q: Point, r: Point): Boolean
Given three colinear points p, q, r, the function checks if point q lies on line segment 'pr'
Given three colinear points p, q, r, the function checks if point q lies on line segment 'pr'
- Definition Classes
- TripwiresT
-
def
orientation(wire: Line, r: Point): Int
To find orientation of ordered triplet (p, q, r).
To find orientation of ordered triplet (p, q, r). where wire = line (p,q)
The function returns following values 0 --> p, q and r are colinear 1 --> Clockwise 2 --> Counterclockwise
- Definition Classes
- TripwiresT
-
def
orientation(p: Point, q: Point, r: Point): Int
To find orientation of ordered triplet (p, q, r).
To find orientation of ordered triplet (p, q, r).
The function returns following values 0 --> p, q and r are colinear 1 --> Clockwise 2 --> Counterclockwise
- Definition Classes
- TripwiresT
-
lazy val
sensorMap: Map[String, Sensor]
sensor -> tripwires map
sensor -> tripwires map
- Definition Classes
- TripwiresT
- Annotations
- @transient()
-
lazy val
sensors: Array[Sensor]
array of sensors, read from the configuration file
array of sensors, read from the configuration file
- Definition Classes
- TripwiresT
- Annotations
- @transient()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tripEvents(tm: Behavior, configbc: Map[String, String]): List[Behavior]
The Behavior object contains the locations, start and end timestamp, form the trajectory based on the same
The Behavior object contains the locations, start and end timestamp, form the trajectory based on the same
the formed trajectory is split into multiple tracklets, these tracklets are overlapping with a length of minTripLength. the minTripLength is defined based on the trip criteria, example tracklet will be considered tripping a wire if there are "x" number of points before and after the tripwire
each tracklet is checked against the tripwire and the function return the list of which has tripped
-
def
tripEvents(tm: jBehavior, configbc: Map[String, String]): List[jBehavior]
The Behavior object contains the locations, start and end timestamp, form the trajectory based on the same
The Behavior object contains the locations, start and end timestamp, form the trajectory based on the same
the formed trajectory is split into multiple tracklets, these tracklets are overlapping with a length of minTripLength. the minTripLength is defined based on the trip criteria, example tracklet will be considered tripping a wire if there are "x" number of points before and after the tripwire
each tracklet is checked against the tripwire and the function return the list of which has tripped
-
def
tripEvents_(tm: Behavior, minTripLength: Int, wires: Array[Tripwire]): List[Behavior]
- Definition Classes
- TripwiresT
-
def
tripEvents_(tm: jBehavior, minTripLength: Int, wires: Array[Tripwire]): List[jBehavior]
- Definition Classes
- TripwiresT
-
def
update(calibration: String): Unit
update tripwire definitions for sensors
update tripwire definitions for sensors
- Definition Classes
- TripwiresT
-
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