forked from MulongXie/UIED
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,992 additions
and
718 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+128 Bytes
(100%)
detect_compo/lib_ip/__pycache__/block_division.cpython-35.pyc
Binary file not shown.
Binary file modified
BIN
+194 Bytes
(100%)
detect_compo/lib_ip/__pycache__/ip_detection.cpython-35.pyc
Binary file not shown.
Binary file modified
BIN
-3 Bytes
(100%)
detect_compo/lib_ip/__pycache__/ip_preprocessing.cpython-35.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |