Skip to content

Instantly share code, notes, and snippets.

@sturkmen72
sturkmen72 / ants1
Created November 26, 2018 20:04
tracker benchmark 1
cmt_test --video=E:/vot2017/ants1/%%08d.jpg --gt=E:/vot2017/ants1/groundtruth.txt --plot CSRT,MOSSE,MEDIAN_FLOW,BACF,CMT,MIL,BOOSTING,TLD
CSRT
Overlap > 0 0.617284% 2
Overlap > 0.5 0.308642% 1
Precision 0.3663%
Recall 0.308642%
f-measure 0.335008%
AUC 1.00676
Performance 35.9752 ms/frame 27.7969 fps
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
using namespace cv;
using namespace std;
// calculates distance between two points
static double distanceBtwPoints(const cv::Point a, const cv::Point b)
{
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main( int argc, char** argv )
{
Mat jpegimage,nonjpegimage;
@sturkmen72
sturkmen72 / AnalogClock
Created June 23, 2015 02:38
Analog Clock Using OpenCV
//copied from http://harismoonamkunnu.blogspot.in/2013/05/clock-using-opencv-here-is-simple-code.html
#include <iostream>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include <stdio.h>
#include <time.h>
#include <sys/timeb.h>
#include <sys/time.h>