numiner
1.0.0
설치 • 사용 방법 • 시트 • 기여 • 라이센스
필기 텍스트 인식 관련 연구를위한 교육 데이터 세트와 같은 MNIST를 만드는 파이썬 라이브러리입니다.
패키지 관리자 PIP를 사용하여 Numiner를 설치하십시오.
$ pip install numiner패키지 관리자 PIPENV를 사용하여 Numiner를 설치하십시오.
$ pipenv install numiner패키지 관리자시를 사용하여 Numiner를 설치하십시오.
$ poetry add numiner 일반적으로 패키지에는 두 가지 주요 모드가 있습니다. 하나는 sheet 이고 다른 하나는 letter 입니다.
sheet - <source> 라는 경로를 스캔 한 모든 시트 이미지 또는 실제 이미지 경로를 보유하는 폴더로 가져 가서 <result> 경로에 처리 된 이미지를 저장합니다.
$ numiner -s/--sheet < source > < result > letter <source> 라는 경로를 잘라낸 원시 이미지 또는 실제 이미지 경로를 보유하고있는 폴더로 가져 가서 <result> 경로에 처리 된 이미지를 저장합니다.
$ numiner -l/--letter < source > < result > 또한 json 파일을 제공하여 기본 시트 레이블을 대체 할 수 있습니다.
$ numiner --labels path/to/labels.json -s path/to/source path/to/result확실히 당신은 이것을 할 수 있습니다 :
$ numiner --help
usage: numiner [-h] [-v] [-s < source > < result > ] [-l < source > < result > ] [-c < path > ]
optional arguments:
-h, --help show this help message and exit
-v, --version show program ' s version number and exit
--clean <path>
-s/--sheet <source> <result> a path to a folder or file that ' s holding the < source >
sheet image(s) & a path to a folder where all < result >
images will be saved
-l/--letter < source > < result > a path to a folder or a file that ' s holding the cropped
image(s) & a path to a folder where all <result> images
will be saved
--labels <path> a path to .json file that ' s holding top to bottom, left
to right labels of the sheet with their ids$ numiner convert --help
usage: numiner convert [-h] -p < src > < dest > SIZE RATIO
positional arguments:
SIZE number of images that each class contains
RATIO test, train or percentage of the test data
in that case the rest of it will become
train data
optional arguments:
-h, --help show this help message and exit
-p < src > < dest > , --paths < src > < dest >
source and destination paths
여기에서 빈 시트 파일을 얻을 수도 있습니다.

Emnist가 NIST SD 이미지에서 데이터 세트를 처음 만들 때 사용한 것과 동일한 접근 방식을 따랐습니다.




풀 요청을 환영합니다. 주요 변경 사항을 위해 먼저 문제를 열어 변경하고 싶은 것을 논의하십시오.
테스트를 적절하게 업데이트하십시오.
이 프로젝트가 어떻게 생겨 났는지에 대한 자세한 내용을 보려면 내 논문 보고서를 확인할 수 있습니다.
MIT