Example for using the videosource dcam and converting images
- Author
- MIP
#include <Image/Camera.hh>
#include <Base/Image/ImageConvert.hh>
#include <Base/Image/ImageIO.hh>
#include <VideoSource/VideoSource_DCAM.hh>
using namespace BIAS;
using namespace std;
#include <Base/Debug/TimeMeasure.hh>
int main(int argc, char *argv[])
{
int res = -1;
if (res <0) {
cerr<<" Can not open camera on bus "<<res<<endl;
exit(1);
}
for(int i=0; i<10;i++){
stringstream ss;
ss << "cam_" << i;
stringstream ss2;
ss2 << "cam2_" << i;
}
cout <<"Write finished, closing cameras"<<endl;
return 0;
}