Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA-AI-IOT/deepstream_360_d_smart_parking_application
/ functions
Functions
199 in github.com/NVIDIA-AI-IOT/deepstream_360_d_smart_parking_application
⨍
Functions
199
◇
Types & classes
26
↓ 1 callers
Method
update_direction
[summary] Update the direction of the detection in ele by the given direction Arguments: ele {[dict]} -- detection in day2
tracker/code/mctrack/mctracker.py:1484
↓ 1 callers
Method
write_to_kafka
Write the tracked detections to kafka topic Arguments: json_list {list} -- the list of detections in day2 schema
tracker/code/mctrack/mctrackstream.py:280
↓ 1 callers
Method
xfer_attr_from_1vehicle
Transfer vehicle attributes such as license plate, make, color from one record (act_record) to all the records in the list (j
tracker/code/mctrack/mctracker.py:1102
Function
Aux
(props)
ui/src/Hoc/Auxiliary/Auxiliary.js:1
Method
__init__
Initialize Streaming MC tracker Arguments: in_kafkaservers {string} -- Input kafka bootstrap servers in_kafka
tracker/code/mctrack/mctrackstream.py:39
Method
__init__
Initialization Returns: None
tracker/code/mctrack/tracklog.py:29
Method
__init__
(self, config)
tracker/code/mctrack/mctracker.py:30
Method
__init__
Init method Arguments: config [dict] -- A dictionary that has the following keys a. "overlappig_camera_ids": This
tracker/code/mctrack/mctracker.py:53
Method
__init__
Init method Arguments: config [dict] -- A dictionary that has the following keys a. "overlappig_camera_i
tracker/code/mctrack/mctracker.py:134
Method
__init__
(self, lines_arr, max_point_dist=0.1)
tracker/code/network/networkhelper.py:20
Function
add_camera_attr_with_entry_exit
Based on entry and exit points, we assign entry and exit camearas Arguments: cameras_dict {dict} -- Dict of cameras cam_rtree {RT
tracker/code/geo/core/spatial.py:238
Function
add_graph_attr_to_entry_exit
Enhance the graph attributes for entry and exit points Arguments: entry_points {list} -- List of entry points kd_points {KDT
tracker/code/geo/core/spatial.py:63
Function
before
(app)
ui/config/webpackDevServer.config.js:84
Function
button
({bsStyle, bsSize, ...props})
ui/src/Component/UI/Button/Button.js:7
Function
check_timestamp
Function to check timestamp is valid Arguments: json_ele {dict} -- The detection dictionary as a day2 schema Returns: b
tracker/code/mctrack/validation.py:37
Function
componentDidMount
()
ui/src/App.js:24
Function
componentDidMount
()
ui/src/PageBuilder/HomeMap.js:103
Function
componentDidMount
()
ui/src/PageBuilder/SmartGaragePage/SmartGaragePage.js:52
Method
componentDidMount
()
ui/src/Component/Map/CarMarkers/CarMarkers.js:20
Method
componentDidMount
()
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:50
Method
componentDidMount
()
ui/src/Component/ListPanel/ListPanel.js:231
Method
componentDidMount
()
ui/src/Component/Video/StreamVideo/HLS.js:11
Method
componentDidMount
()
ui/src/Component/Capacity/Capacity.js:27
Function
componentDidUpdate
(prevState)
ui/src/PageBuilder/SmartGaragePage/SmartGaragePage.js:87
Method
componentDidUpdate
(prevProps, prevState)
ui/src/Component/Map/CarMarkers/CarMarkers.js:48
Method
componentDidUpdate
()
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:80
Method
componentDidUpdate
(prevProps, prevState)
ui/src/Component/ListPanel/ListPanel.js:280
Method
componentDidUpdate
()
ui/src/Component/Video/Video.js:30
Method
componentDidUpdate
(prevProps)
ui/src/Component/Video/StreamVideo/HLS.js:28
Function
componentWillReceiveProps
(nextProps)
ui/src/Component/Map/Map.js:62
Function
componentWillReceiveProps
(nextProps)
ui/src/PageBuilder/HomeMap.js:89
Method
componentWillReceiveProps
(newProps)
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:56
Function
componentWillUnmount
()
ui/src/App.js:40
Function
componentWillUnmount
()
ui/src/Component/Map/Map.js:76
Function
componentWillUnmount
()
ui/src/PageBuilder/SmartGaragePage/SmartGaragePage.js:97
Method
componentWillUnmount
()
ui/src/Component/Map/CarMarkers/CarMarkers.js:69
Method
componentWillUnmount
()
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:86
Method
componentWillUnmount
()
ui/src/Component/ListPanel/ListPanel.js:297
Method
componentWillUnmount
()
ui/src/Component/Capacity/Capacity.js:94
Method
constructor
(props, context)
ui/src/Component/Video/StreamVideo/HLS.js:6
Function
create_poly_dict
Create a polygon dictionary from a list of polygon points This can be used for one time creation of polygons so that we dont have to repe
tracker/code/mctrack/ioutils.py:86
Function
create_time_windows
This method will input a json list and resample the json list by timestamp It will return a ordered-dictionary where key is a timestamp resam
tracker/code/mctrack/trackerutils.py:35
Function
densify_graph
Densify the entire graph given by lines "currentgraph" Arguments: currentgraph {list} -- list of lines that make the current graph
tracker/code/euclidean/euchelper.py:116
Method
draw_network
Draw the network using matplotlib
tracker/code/network/networkhelper.py:402
Function
flip
(props)
ui/src/Component/Flip/Flip.js:11
Function
footer
(props)
ui/src/Component/Footer/Footer.js:13
Function
geo_distance_in_km
Get the distance in km between two (lng,lat) poinmts Arguments: pt1 {list} -- (lng,lat) of first point pt2 {list} -- (lng,la
tracker/code/geo/core/spatial.py:27
Function
geointerpolate
Interpolate on great sphere (world coords) Arguments: point0 {list} -- (lng,lat) of first point point1 {list} -- (lng,lat) of fir
tracker/code/geo/core/spatial.py:13
Function
get_angle_between_pts_on_sphere
Get the angle between two points on a sphere Arguments: the_pt1 {list} -- (lng,lat) of first point the_pt2 {list} -- (lng,la
tracker/code/geo/core/spatial.py:206
Function
get_camera
Get the sensor/camera id of the detection Arguments: json_ele {[dict]} -- Detection record in day2 schema Returns: [str
tracker/code/mctrack/trackerutils.py:181
Function
get_euc_dist
Get eucledian distance between two points pt1 and pt2 Note that we assume we pass flat earth coords (x,y) and (lng,lat), since eucledian
tracker/code/geo/core/spatial.py:126
Function
get_flat_earth_coord
Get the flat earth coordinates (x,y) from a given (lng,lat) point "pt". The (x,y) is the offset in lng and lat dimensions (in meters or km)
tracker/code/geo/core/spatial.py:107
Method
get_interpolated_path
Interpolate a path between st_pt and end_pt on the graph Arguments: st_pt {int} -- The id of the starting point
tracker/code/network/networkhelper.py:208
Function
get_lng_lat_coord
Get the (lng, lat) from a given eucledian point (x,y). The origin point is given by origin_lnglat in (longitude, latitude) format. We assume
tracker/code/geo/core/spatial.py:81
Function
get_max_camy_xy
Return the xy point with maximum y from the set of points Arguments: pts {list} -- List of (global_x,global_y, cam_x, cam_y) points
tracker/code/mctrack/trackerutils.py:131
Function
get_mean_xy
Return the mean xy point (x_mean, y_mean) from the set of points Arguments: pts {list} -- List of (x,y) points Returns:
tracker/code/mctrack/trackerutils.py:94
Function
get_median_xy
Return the median xy point (x_median, y_median) from the set of points Arguments: pts {list} -- List of (x,y) points Returns:
tracker/code/mctrack/trackerutils.py:112
Method
get_nearest_point_id
Get the first nearest point on the graph for a given "pt" Arguments: thept {[list]} -- [x,y] point Returns:
tracker/code/network/networkhelper.py:132
Function
get_obj_id_in_sensor
Get the object id value of a detected vehicle. The object id is a combination of the sensor id and the object id Arguments: json
tracker/code/mctrack/trackerutils.py:79
Function
get_obj_id_str
Get the object id value of a detected vehicle. The object id returned in this function is a string of the the object id (prefixed by some
tracker/code/mctrack/trackerutils.py:166
Function
get_origin
Get the origin point of all points (mean lng and lat) Arguments: pt_dict {[list]} -- list of all points Returns: list -
tracker/code/geo/core/spatial.py:220
Function
get_polygons_from_shape_file
Get all polygons from a given shape file Arguments: sh_file {[string]} -- The shapefile Returns: [list] -- list of polygons
tracker/code/geo/inout/shapefile.py:12
Function
get_polylines_from_shape_file
Get a list of polygon lines (polylines) from shapefile Arguments: sh_file {[string]} -- the shapefile name Returns:
tracker/code/geo/inout/shapefile.py:65
Function
get_radangle_flat_earth
Get the angle for two given points (in flat earth coords) Arguments: pt1 {list} -- (x,y) for the first point pt2 {list} -- (x,y)
tracker/code/geo/core/spatial.py:176
Function
get_radangle_flat_earth_old
Get the angle for two given points (in flat earth coords) Arguments: pt1 {list} -- (x,y) for the first point pt2 {list} -- (x,y)
tracker/code/geo/core/spatial.py:143
Function
get_random_lp
Generate a random license plate string (in standard California state style) Returns: [string] -- Random license plate string
tracker/code/mctrack/trackerutils.py:290
Function
get_timestamp_str
Return the string formatted timestamp for a given datetime object. We assume that the datetime object is in the UTC timezone Return format = '
tracker/code/mctrack/trackerutils.py:16
Function
get_vehicle_string
Get a string that describes a vehicle (in terms of its attributes). Currently it just returns the license plate. It can be extended to re
tracker/code/mctrack/trackerutils.py:304
Function
get_xy
Get the x and y values of a detected vehicle Arguments: json_ele {[dict]} -- Detection record in day2 schema Returns: [
tracker/code/mctrack/trackerutils.py:61
Function
groundOverlay
(props)
ui/src/Component/Map/GroundOverlay/GroundOverlay.js:5
Function
header
(props)
ui/src/Component/Header/Header.js:19
Function
ignore_bad_records
Function that ignores badly formatted json_list. This function should be called before other processing functions so that we do not crash on
tracker/code/mctrack/validation.py:57
Function
ignore_false_detections
There might be some areas where vehicle detections are to be ignored (e.g., because of a lot of FPs in those areas). This function remove
tracker/code/mctrack/ioutils.py:110
Function
interpolate_line
Interplolate a line between two points the_pt1 and the_pt2 with the given proportion Arguments: the_pt1 {list} -- the first point (x,
tracker/code/euclidean/euchelper.py:11
Function
is_aisle_rec
Returns if the given detection is of a vehicle is for a vehicle on aisle. The record is a aisle record if the "place" has a "aisle", "entrace
tracker/code/mctrack/trackerutils.py:268
Function
is_empty_spot_rec
Returns if the given detection is of a parking spot that is empty. The record is a parking spot record if the "place" has a "parkingSpot"
tracker/code/mctrack/trackerutils.py:231
Function
is_parked_rec
Returns if the given detection is of a vehicle parked record. The record is a parking spot record if the "place" has a "parkingSpot" element,
tracker/code/mctrack/trackerutils.py:213
Function
is_pulled_rec
Returns if the given detection is of a vehicle that has pulled from a parking spot. The record is a parking spot record if the "place" ha
tracker/code/mctrack/trackerutils.py:249
Function
is_spot_rec
Is the given detection a parking spot record? The record is a parking spot record if the "place" has a "parkingSpot" element, and if the even
tracker/code/mctrack/trackerutils.py:194
Function
item
(props)
ui/src/Component/ListPanel/Item/Item.js:10
Function
loader
(props)
ui/src/Component/UI/Loader/Loader.js:8
Function
logger
(message)
ui/config/webpack.config.prod.js:308
Function
poly_lines_to_lines
Convert a set of polylines to a simple lines (start and end points) Arguments: polyline_list {list} -- Set of polylines Returns:
tracker/code/geo/core/conversions.py:7
Function
read_json_list
Read jsons from a file. The file is assumed to contain jsons in day2 schema. Each line will have one record, and no empty or invalid line
tracker/code/mctrack/ioutils.py:57
Function
read_schema_and_infer
Function to read an entire json schema file and mctrack from it Returns: [list] -- List of Day2 schema dictionaries with tracked obj
tracker/code/mctrack/mctrackbatch.py:15
Function
register
()
ui/src/registerServiceWorker.js:22
Method
render
()
ui/src/Component/Map/CarMarkers/CarMarkers.js:73
Method
render
()
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:90
Method
render
()
ui/src/Component/Map/CameraMarker/CameraMarker.js:11
Method
render
()
ui/src/Component/ListPanel/ListPanel.js:305
Method
render
()
ui/src/Component/Video/StreamVideo/HLS.js:41
Method
render
()
ui/src/Component/Capacity/Capacity.js:102
Function
schema_validate
(record_str, day2_schema)
tracker/code/mctrack/validation.py:9
Function
shouldComponentUpdate
(nextState, nextProps)
ui/src/PageBuilder/HomeMap.js:114
Method
shouldComponentUpdate
(nextProps, nextState)
ui/src/Component/Map/CarMarkers/CarMarkers.js:43
Method
shouldComponentUpdate
(nextProps, nextState)
ui/src/Component/Map/CarMarkers/CarMarker/CarMarker.js:75
Function
signal_handler
Signal handler. This function will dump all tracker stats and exit Arguments: signum {int} -- The signal number frame {list} -- S
tracker/usecasecode/360d/stream_track.py:27
Function
start
(cb)
apis/initializers/server.js:42
Function
widget
(props)
ui/src/Component/Widget/Widget.js:9
← previous
101–199 of 199, ranked by callers