Struct SaigeModelInfo
모델 정보가 담긴 구조체입니다.
Inherited Members
Namespace: SaigeVision.Net.Core.V2
Assembly: SaigeVision.Net.Core.V2.dll
Syntax
public struct SaigeModelInfo
Fields
View SourceclassColors
클래스 색상 코드입니다.
HTML 포맷의 색상 코드로, SaigeColorCodeToRGB API를 통해 RGB 값으로 변환할 수 있습니다.
Declaration
public char[] classColors
Field Value
| Type | Description |
|---|---|
| char[] |
classIsNg
클래스가 NG 클래스인지 나타냅니다.
Declaration
public bool[] classIsNg
Field Value
| Type | Description |
|---|---|
| bool[] |
classNames
클래스 이름입니다.
Declaration
public byte[] classNames
Field Value
| Type | Description |
|---|---|
| byte[] |
cropNumOfCols
(DET) 학습 시 사용된 데이터 전처리 모드가 crop_and_resize인 경우,
이미지를 크롭한 후 resize를 적용합니다.
이 때 크롭된 이미지의 열의 개수입니다.
Declaration
public int cropNumOfCols
Field Value
| Type | Description |
|---|---|
| int |
cropNumOfRows
(DET) 학습 시 사용된 데이터 전처리 모드가 crop_and_resize인 경우,
이미지를 크롭한 후 resize를 적용합니다.
이 때 크롭된 이미지의 행의 개수입니다.
Declaration
public int cropNumOfRows
Field Value
| Type | Description |
|---|---|
| int |
cropSizeHeight
(SEG) 학습 때 사용된 패치의 높이입니다.
추론 이미지와는 관련 없습니다.
Declaration
public int cropSizeHeight
Field Value
| Type | Description |
|---|---|
| int |
cropSizeWidth
(SEG) 학습 때 사용된 패치의 너비입니다.
추론 이미지와는 관련 없습니다.
Declaration
public int cropSizeWidth
Field Value
| Type | Description |
|---|---|
| int |
developerVersion
모델을 학습할 때 사용한 SaigeVision Developer의 버전입니다.
Declaration
public char[] developerVersion
Field Value
| Type | Description |
|---|---|
| char[] |
imageResizeHeight
(IAD) 인풋 이미지에 적용되는 리사이즈 높이입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public int imageResizeHeight
Field Value
| Type | Description |
|---|---|
| int |
imageResizeWidth
(IAD) 인풋 이미지에 적용되는 리사이즈 너비입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public int imageResizeWidth
Field Value
| Type | Description |
|---|---|
| int |
inputDataProcessingMode
(DET) 학습 시 사용된 데이터 전처리 모드입니다. resize, crop_and_resize 중 하나입니다.
구 버전에서 학습된 모델의 경우에는 resize 또는 crop이 될 수 있습니다.
resize인 경우에는 imageResizeWidth, imageResizeHeight 를 얻어올 수 있습니다.crop_and_resize인 경우에는 여기에 cropNumOfRows, cropNumOfCols 를 얻어올 수 있습니다.
Declaration
public IntPtr inputDataProcessingMode
Field Value
| Type | Description |
|---|---|
| IntPtr |
moduleVersion
모델을 학습할 때 사용한 SaigeVision Developer의 구성 요소 중 딥러닝 모듈의 버전입니다.
Declaration
public char[] moduleVersion
Field Value
| Type | Description |
|---|---|
| char[] |
networkType
어떤 종류의 딥러닝 네트워크를 사용했는지 나타냅니다.
네트워크 타입 중 (v1)으로 끝나는 것들은 SaigeVision 1.x.x 버전에서 사용되던 네트워크 타입을 뜻합니다.
(네트워크 종류가 동일할 뿐, 모델 파일이 호환되지는 않습니다).
IAD: Fast, Standard, Accurate
SEG: Fast, Standard, Accurate, Shallow(V1), Standard(V1), Deep(V1)
Declaration
public string networkType
Field Value
| Type | Description |
|---|---|
| string |
numOfClasses
클래스 개수입니다.
IAD: 2 (OK와 NG로 고정)
SEG: 사용자가 추가한 클래스 개수+1, 자동 할당된 OK 클래스 포함
Declaration
public int numOfClasses
Field Value
| Type | Description |
|---|---|
| int |
resizeFactor
(SEG) 인풋 이미지에 적용되는 리사이즈 비율입니다.
추론 이미지에도 동일하게 적용됩니다.
Declaration
public float resizeFactor
Field Value
| Type | Description |
|---|---|
| float |
roiInfo
ROI 정보입니다.
Declaration
public SaigeRoiInfo roiInfo
Field Value
| Type | Description |
|---|---|
| SaigeRoiInfo |
serverVersion
모델을 학습할 때 사용한 SaigeVision Developer의 구성 요소 중 서버의 버전입니다.
Declaration
public char[] serverVersion
Field Value
| Type | Description |
|---|---|
| char[] |
targetImageQuality
(IEN) 학습시 선택한 enhancement 품질입니다. high, ultra-high 중 하나입니다.
Declaration
public IntPtr targetImageQuality
Field Value
| Type | Description |
|---|---|
| IntPtr |
targetTextSize
(OCR) 이미지의 텍스트 박스의 height가 targetTextSize가 되도록 학습 단계에서 resize 배율을 자동으로 찾아줍니다.
Declaration
public int targetTextSize
Field Value
| Type | Description |
|---|---|
| int |
Properties
View Sourcedescription
학습 시 지정한 모델 설명 문구입니다.
Declaration
public IntPtr description { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
numOfIterations
학습을 진행한 반복 수 입니다.
Declaration
public IntPtr numOfIterations { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
numOfTrainImages
학습에 직접 사용한 이미지 수 입니다.
Declaration
public int numOfTrainImages { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
numOfValidationImages
학습과정에서 Validation에 사용한 이미지 수 입니다.
Declaration
public int numOfValidationImages { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
trainingTimeCompleted
학습이 종료된 시각을 나타내는 unix timestamp 값입니다.
Declaration
public long trainingTimeCompleted { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
trainingTimeElapsed
학습을 완료하는데 걸린 시간을 초로 나타낸 값입니다.
Declaration
public long trainingTimeElapsed { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
trainingTimeStarted
학습을 시작한 시각을 나타내는 unix timestamp 값입니다.
Declaration
public long trainingTimeStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
usedGpuName
학습 시 사용한 GPU의 이름입니다.
Declaration
public IntPtr usedGpuName { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr |