Skip to content

Instantly share code, notes, and snippets.

@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>
#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;
#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)
{
@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
@sturkmen72
sturkmen72 / ants3
Created November 26, 2018 20:08
tracker benchmark 2
cmt_test --video=E:/vot2017/ants3/%%08d.jpg --gt=E:/vot2017/ants3/groundtruth.txt --plot CSRT,MOSSE,MEDIAN_FLOW,BACF,CMT,MIL,BOOSTING,TLD
CSRT
Overlap > 0 53.1142% 307
Overlap > 0.5 3.11419% 18
Precision 3.11419%
Recall 3.11419%
f-measure 3.11419%
AUC 0.870588
Performance 37.5266 ms/frame 26.6478 fps
@sturkmen72
sturkmen72 / bag
Created November 26, 2018 20:10
tracker benchmark 3
cmt_test --video=E:/vot2017/bag/%%08d.jpg --gt=E:/vot2017/bag/groundtruth.txt --plot CSRT,MOSSE,MEDIAN_FLOW,BACF,CMT,MIL,BOOSTING,TLD
CSRT
Overlap > 0 100% 195
Overlap > 0.5 24.6154% 48
Precision 24.6154%
Recall 24.6154%
f-measure 24.6154%
AUC 0.605641
Performance 43.215 ms/frame 23.1401 fps
@sturkmen72
sturkmen72 / ball1
Created November 26, 2018 20:12
tracker benchmark 4
cmt_test --video=E:/vot2017/ball1/%%08d.jpg --gt=E:/vot2017/ball1/groundtruth.txt --plot CSRT,MOSSE,MEDIAN_FLOW,BACF,CMT,MIL,BOOSTING,TLD
CSRT
Overlap > 0 100% 68
Overlap > 0.5 91.1765% 62
Precision 91.1765%
Recall 91.1765%
f-measure 91.1765%
AUC 0.262206
Performance 43.8862 ms/frame 22.7862 fps
@sturkmen72
sturkmen72 / ball2
Created November 26, 2018 20:24
tracker benchmark 5
cmt_test --video=E:/vot2017/ball2/%%08d.jpg --gt=E:/vot2017/ball2/groundtruth.txt --plot CSRT,CMT,MOSSE,MEDIAN_FLOW,BACF,MIL,BOOSTING,TLD
CSRT
Overlap > 0 100% 40
Overlap > 0.5 37.5% 15
Precision 37.5%
Recall 37.5%
f-measure 37.5%
AUC 0.57925
Performance 66.5193 ms/frame 15.0332 fps
@sturkmen72
sturkmen72 / basketball
Created November 26, 2018 20:26
tracker benchmark 6
cmt_test --video=E:/vot2017/basketball/%%08d.jpg --gt=E:/vot2017/basketball/groundtruth.txt --plot CSRT,CMT,MOSSE,MEDIAN_FLOW,BACF,MIL,BOOSTING,TLD
CSRT
Overlap > 0 100% 724
Overlap > 0.5 81.3536% 589
Precision 81.3536%
Recall 81.3536%
f-measure 81.3536%
AUC 0.434848
Performance 68.8835 ms/frame 14.5173 fps
@sturkmen72
sturkmen72 / birds1
Created November 26, 2018 20:30
tracker benchmark 7
cmt_test --video=E:/vot2017/birds1/%%08d.jpg --gt=E:/vot2017/birds1/groundtruth.txt --plot CSRT,CMT,MOSSE,MEDIAN_FLOW,BACF,MIL,BOOSTING,TLD
CSRT
Overlap > 0 35.7988% 121
Overlap > 0.5 10.0592% 34
Precision 10.0592%
Recall 10.0592%
f-measure 10.0592%
AUC 0.859586
Performance 76.3636 ms/frame 13.0952 fps