Enumerations | |
enum | InferenceNetworkType { DETECTION , CLASSIFICATION } |
enum | FileUploadPersistence { FLASH , DDR } |
Functions | |
const std::vector< std::string > | labelClassification (arrayLabelClassification, end(arrayLabelClassification)) |
const std::vector< std::string > | labelDetection (arrayLabelDetection, end(arrayLabelDetection)) |
int | PrintDeviceInfo (INodeMap &nodeMap) |
bool | CameraDeleteFile (INodeMap &nodeMap) |
bool | CameraOpenFile (INodeMap &nodeMap) |
bool | CameraWriteToFile (INodeMap &nodeMap) |
bool | CameraCloseFile (INodeMap &nodeMap) |
std::vector< char > | LoadFileIntoMemory (const string &filename) |
int | UploadFileToCamera (INodeMap &nodeMap, const std::string &fileSelectorEntryName, const std::string &filePath) |
int | DeleteFileOnCamera (INodeMap &nodeMap, const std::string &fileSelectorEntryName) |
int | SetChunkEnable (INodeMap &nodeMap, const gcstring &entryName, const bool enable) |
int | ConfigureChunkData (INodeMap &nodeMap) |
int | DisableChunkData (INodeMap &nodeMap) |
int | DisplayChunkData (const ImagePtr pImage) |
int | DisableTrigger (INodeMap &nodeMap) |
int | ConfigureTrigger (INodeMap &nodeMap) |
int | ConfigureInference (INodeMap &nodeMap, bool isEnabled) |
int | ConfigureTestPattern (INodeMap &nodeMap, bool isEnabled) |
int | AcquireImages (const CameraPtr &pCam, INodeMap &nodeMap, INodeMap &nodeMapTLDevice) |
int | RunSingleCamera (const CameraPtr &pCam) |
int | main (int, char **) |
Variables | |
const InferenceNetworkType | chosenInferenceNetworkType = CLASSIFICATION |
const FileUploadPersistence | chosenFileUploadPersistence = DDR |
const std::string | networkFilePath |
const std::string | injectedImageFilePath |
const unsigned int | injectedImageWidth = (chosenInferenceNetworkType == CLASSIFICATION ? 640 : 720) |
const unsigned int | injectedImageHeight = (chosenInferenceNetworkType == CLASSIFICATION ? 400 : 540) |
const char * | arrayLabelClassification [] = {"daisy", "dandelion", "roses", "sunflowers", "tulips"} |
const char * | arrayLabelDetection [] |
enum InferenceNetworkType |
int AcquireImages | ( | const CameraPtr & | pCam, |
INodeMap & | nodeMap, | ||
INodeMap & | nodeMapTLDevice | ||
) |
bool CameraCloseFile | ( | INodeMap & | nodeMap | ) |
bool CameraDeleteFile | ( | INodeMap & | nodeMap | ) |
bool CameraOpenFile | ( | INodeMap & | nodeMap | ) |
bool CameraWriteToFile | ( | INodeMap & | nodeMap | ) |
int ConfigureChunkData | ( | INodeMap & | nodeMap | ) |
int ConfigureInference | ( | INodeMap & | nodeMap, |
bool | isEnabled | ||
) |
int ConfigureTestPattern | ( | INodeMap & | nodeMap, |
bool | isEnabled | ||
) |
int ConfigureTrigger | ( | INodeMap & | nodeMap | ) |
int DeleteFileOnCamera | ( | INodeMap & | nodeMap, |
const std::string & | fileSelectorEntryName | ||
) |
int DisableChunkData | ( | INodeMap & | nodeMap | ) |
int DisableTrigger | ( | INodeMap & | nodeMap | ) |
int DisplayChunkData | ( | const ImagePtr | pImage | ) |
const std::vector< std::string > labelClassification | ( | arrayLabelClassification | , |
end(arrayLabelClassification) | |||
) |
const std::vector< std::string > labelDetection | ( | arrayLabelDetection | , |
end(arrayLabelDetection) | |||
) |
std::vector< char > LoadFileIntoMemory | ( | const string & | filename | ) |
int main | ( | int | , |
char ** | |||
) |
int PrintDeviceInfo | ( | INodeMap & | nodeMap | ) |
int RunSingleCamera | ( | const CameraPtr & | pCam | ) |
int SetChunkEnable | ( | INodeMap & | nodeMap, |
const gcstring & | entryName, | ||
const bool | enable | ||
) |
int UploadFileToCamera | ( | INodeMap & | nodeMap, |
const std::string & | fileSelectorEntryName, | ||
const std::string & | filePath | ||
) |
const char* arrayLabelClassification[] = {"daisy", "dandelion", "roses", "sunflowers", "tulips"} |
const char* arrayLabelDetection[] |
const FileUploadPersistence chosenFileUploadPersistence = DDR |
const InferenceNetworkType chosenInferenceNetworkType = CLASSIFICATION |
const std::string injectedImageFilePath |
const unsigned int injectedImageHeight = (chosenInferenceNetworkType == CLASSIFICATION ? 400 : 540) |
const unsigned int injectedImageWidth = (chosenInferenceNetworkType == CLASSIFICATION ? 640 : 720) |
const std::string networkFilePath |