View recog.cpp
#include <iostream>
#include <vector>
#include <opencv2/opencv.hpp>
#include <opencv2/face.hpp>
int main( int argc, char* argv[] )
{
// Read Image
cv::Mat image = cv::imread( "image.jpg", cv::IMREAD_GRAYSCALE );
View FreeType.2.7.0.md
View HarfBuzz.1.3.4.md
View CMakeLists.txt
cmake_minimum_required( VERSION 3.6 )
# Create Project
project( test )
add_executable( freetype main.cpp )
# Set StartUp Project
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "freetype" )
# Set CharacterSet
View CMakeSettings.json
{
"configurations": [
{
"name": "Visual Studio 15 2017 (x86)",
"generator": "Visual Studio 15 2017",
"variables": [
{
"name": "OpenCV_DIR",
"value": "C:\\Program Files\\opencv\\build"
}
View info.h
/*
BuildInformation info;
std::string value = info.getValue( "JPEG" );
std::cout << value << std::endl; // build (ver 90)
*/
#ifndef __BUILD_INFORMATION__
#define __BUILD_INFORMATION__
#include <string>
View main.cpp
/*
// Retrieve Body Data
IBody* bodies[BODY_COUNT];
ERROR_CHECK( bodyFrame->GetAndRefreshBodyData( BODY_COUNT, &bodies[0] ) );
// Find Closest Body
const int count = findClosestBody( bodies );
// Retrieve Closest Body
IBody* body = bodies[count];
View main.cpp
#include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
#include <functional>
//#include <ppl.h>
//#include <concurrent_vector.h>
#include <opencv2/opencv.hpp>
// opencv/samples/gpu/tick_meter.hpp
View CMakeLists.txt
cmake_minimum_required( VERSION 3.6 )
# Create Project
project( solution )
add_executable( project main.cpp )
# Set StartUp Project
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" )
# Find Package
View main.cpp
#include <vector>
#include <cmath>
#include <opencv2/opencv.hpp>
#include <opencv2/plot.hpp>
int main( int argc, char* argv[] )
{
// Initialize Data
std::vector<double> sine;
for( int t = 0; t < 360; t++ ){