Skip to content

Instantly share code, notes, and snippets.

#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
#ifdef _DEBUG
#pragma comment(lib, "E:\\opencv300\\build\\x86\\vc11\\lib\\opencv_world300d.lib")
#else
#pragma comment(lib, "E:\\opencv300\\build\\x86\\vc11\\lib\\opencv_world300.lib")
#endif
#include "opencv2/opencv.hpp"
#include "opencv2/nonfree/nonfree.hpp"
//http://blog.livedoor.jp/hen_cyberne/archives/51072839.html
//http://whoopsidaisies.hatenablog.com/entry/2013/12/07/135810
using namespace cv;
using namespace std;
#include "opencv2/opencv.hpp"
#include <omp.h>
using namespace cv;
#if _DEBUG
#pragma comment(lib, "opencv_core248d.lib")
#pragma comment(lib, "opencv_highgui248d.lib")
#pragma comment(lib, "opencv_imgproc248d.lib")
#pragma comment(lib, "opencv_contrib248d.lib")
#else
#include "stdafx.h"
#include "GigECameraCap.h"
#include "opencv2/opencv.hpp"
#ifdef _DEBUG
#pragma comment(lib, "FlyCapture2d.lib")
#pragma comment(lib, "opencv_core248d.lib")
#pragma comment(lib, "opencv_highgui248d.lib")
#else
#include "stdafx.h"
#include "GigECameraCap.h"
using namespace FlyCapture2;
using namespace cv;
using namespace std;
void PrintBuildInfo()
{
#ifndef __GIGE_CAMERA_CAP_H__
#define __GIGE_CAMERA_CAP_H__
#include "FlyCapture2.h"
#include "opencv2\\opencv.hpp"
void PrintBuildInfo();
void PrintCameraInfo( FlyCapture2::CameraInfo* pCamInfo );
void PrintStreamChannelInfo( FlyCapture2::GigEStreamChannel* pStreamChannel );
void PrintError( FlyCapture2::Error error );
@dotchang
dotchang / ofxAssimpModelLoader.h
Created September 17, 2013 14:32
solve the meshHelper problem.
#pragma once
// ofDevCon
// Written by Anton Marini (http://vade.info)
// With massive help from Memo Akten for GL optimizing and pushing this faster than I expected
// Kyle McDonald and Arturo Castro for C++ nuances
// Lukasz Karluk additions Dec 2012.
// TODO:
// 1) Path issues - not all models:
@dotchang
dotchang / ofxAssimpModelLoader.cpp
Last active December 23, 2015 06:38
ofxAssimpModelLoader.cpp 2013/09/17 yoshi This code solves the meshHelper problem. It was related to meshes list. Instead of the meshes list, this code uses the node tree.
#include "ofxAssimpModelLoader.h"
#include "ofxAssimpUtils.h"
#include "assimp.h"
#include "aiScene.h"
#include "aiConfig.h"
#include "aiPostProcess.h"
ofxAssimpModelLoader::ofxAssimpModelLoader(){
scene = NULL;