개정판 2be622f5
isssue #000: dev minor tools
Change-Id: I81e8602fe668fb39db8fef978fd4ed27e9a0d02b
minorTools/deleteBorder.py | ||
---|---|---|
1 | 1 |
import numpy as np |
2 | 2 |
import cv2, os |
3 | 3 |
|
4 |
rootPath = 'X:\CPChem\drawings'
|
|
4 |
rootPath = 'C:\\Users\\HA\Desktop\\ID2\\drawings'
|
|
5 | 5 |
imgList = os.listdir(rootPath) |
6 | 6 |
|
7 |
startX, startY, endX, endY = [417, 3727, 7723], \
|
|
8 |
[5815, 5534, 5262], \
|
|
9 |
[9374, 9374, 9374], \
|
|
10 |
[6096, 6096, 6096]
|
|
7 |
startX, startY, endX, endY = [7376], \
|
|
8 |
[5830], \
|
|
9 |
[9246], \
|
|
10 |
[6733]
|
|
11 | 11 |
|
12 | 12 |
print('start') |
13 | 13 |
|
내보내기 Unified diff