This file contains hidden or 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
// Open CV 2.4.13 | |
#include <iostream> | |
#include <opencv2/opencv.hpp> | |
#include <opencv2/features2d/features2d.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/nonfree/features2d.hpp> | |
using namespace cv; | |
using namespace std; |
This file contains hidden or 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
#include <iostream> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/imgproc/imgproc.hpp> | |
using namespace std; | |
using namespace cv; | |
// 抽出する画像の輝度値の範囲を指定 | |
#define B_MAX 100 | |
#define B_MIN 0 | |
#define G_MAX 100 |
This file contains hidden or 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
#include <iostream> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/imgproc/imgproc.hpp> | |
using namespace std; | |
using namespace cv; | |
// 抽出する画像の輝度値の範囲を指定 | |
#define H_MAX 180 | |
#define H_MIN 160 | |
#define S_MAX 255 |
This file contains hidden or 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
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import os | |
from tensorflow.examples.tutorials.mnist import input_data | |
import tensorflow as tf | |
# Mnistに使うデータセットをインポートする |
This file contains hidden or 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
#include <kinect.h> | |
#include <iostream> | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
using namespace cv; | |
int main(int argc, char* argv[]) { | |
// (1) Sensorを開く | |
IKinectSensor* kinect; |
This file contains hidden or 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
#include <opencv2/dnn.hpp> | |
#include <opencv2/imgproc.hpp> | |
#include <opencv2/highgui.hpp> | |
#include <opencv2/core/utils/trace.hpp> | |
#include <fstream> | |
#include <iostream> | |
#include <cstdlib> | |
using namespace cv; | |
using namespace cv::dnn; | |
using namespace std; |
This file contains hidden or 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
#include <Windows.h> | |
#include <stdexcept> | |
#include <iostream> | |
#include <vector> | |
#include <string> | |
using namespace std; | |
// 入力フォルダ名の指定 | |
string INPUT_FOLDER_NAME = "./input_image/"; |
This file contains hidden or 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
#include <iostream> | |
#include <Windows.h> | |
#include <stdexcept> | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
using namespace cv; | |
string INPUT_FOLDER_NAME = "./input_image/"; | |
string OUTPUT_FOLDER_NAME = "./output_image/"; |
This file contains hidden or 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
#include <iostream> | |
#include <Windows.h> | |
#include <stdexcept> | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
using namespace cv; | |
string INPUT_FOLDER_NAME = "./input_image/"; | |
string OUTPUT_FOLDER_NAME = "./output_image/"; |
This file contains hidden or 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
#include <iostream> | |
#include <Windows.h> | |
#include <stdexcept> | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
using namespace cv; | |
#define PI 3.141592653589793 | |
string INPUT_FOLDER_NAME = "./input_image/"; |
OlderNewer