Ocean
Ocean Test CV Segmentation Library

The Ocean Test CV Segmentation Library provides several function to test the performance and validation of the computer vision segmentation functionalities. More...

Collaboration diagram for Ocean Test CV Segmentation Library:

Data Structures

class  Ocean::Test::TestCV::TestSegmentation::TestBinPacking
 This class implements test for bin packing. More...
 
class  Ocean::Test::TestCV::TestSegmentation::TestMaskAnalyzer
 This class implements a mask analyzer test. More...
 
class  Ocean::Test::TestCV::TestSegmentation::TestMaskCreator
 This class implements a mask analyzer test. More...
 

Functions

OCEAN_TEST_CV_SEGMENTATION_EXPORT bool Ocean::Test::TestCV::TestSegmentation::testCVSegmentation (const double testDuration, Worker &worker, const unsigned int width=1280u, const unsigned int height=720u, const std::string &testFunctions=std::string())
 Tests the entire Computer Vision Segmentation library. More...
 

Detailed Description

The Ocean Test CV Segmentation Library provides several function to test the performance and validation of the computer vision segmentation functionalities.

The library is platform independent.

Function Documentation

◆ testCVSegmentation()

OCEAN_TEST_CV_SEGMENTATION_EXPORT bool Ocean::Test::TestCV::TestSegmentation::testCVSegmentation ( const double  testDuration,
Worker worker,
const unsigned int  width = 1280u,
const unsigned int  height = 720u,
const std::string &  testFunctions = std::string() 
)

Tests the entire Computer Vision Segmentation library.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object
widthThe width of the test frame in pixel, with range [32, infinity)
heightThe height of the test frame in pixel, with range [32, infinity)
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded