{ "mode": { "gpuEnable" : 1, "gpu_id" : 0 }, "num_threads" : 1, "port" : 8080, "models" : { "detect4pointsquare" : "/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-dsexample-OCR/data/wpod/detect_plate", "character_detection_416_YOLOX": "/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-dsexample-OCR/data/character_detection/character-detection-nano-416-16032022" }, "threshold": { "ocr": 0.3, "nms": 0.3, "detect": 0.7, "detect_size": 144.0, "min_width": 15, "wh_ratio": 2.0 }, "using_filter_ocr": true, "save_path": "../data", "save_img": true, "save_fail": true, "color_classify":{ "crop_plate":{ "long":[[10,70], [10,230]], "square":[[10,150], [10,230]] }, "red":{ "low":[[0, 70, 80], [10, 255, 255]], "up":[[150, 70, 80], [180, 255, 255]] }, "blue_min_thres":0.08, "blue":[[100, 90, 110], [125, 255, 255]], "blue_dark":[[100, 70, 80], [130, 100, 120]], "yellow":[[10, 100, 100], [60, 255, 255]], "gray": [[0, 0, 70], [180, 80, 255]], "white":[[0, 0, 0], [10, 120, 255]], "black": [[0, 0, 0], [180,255,55]], "black1": [[100, 100, 38], [130,255,50]] }, "prob_remove_trash": 0.9, "rules": { "head": { "enable": false, "rule": { "C": "0", "D": "0", "F": "", "G": "6", "H": "", "I": "1", "J": "1", "K": "", "L": "4", "M": "", "N": "", "P": "", "Q": "0", "R": "", "S": "5", "T": "", "U": "0", "V": "", "W": "", "X": "", "Y": "", "Z": "2" } }, "mid": { "enable": false, "rule": { "W": "N" } }, "tail": { "enable": false, "rule": { "A": "4", "B": "8", "C": "0", "D": "0", "E": "", "F": "", "G": "6", "H": "", "I": "1", "J": "1", "K": "", "L": "4", "M": "", "N": "", "O": "0", "P": "", "Q": "0", "R": "", "S": "5", "T": "", "U": "0", "V": "", "W": "", "X": "", "Y": "", "Z": "2" } } }, "save_logs_api": { "enable": false, "push_log": { "url": "http://localhost:4004", "api_log":"/logs", "method": "post" } }, "os": "windows", "timeout": 5, "open_door": { "enable": 2, "url": "http://192.168.0.11:2001/connect", "api_open_door":"/connect", "in": { "doorId": "1", "c3-ip": "192.168.1.204" }, "out": { "doorId": "2", "c3-ip": "192.168.1.206" } } }