2using System.Collections.Generic;
8using System.Threading.Tasks;
32 InitializeComponent();
43 InitializeComponent();
46 private void dispose()
66 throw new Exception(
"You must specify the 'Fields' property with a value greater than 0.");
69 throw new Exception(
"You must specify the 'Depth' property with a value greater than 0.");
71 m_mgrPreprocessor.Initialize(strPreProcessorDLLPath, nFields, nDepth);
81 throw new NotImplementedException();
88 public void Reset(
int nStartOffset = 0)
90 m_mgrPreprocessor.Reset(nStartOffset);
98 if (m_mgrPreprocessor !=
null)
100 m_mgrPreprocessor.Dispose();
101 m_mgrPreprocessor =
null;
113 return m_mgrPreprocessor.Step(bGetSimpleDatum, nWait);
Specifies a key-value pair of properties.
int GetPropertyAsInt(string strName, int nDefault=0)
Returns a property as an integer value.
The SimpleDatum class holds a data input within host memory.
The MgrPreprocessor manages the operations of the data pre-processor.
The MyCaffeDataPreprocessor handles adding data from a streaming database to the GPU and then pre-pro...
Tuple< Bitmap, SimpleDatum > Render(SimpleDatum sd)
Create and return the visualization data.
MyCaffeDataPreprocessor(IContainer container)
The constructor.
void Shutdown()
Shutdown the preprocessor.
Tuple< Blob< T >, SimpleDatum > Step(bool bGetSimpleDatum, int nWait=1000)
Step to the next data in the streaming database and process it.
void Reset(int nStartOffset=0)
Reset to the start of the data set, or to an offset from the start.
MyCaffeDataPreprocessor()
The constructor.
void Initialize(IXMyCaffe< T > imycaffe, IXStreamDatabase idb, string strPreProcessorDLLPath, PropertySet properties)
Initialize the Data Processor.
The Component class is a standard Microsoft.NET class that implements the IComponent interface and is...
The IXMyCaffe interface contains functions used to perform MyCaffe operations that work with the MyCa...
The IXStreamDatabase interface is the main interface to the MyCaffe Streaing Database.
The IXPreprocessor interface is used to query pre-processed data from a streaming database.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe.common namespace contains common MyCaffe classes.
The MyCaffe.db.stream namespace contains all data streaming related classes.
The MyCaffe.preprocessor namespace contains all classes of the data preprocessors supported by MyCaff...
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...