Created
April 23, 2019 00:29
-
-
Save ivder/9f02f1e715bb308c4c67943e0a1fb4c8 to your computer and use it in GitHub Desktop.
Intel OpenVIno Classification header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "CommonDef.h" | |
#include "Utils.h" | |
#include <string> | |
typedef std::pair<string, float> Prediction; | |
class ClassificationWithIntelContext; | |
class ClassificationWithIntel { | |
public: | |
ClassificationWithIntel(string modelPath); | |
//~ClassificationWithIntel(); | |
ClassifyResultCNN Classify(string imagePath); | |
/*void SetPredictRate(float rate);*/ | |
private: | |
std::string IntelModelPath; | |
std::string IntelImagePath; | |
float predict_rate; | |
ClassificationWithIntelContext* ctx; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment