This file contains 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 <stdio.h> | |
enum header_type | |
{ | |
TYPE1 = 15, | |
TYPE2 = 16, | |
TYPE3 = 17, | |
TYPE_END = 22, | |
}; |
This file contains 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
/** | |
* @brief Mapping functions from Eigen data types to OpenCV | |
* @author Eugene Khvedchenya <ekhvedchenya@gmail.com> | |
* @details This header file contains code snippet for easy mapping Eigen types to OpenCV and back with minimal overhead. | |
* @more computer-vision.talks.com/articles/mapping-eigen-to-opencv/ | |
* Features: | |
* - Mapping plain data types with no overhead (read/write access) | |
* - Mapping expressions via evaluation (read only acess) | |
* | |
* Known issues: |
This file contains 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
enum { LOCAL=1, READ_ONLY=2, WRITE_ONLY=4, READ_WRITE=6, CONSTANT=8, PTR_ONLY = 16, NO_SIZE=256 }; |
This file contains 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
// a 2-d mat | |
cv::Mat mat1(2,2,CV_8UC1); | |
int sz[] = {2,3,4}; | |
// a 3-d mat | |
cv::Mat mat2(3, sz, CV_8UC1); | |
cv::UMat m1 = mat1.getUMat(cv::ACCESS_RW); |
This file contains 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
//File comment | |
/** | |
* @file headerfile.h | |
* @author my name | |
* @date 31 Mar 2017 | |
* @brief A bried description of headfile.h | |
* | |
* A more detailed descriptions goes here. | |
* Bla bla | |
* bla bla |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <linux/auxvec.h> | |
static unsigned long *getauxv(char **env) { | |
while (*env++ != NULL) { | |
/* nop */ | |
} | |
return (void*)env; |
This file contains 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
// _ooOoo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// O\ = /O | |
// ____/`---'\____ | |
// . ' \\| |// `. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ | |
// | | \\\ - /// | | |
This file contains 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
#!/bin/bash | |
echo "removeing evaluation key" | |
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key | |
echo "resetting evalsprt in options.xml" | |
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml | |
echo "resetting evalsprt in prefs.xml" | |
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml |
This file contains 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
macserver:build_device iley$ SDK_VERSION=4.3 ../opencv_cmake.sh device ../OpenCV-2.1.0 | |
Starting cmake... | |
Target SDK = iPhoneOS | |
iOS SDK Version = 4.3 | |
iOS Deployment Target = 3.0 | |
OpenCV Root = ../OpenCV-2.1.0 | |
OpenCV Install Prefix = /Users/iley/Sources/iphone_opencv_test/build_device/../opencv_device | |
-- The C compiler identification is GNU | |
-- The CXX compiler identification is GNU |
This file contains 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
HEAD is now at c48807c Merge pull request #9418 from borisfom:cuda9 | |
-- The CXX compiler identification is GNU 4.8.4 | |
-- The C compiler identification is GNU 4.8.4 | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info |
OlderNewer