mirror of
https://github.com/leigest519/ScreenCoder.git
synced 2026-02-13 02:02:48 +00:00
Initial commit
This commit is contained in:
19
UIED/logs/cfg-for-web.txt
Normal file
19
UIED/logs/cfg-for-web.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Testing image: data/input/9.png
|
||||
|
||||
1. detect_compo/ip_region_proposal.py
|
||||
# smaller minarea 50 -> 25
|
||||
line 70: uied_params = {'param-grad':5, 'param-block':5, 'param-minarea':25}
|
||||
|
||||
2. detect_compo/lib_ip/ip_detection.py
|
||||
line 289-290 comment: # remove filter of aspect ratio
|
||||
line 342-344 comment: # remove is_line check
|
||||
|
||||
3. detect_text_east/lib_east/eval.py
|
||||
# smaller max_word_gap 10 -> 5
|
||||
line 52: def merge_text(corners, max_word_gad=5) #
|
||||
|
||||
4. merge.py
|
||||
# smaller horizontal max gap to merge lines (6,0) -> (4,0)
|
||||
line 199 max_gap=(4,0)
|
||||
# smaller vertical max gap to merge paragraph (0,6) -> (0,4)
|
||||
line 202 max_gap=(0,6)
|
||||
22
UIED/logs/log.txt
Normal file
22
UIED/logs/log.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
16:10 8/7/2020
|
||||
- Synchronized with Webapp.
|
||||
- Add image inspection.
|
||||
- Used No-line v1.
|
||||
- No-line v2 requires bug fix with consideration of gap.
|
||||
|
||||
|
||||
11:00 23/7/2020
|
||||
- Synchronized with Webapp.
|
||||
|
||||
10:53 4/8/2020
|
||||
- Synchronized with Webapp.
|
||||
|
||||
7/10/2020
|
||||
- Extract parameters as configurable
|
||||
|
||||
30/10/2020
|
||||
- Speed optimization (500% boost)
|
||||
|
||||
11/11/2020
|
||||
- Revise rm_line
|
||||
- Add adjustable track bar testing
|
||||
12
UIED/logs/speed-improvement.txt
Normal file
12
UIED/logs/speed-improvement.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Optimization:
|
||||
1. ip_preprocessing.py / gray_to_gradient : 0.5s -> 0.02s
|
||||
|
||||
2. ip_draw.py / draw_bounding_box : if not show and write_path is None: return : 0.005s -> 0s
|
||||
|
||||
3. ip_detection.py / component_detection : if ff[0] < min_obj_area: continue : 2.5s -> 0.3s
|
||||
|
||||
4. ip_detection.py / component_detection : cv2.findNonZero : 0.65s -> 0.33s
|
||||
|
||||
5. block_division.py / block_division : if ff[0] < 500 : continue: 1.97s -> 1s
|
||||
|
||||
6. block_division.py / block_division : Turn off draw : 1s -> 0.65s
|
||||
Reference in New Issue
Block a user