EDeepLearningTool::GetOptimalNumImagesForBatchSize

Optimal number of images to process together for inference given the batch size and EDeepLearningTool::GetNumPatchesForImage.
In practice, for EasyClassify and EasyLocate, this is the same as the batch size.
For EasySegment, the value will depend on the scale, patch size and sampling density parameters.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

int GetOptimalNumImagesForBatchSize(
   const EBaseROI& sampleImage
)

int GetOptimalNumImagesForBatchSize(
   int imageWidth,
   int imageHeight
)

Parameters

sampleImage

Image for which to get the optimal number of images

imageWidth

Width of the image for which to get the optimal number of images

imageHeight

Height of the image for which to get the optimal number of images

EDeepLearningTool.GetOptimalNumImagesForBatchSize

Optimal number of images to process together for inference given the batch size and EDeepLearningTool::GetNumPatchesForImage.
In practice, for EasyClassify and EasyLocate, this is the same as the batch size.
For EasySegment, the value will depend on the scale, patch size and sampling density parameters.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

int GetOptimalNumImagesForBatchSize(
   Euresys.Open_eVision.EBaseROI sampleImage
)

int GetOptimalNumImagesForBatchSize(
   int imageWidth,
   int imageHeight
)

Parameters

sampleImage

Image for which to get the optimal number of images

imageWidth

Width of the image for which to get the optimal number of images

imageHeight

Height of the image for which to get the optimal number of images