Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. [common]
  2.  
  3. ; Specify the path to the runtime data directory, bellow you can see how it is configured to the sample application
  4. runtime_dir = /data/data/be.henallux.myapplication/runtime_data
  5.  
  6. ocr_img_size_percent = 1.33333333
  7. state_id_img_size_percent = 2.0
  8.  
  9. ; Calibrating your camera improves detection accuracy in cases where vehicle plates are captured at a steep angle
  10. ; Use the openalpr-utils-calibrate utility to calibrate your fixed camera to adjust for an angle
  11. ; Once done, update the prewarp config with the values obtained from the tool
  12. prewarp =
  13.  
  14. ; detection will ignore plates that are too large. This is a good efficiency technique to use if the
  15. ; plates are going to be a fixed distance away from the camera (e.g., you will never see plates that fill
  16. ; up the entire image
  17. max_plate_width_percent = 100
  18. max_plate_height_percent = 100
  19.  
  20. ; detection_iteration_increase is the percentage that the LBP frame increases each iteration.
  21. ; It must be greater than 1.0. A value of 1.01 means increase by 1%, 1.10 increases it by 10% each time.
  22. ; So a 1% increase would be ~10x slower than 10% to process, but it has a higher chance of landing
  23. ; directly on the plate and getting a strong detection
  24. detection_iteration_increase = 1.1
  25.  
  26. ; The minimum detection strength determines how sure the detection algorithm must be before signaling that
  27. ; a plate region exists. Technically this corresponds to LBP nearest neighbors (e.g., how many detections
  28. ; are clustered around the same area). For example, 2 = very lenient, 9 = very strict.
  29. detection_strictness = 3
  30.  
  31. ; The detection doesn't necessarily need an extremely high resolution image in order to detect plates
  32. ; Using a smaller input image should still find the plates and will do it faster
  33. ; Tweaking the max_detection_input values will resize the input image if it is larger than these sizes
  34. ; max_detection_input_width/height are specified in pixels
  35. max_detection_input_width = 1280
  36. max_detection_input_height = 720
  37.  
  38. ; detector is the technique used to find license plate regions in an image. Value can be set to
  39. ; lbpcpu - default LBP-based detector uses the system CPU
  40. ; lbpgpu - LBP-based detector that uses Nvidia GPU to increase recognition speed.
  41. ; lbpopencl - LBP-based detector that uses OpenCL GPU to increase recognition speed. Requires OpenCV 3.0
  42. ; morphcpu - Experimental detector that detects white rectangles in an image. Does not require training.
  43. detector = lbpcpu
  44.  
  45. ; If set to true, all results must match a postprocess text pattern if a pattern is available.
  46. ; If not, the result is disqualified.
  47. must_match_pattern = 0
  48.  
  49. ; Bypasses plate detection. If this is set to 1, the library assumes that each region provided is a likely plate area.
  50. skip_detection = 0
  51.  
  52. ; Specifies the full path to an image file that constrains the detection area. Only the plate regions allowed through the mask
  53. ; will be analyzed. The mask image must match the resolution of your image to be analyzed. The mask is black and white.
  54. ; Black areas will be ignored, white areas will be searched. An empty value means no mask (scan the entire image)
  55. detection_mask_image =
  56.  
  57. ; OpenALPR can scan the same image multiple times with different randomization. Setting this to a value larger than
  58. ; 1 may increase accuracy, but will increase processing time linearly (e.g., analysis_count = 3 is 3x slower)
  59. analysis_count = 1
  60.  
  61. ; OpenALPR detects high-contrast plate crops and uses an alternative edge detection technique. Setting this to 0.0
  62. ; would classify ALL images as high-contrast, setting it to 1.0 would classify no images as high-contrast.
  63. contrast_detection_threshold = 0.3
  64.  
  65. max_plate_angle_degrees = 15
  66.  
  67. ocr_min_font_point = 6
  68.  
  69. ; Minimum OCR confidence percent to consider.
  70. postprocess_min_confidence = 65
  71.  
  72. ; Any OCR character lower than this will also add an equally likely
  73. ; chance that the character is incorrect and will be skipped. Value is a confidence percent
  74. postprocess_confidence_skip_level = 80
  75.  
  76.  
  77. debug_general = 1
  78. debug_timing = 1
  79. debug_detector = 1
  80. debug_prewarp = 1
  81. debug_state_id = 1
  82. debug_plate_lines = 1
  83. debug_plate_corners = 1
  84. debug_char_segment = 1
  85. debug_char_analysis = 1
  86. debug_color_filter = 1
  87. debug_ocr = 1
  88. debug_postprocess = 1
  89. debug_show_images = 1
  90. debug_pause_on_frame = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement