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
#ifndef __LEGACY_ML_PARAMS_DEFINED__ | |
#define __LEGACY_ML_PARAMS_DEFINED__ | |
#include "opencv2/ml.hpp" | |
namespace cv { namespace ml { | |
template <typename T> | |
class MLParams | |
{ |
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
#define CV_VFP 1 | |
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__) | |
// #define CV_VFP 1 | |
#endif | |
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__ || defined __ARM_NEON__) && !defined __SOFTFP__ | |
// #define CV_VFP 1 | |
#endif |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'> | |
<title>Mail Filters</title> | |
<id>tag:mail.google.com,2008:filters:1437465402971</id> | |
<updated>2015-07-21T07:57:20Z</updated> | |
<author> | |
<name>Maksim Shabunin</name> | |
</author> | |
<entry> | |
<category term='filter'></category> |
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 <opencv2/imgcodecs/imgcodecs.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <mach/mach.h> | |
#include <iostream> | |
#include <ctime> | |
using namespace std; | |
int main() |
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 <vector> | |
#include <stdio.h> | |
#include <opencv2/opencv.hpp> | |
using namespace cv; | |
using namespace std; | |
void createAlphaMat(Mat &mat) | |
{ | |
for (int i = 0; i < mat.rows; ++i) { |
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 "opencv2/core.hpp" | |
#include "opencv2/imgproc.hpp" | |
#include "opencv2/imgcodecs.hpp" | |
#include <iostream> | |
using namespace cv; | |
using namespace std; | |
int main(int argc, char** argv) | |
{ |
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 | |
set -e | |
set -x | |
export PATH=/usr/lib/ccache:$PATH | |
build_one() { | |
BUILDDIR=$1 | |
shift |
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 <thread> | |
#include <utility> | |
#include <vector> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <iostream> | |
#include <malloc.h> | |
using namespace std; |
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
// command: g++ posix_memalign_not_reclaiming.cpp -o test | |
#include <malloc.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <stdlib.h> | |
const size_t ALIGN = 64; | |
const size_t ITERATIONS = 1000; | |
const size_t SIZE = 3 * 1000 * 1000; |
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 <cstddef> | |
#include <iostream> | |
#include <list> | |
// #define SAFE | |
using namespace std; | |
class Pool | |
{ |
OlderNewer