MCPcopy Create free account

hub / github.com/RobertLucian/cortex-license-plate-reader-client / functions

Functions62 in github.com/RobertLucian/cortex-license-plate-reader-client

↓ 8 callersMethodqsize
Reliable implementation of multiprocessing.Queue.qsize()
utils/queue.py:70
↓ 6 callersMethodwrite
(self, buf)
broadcast.py:30
↓ 4 callersMethod__init__
queue - Queue to remove the elements from when the threshold is triggered. threshold - Number of elements. name - Name of the
workers.py:495
↓ 3 callersMethodget
(self, *args, **kwargs)
utils/queue.py:64
↓ 3 callersFunctionimage_to_jpeg_bytes
(image, quality=[int(cv2.IMWRITE_JPEG_QUALITY), 95])
utils/image.py:38
↓ 3 callersMethodput
(self, *args, **kwargs)
utils/queue.py:60
↓ 3 callersFunctionresize_image
(image, desired_width)
utils/image.py:7
↓ 3 callersMethodstop
(self)
app.py:81
↓ 2 callersFunctionget_color
Return a color from a set of predefined colors. Contains 80 colors in total. code originally from https://github.com/fizyr/keras-retinanet/ A
utils/colors.py:4
↓ 2 callersFunctionimage_to_jpeg_nparray
(image, quality=[int(cv2.IMWRITE_JPEG_QUALITY), 95])
utils/image.py:33
↓ 2 callersMethodincrement
Increment the counter by n (default = 1)
utils/queue.py:25
↓ 2 callersMethodpull_and_push
Get new frame and push it in the broadcaster's little buffer for stabilization.
workers.py:130
↓ 2 callersMethodscale_bbox
Scale a bounding box.
workers.py:375
↓ 2 callersMethodstop
Stop all workers and the process altogether.
app.py:126
↓ 1 callersFunctioncompress_image
(image, grayscale=True, desired_width=416, top_crop_percent=0.45)
utils/image.py:16
↓ 1 callersFunctiondraw_boxes
(image, boxes, overlay_text, labels, obj_thresh, quiet=True)
utils/bbox.py:34
↓ 1 callersMethodget_label
(self)
utils/bbox.py:21
↓ 1 callersMethodget_queues
Retrieve all queues.
app.py:135
↓ 1 callersMethodget_score
(self)
utils/bbox.py:27
↓ 1 callersFunctionimage_from_bytes
(byte_im)
utils/image.py:27
↓ 1 callersFunctionmain
(config)
app.py:149
↓ 1 callersMethodpick_new_frame
Get the oldest frame from the buffer that isn't older than the last broadcasted frame.
workers.py:163
↓ 1 callersMethodpurge_stale_frames
Remove any frames older than the latest broadcasted frame.
workers.py:153
↓ 1 callersMethodrcnn_api_request
Make a request to the CRNN API.
workers.py:427
↓ 1 callersMethodreassemble
Main method to run in the loop.
workers.py:108
↓ 1 callersMethodreorder_recognized_words
Reorder the detected words in each image based on the average horizontal position of each word. Sorting them in ascending order.
workers.py:462
↓ 1 callersMethodreset
Reset the counter to 0
utils/queue.py:30
↓ 1 callersMethodstatistics
A bunch of RTT and detection/recognition statistics. Not used.
workers.py:201
↓ 1 callersMethodstop
Stop the thread.
gps.py:100
↓ 1 callersMethodwrite
Mandatory custom output method for the PiCamera class. buf - Frame as a bytes object.
app.py:115
↓ 1 callersMethodyolov3_api_request
Make a request to the YOLOv3 API.
workers.py:388
Method__init__
(self, event_stopper, name=None, runnable=None)
workers.py:25
Method__init__
(self, event_stopper, name=None, runnable=None)
workers.py:43
Method__init__
in_queue - Queue from which to extract the frames with the overlayed predictions on top of it. cfg - The dictionary config for the br
workers.py:65
Method__init__
event_stopper - Event to stop the worker. in_queue - Queue that holds the unprocessed frames. bc_queue - Queue to push into t
workers.py:226
Method__init__
(self)
broadcast.py:25
Method__init__
(self)
app.py:38
Method__init__
name - Name of the process. worker - Derived class of thread to execute. pool_size - Number of workers to have.
app.py:51
Method__init__
pool_cfg - Configuration dictionary for the pool manager. worker_cfg - Configuration dictionary for the pool workers.
app.py:93
Method__init__
write_port - The serial port to use for activating the GPS. read_port - The serial port from which to read the GPS data. baud
gps.py:16
Method__init__
(self, xmin, ymin, xmax, ymax, c=None, classes=None)
utils/bbox.py:9
Method__init__
(self, n=0)
utils/queue.py:22
Method__init__
(self, *args, **kwargs)
utils/queue.py:55
Methodcloud_infer
Main method that runs in the loop.
workers.py:246
Methoddo_GET
(self)
broadcast.py:43
Methodempty
Reliable implementation of multiprocessing.Queue.empty()
utils/queue.py:74
Methodexit_gracefully
(self, signum, frame)
app.py:42
Methodflush_pipe
Main method to run in the loop.
workers.py:506
Methodlambda_func
()
workers.py:87
Methodlatitude
Returns latitude expressed as a float.
gps.py:73
Methodlongitude
Returns longitude expressed as a float.
gps.py:87
Methodparsed
Get the whole parsed data.
gps.py:59
Functionresults_writer
()
app.py:204
Methodrun
(self)
workers.py:30
Methodrun
(self)
workers.py:48
Methodrun
(self)
workers.py:85
Methodrun
(self)
app.py:64
Methodrun
(self)
gps.py:30
Methodset_output
(output)
broadcast.py:79
Methodstop
(self)
workers.py:38
Methodstop
(self)
workers.py:56
Methodvalue
Return the value of the counter
utils/queue.py:36