Class InspectionOption
추론 옵션 정보
Inheritance
object
InspectionOption
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2
Assembly: SaigeVision.Net.V2.dll
Syntax
public abstract class InspectionOption : IInspectionOption
Constructors
View SourceInspectionOption(bool, int)
생성자입니다
Declaration
public InspectionOption(bool calcTime, int batchSize)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | calcTime | 시간을 세분화하여 출력할지 여부 |
| int | batchSize | 추론을 한 번 수행할 때 추론하는 이미지의 개수 |
Properties
View SourceBatchSize
추론을 한 번 수행할 때 추론하는 이미지의 개수입니다.
추론 핸들 생성 시에 SaigeHandleConfig를 통해서만 설정할 수 있습니다.
Declaration
public int BatchSize { get; }
Property Value
| Type | Description |
|---|---|
| int |
CalcTime
추론 API 실행에 소요되는 시간을 세분화하여 출력할지 결정합니다.
true로 설정하면 이미지를 읽는 시간, 순수 딥러닝 추론 시간, 후처리 시간을 각각 확인할 수 있습니다.
false로 설정하면 추론 API 실행에 소요된 총 시간만을 확인할 수 있습니다.
true로 설정하면 전체 추론 시간이 느려질 수 있습니다. 실제 검사 시에는 false로 설정하는 것을 권장합니다.
Declaration
public bool CalcTime { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |