Skip to content

Instantly share code, notes, and snippets.

@peterlee0127
Last active December 15, 2015 03:19
Show Gist options
  • Save peterlee0127/5193860 to your computer and use it in GitHub Desktop.
Save peterlee0127/5193860 to your computer and use it in GitHub Desktop.
opencv cortexA9
Test Image 320x240
################################
erode -->0 s, 8880615 ns, fps=112.60
erode -->0 s, 17456055 ns, fps=114.57
erode -->0 s, 25634766 ns, fps=117.03
erode -->0 s, 34027100 ns, fps=117.55
erode -->0 s, 42449951 ns, fps=117.79
erode -->0 s, 50842285 ns, fps=118.01
erode -->0 s, 59020996 ns, fps=118.60
erode -->0 s, 67382812 ns, fps=118.72
erode -->0 s, 75531006 ns, fps=119.16
erode -->0 s, 83709717 ns, fps=119.46
erode -->0 s, 91857910 ns, fps=119.75
erode -->0 s, 100006103 ns, fps=119.99
erode -->0 s, 108154297 ns, fps=120.20
erode -->0 s, 116516113 ns, fps=120.16
erode -->0 s, 124694824 ns, fps=120.29
erode -->0 s, 132843018 ns, fps=120.44
erode -->0 s, 141021728 ns, fps=120.55
erode -->0 s, 149169922 ns, fps=120.67
erode -->0 s, 157318115 ns, fps=120.77
erode -->0 s, 165496826 ns, fps=120.85
erode -->0 s, 173645019 ns, fps=120.94
erode -->0 s, 181793213 ns, fps=121.02
erode -->0 s, 189941406 ns, fps=121.09
erode -->0 s, 198303223 ns, fps=121.03
erode -->0 s, 206451416 ns, fps=121.09
erode -->0 s, 214599609 ns, fps=121.16
erode -->0 s, 222808838 ns, fps=121.18
erode -->0 s, 231323242 ns, fps=121.04
erode -->0 s, 239532471 ns, fps=121.07
erode -->0 s, 247680664 ns, fps=121.12
erode -->0 s, 255828857 ns, fps=121.17
erode -->0 s, 264007568 ns, fps=121.21
erode -->0 s, 272155762 ns, fps=121.25
erode -->0 s, 280303955 ns, fps=121.30
erode -->0 s, 288818359 ns, fps=121.18
erode -->0 s, 296966553 ns, fps=121.23
erode -->0 s, 305114746 ns, fps=121.27
erode -->0 s, 313293457 ns, fps=121.29
erode -->0 s, 321472168 ns, fps=121.32
erode -->0 s, 329620361 ns, fps=121.35
erode -->0 s, 337768555 ns, fps=121.38
erode -->0 s, 345916748 ns, fps=121.42
erode -->0 s, 354064941 ns, fps=121.45
erode -->0 s, 362243652 ns, fps=121.47
erode -->0 s, 370391846 ns, fps=121.49
erode -->0 s, 378540039 ns, fps=121.52
erode -->0 s, 386688232 ns, fps=121.54
erode -->0 s, 394866943 ns, fps=121.56
erode -->0 s, 403015137 ns, fps=121.58
erode -->0 s, 411163330 ns, fps=121.61
erode -->0 s, 419311523 ns, fps=121.63
erode -->0 s, 427490234 ns, fps=121.64
erode -->0 s, 435699463 ns, fps=121.64
erode -->0 s, 443847656 ns, fps=121.66
erode -->0 s, 451995850 ns, fps=121.68
erode -->0 s, 460205078 ns, fps=121.68
erode -->0 s, 468353271 ns, fps=121.70
erode -->0 s, 476501465 ns, fps=121.72
erode -->0 s, 484649658 ns, fps=121.74
erode -->0 s, 492828369 ns, fps=121.75
erode -->0 s, 501007080 ns, fps=121.75
erode -->0 s, 509155273 ns, fps=121.77
erode -->0 s, 517303467 ns, fps=121.79
erode -->0 s, 525451660 ns, fps=121.80
erode -->0 s, 533599853 ns, fps=121.81
erode -->0 s, 541961670 ns, fps=121.78
erode -->0 s, 550109863 ns, fps=121.79
erode -->0 s, 558258057 ns, fps=121.81
erode -->0 s, 566589355 ns, fps=121.78
erode -->0 s, 574768066 ns, fps=121.79
erode -->0 s, 582916260 ns, fps=121.80
erode -->0 s, 591064453 ns, fps=121.81
erode -->0 s, 599212646 ns, fps=121.83
erode -->0 s, 607360840 ns, fps=121.84
erode -->0 s, 615539551 ns, fps=121.84
erode -->0 s, 623687744 ns, fps=121.86
erode -->0 s, 632171631 ns, fps=121.80
erode -->0 s, 640350342 ns, fps=121.81
erode -->0 s, 648498535 ns, fps=121.82
erode -->0 s, 656646728 ns, fps=121.83
erode -->0 s, 664794922 ns, fps=121.84
erode -->0 s, 673156738 ns, fps=121.81
erode -->0 s, 681335449 ns, fps=121.82
erode -->0 s, 689483643 ns, fps=121.83
erode -->0 s, 697631836 ns, fps=121.84
erode -->0 s, 705963135 ns, fps=121.82
erode -->0 s, 714141846 ns, fps=121.82
erode -->0 s, 722290039 ns, fps=121.83
erode -->0 s, 730438232 ns, fps=121.84
erode -->0 s, 738616943 ns, fps=121.85
erode -->0 s, 746765137 ns, fps=121.86
erode -->0 s, 755096435 ns, fps=121.84
erode -->0 s, 763244629 ns, fps=121.85
erode -->0 s, 771392822 ns, fps=121.86
erode -->0 s, 779724121 ns, fps=121.84
erode -->0 s, 787902832 ns, fps=121.84
erode -->0 s, 796051025 ns, fps=121.85
erode -->0 s, 804199219 ns, fps=121.86
erode -->0 s, 812347412 ns, fps=121.87
erode -->0 s, 820495605 ns, fps=121.88
#########################################
dilate -->0 s, 8728027 ns, fps=114.57
dilate -->0 s, 17272949 ns, fps=115.79
dilate -->0 s, 25482178 ns, fps=117.73
dilate -->0 s, 33752441 ns, fps=118.51
dilate -->0 s, 41992187 ns, fps=119.07
dilate -->0 s, 50201416 ns, fps=119.52
dilate -->0 s, 58441162 ns, fps=119.78
dilate -->0 s, 66589355 ns, fps=120.14
dilate -->0 s, 74798584 ns, fps=120.32
dilate -->0 s, 82977295 ns, fps=120.51
dilate -->0 s, 91156006 ns, fps=120.67
dilate -->0 s, 99395752 ns, fps=120.73
dilate -->0 s, 107574463 ns, fps=120.85
dilate -->0 s, 115722656 ns, fps=120.98
dilate -->0 s, 123901367 ns, fps=121.06
dilate -->0 s, 132080078 ns, fps=121.14
dilate -->0 s, 140258789 ns, fps=121.20
dilate -->0 s, 148468018 ns, fps=121.24
dilate -->0 s, 156616211 ns, fps=121.32
dilate -->0 s, 164947510 ns, fps=121.25
dilate -->0 s, 173187256 ns, fps=121.26
dilate -->0 s, 181365967 ns, fps=121.30
dilate -->0 s, 189544678 ns, fps=121.34
dilate -->0 s, 197692871 ns, fps=121.40
dilate -->0 s, 205902100 ns, fps=121.42
dilate -->0 s, 214111328 ns, fps=121.43
dilate -->0 s, 222320557 ns, fps=121.45
dilate -->0 s, 230499268 ns, fps=121.48
dilate -->0 s, 238708496 ns, fps=121.49
dilate -->0 s, 246917725 ns, fps=121.50
dilate -->0 s, 255096435 ns, fps=121.52
dilate -->0 s, 263275146 ns, fps=121.55
dilate -->0 s, 271453857 ns, fps=121.57
dilate -->0 s, 279602051 ns, fps=121.60
dilate -->0 s, 287811279 ns, fps=121.61
dilate -->0 s, 295989990 ns, fps=121.63
dilate -->0 s, 304168701 ns, fps=121.64
dilate -->0 s, 312377930 ns, fps=121.65
dilate -->0 s, 320556641 ns, fps=121.66
dilate -->0 s, 328735351 ns, fps=121.68
dilate -->0 s, 336944580 ns, fps=121.68
dilate -->0 s, 345123291 ns, fps=121.70
dilate -->0 s, 353302002 ns, fps=121.71
dilate -->0 s, 361511230 ns, fps=121.71
dilate -->0 s, 369659424 ns, fps=121.73
dilate -->0 s, 377838135 ns, fps=121.75
dilate -->0 s, 386016846 ns, fps=121.76
dilate -->0 s, 394165039 ns, fps=121.78
dilate -->0 s, 402313232 ns, fps=121.80
dilate -->0 s, 410522461 ns, fps=121.80
dilate -->0 s, 418731689 ns, fps=121.80
dilate -->0 s, 426879883 ns, fps=121.81
dilate -->0 s, 435058594 ns, fps=121.82
dilate -->0 s, 443206787 ns, fps=121.84
dilate -->0 s, 451385498 ns, fps=121.85
dilate -->0 s, 459594726 ns, fps=121.85
dilate -->0 s, 467773437 ns, fps=121.85
dilate -->0 s, 475921631 ns, fps=121.87
dilate -->0 s, 484283447 ns, fps=121.83
dilate -->0 s, 492523193 ns, fps=121.82
dilate -->0 s, 500671387 ns, fps=121.84
dilate -->0 s, 508911133 ns, fps=121.83
dilate -->0 s, 517089844 ns, fps=121.84
dilate -->0 s, 525268555 ns, fps=121.84
dilate -->0 s, 533416748 ns, fps=121.86
dilate -->0 s, 541564941 ns, fps=121.87
dilate -->0 s, 549865723 ns, fps=121.85
dilate -->0 s, 558044434 ns, fps=121.85
dilate -->0 s, 566253662 ns, fps=121.85
dilate -->0 s, 574493408 ns, fps=121.85
dilate -->0 s, 582672119 ns, fps=121.85
dilate -->0 s, 590820312 ns, fps=121.86
dilate -->0 s, 598999023 ns, fps=121.87
dilate -->0 s, 607238769 ns, fps=121.86
dilate -->0 s, 615386963 ns, fps=121.87
dilate -->0 s, 623596191 ns, fps=121.87
dilate -->0 s, 631805420 ns, fps=121.87
dilate -->0 s, 639984131 ns, fps=121.88
dilate -->0 s, 648162842 ns, fps=121.88
dilate -->0 s, 656402588 ns, fps=121.88
dilate -->0 s, 664581299 ns, fps=121.88
dilate -->0 s, 672790527 ns, fps=121.88
dilate -->0 s, 681030273 ns, fps=121.87
dilate -->0 s, 689208984 ns, fps=121.88
dilate -->0 s, 697387695 ns, fps=121.88
dilate -->0 s, 705596924 ns, fps=121.88
dilate -->0 s, 713806152 ns, fps=121.88
dilate -->0 s, 721984863 ns, fps=121.89
dilate -->0 s, 730194092 ns, fps=121.89
dilate -->0 s, 738403320 ns, fps=121.88
dilate -->0 s, 746612549 ns, fps=121.88
dilate -->0 s, 754791260 ns, fps=121.89
dilate -->0 s, 763000488 ns, fps=121.89
dilate -->0 s, 771179199 ns, fps=121.89
dilate -->0 s, 779357910 ns, fps=121.90
dilate -->0 s, 787536621 ns, fps=121.90
dilate -->0 s, 795745850 ns, fps=121.90
dilate -->0 s, 803924560 ns, fps=121.90
dilate -->0 s, 812103271 ns, fps=121.91
dilate -->0 s, 820251465 ns, fps=121.91
########################################
debian@arm:~$ ./sobel test.jpg
sobel -->0 s, 11383057 ns, fps=87.85
sobel -->0 s, 22491455 ns, fps=88.92
sobel -->0 s, 33264160 ns, fps=90.19
sobel -->0 s, 44006348 ns, fps=90.90
sobel -->0 s, 54748535 ns, fps=91.33
sobel -->0 s, 65460205 ns, fps=91.66
sobel -->0 s, 76171875 ns, fps=91.90
sobel -->0 s, 86975098 ns, fps=91.98
sobel -->0 s, 97656250 ns, fps=92.16
sobel -->0 s, 108398438 ns, fps=92.25
sobel -->0 s, 119110108 ns, fps=92.35
sobel -->0 s, 129791260 ns, fps=92.46
sobel -->0 s, 140533448 ns, fps=92.50
sobel -->0 s, 151275635 ns, fps=92.55
sobel -->0 s, 161987305 ns, fps=92.60
sobel -->0 s, 172760010 ns, fps=92.61
sobel -->0 s, 183502198 ns, fps=92.64
sobel -->0 s, 194152832 ns, fps=92.71
sobel -->0 s, 204833985 ns, fps=92.76
sobel -->0 s, 215545655 ns, fps=92.79
sobel -->0 s, 226257324 ns, fps=92.81
sobel -->0 s, 237091065 ns, fps=92.79
sobel -->0 s, 247741699 ns, fps=92.84
sobel -->0 s, 258514405 ns, fps=92.84
sobel -->0 s, 269226074 ns, fps=92.86
sobel -->0 s, 279907227 ns, fps=92.89
sobel -->0 s, 290618897 ns, fps=92.91
sobel -->0 s, 301330567 ns, fps=92.92
sobel -->0 s, 312042237 ns, fps=92.94
sobel -->0 s, 322692871 ns, fps=92.97
sobel -->0 s, 333404541 ns, fps=92.98
sobel -->0 s, 344177246 ns, fps=92.98
sobel -->0 s, 354949951 ns, fps=92.97
sobel -->0 s, 365722656 ns, fps=92.97
sobel -->0 s, 376525879 ns, fps=92.96
sobel -->0 s, 387268067 ns, fps=92.96
sobel -->0 s, 398132324 ns, fps=92.93
sobel -->0 s, 408813477 ns, fps=92.95
sobel -->0 s, 419525147 ns, fps=92.96
sobel -->0 s, 430206299 ns, fps=92.98
sobel -->0 s, 440795899 ns, fps=93.01
sobel -->0 s, 451507569 ns, fps=93.02
sobel -->0 s, 462219239 ns, fps=93.03
sobel -->0 s, 472900391 ns, fps=93.04
sobel -->0 s, 483612061 ns, fps=93.05
sobel -->0 s, 494262696 ns, fps=93.07
sobel -->0 s, 505065918 ns, fps=93.06
sobel -->0 s, 515747071 ns, fps=93.07
sobel -->0 s, 526458740 ns, fps=93.07
sobel -->0 s, 537231446 ns, fps=93.07
sobel -->0 s, 548065186 ns, fps=93.05
sobel -->0 s, 558807373 ns, fps=93.06
sobel -->0 s, 569519043 ns, fps=93.06
sobel -->0 s, 580200196 ns, fps=93.07
sobel -->0 s, 590942383 ns, fps=93.07
sobel -->0 s, 601715088 ns, fps=93.07
sobel -->0 s, 612457276 ns, fps=93.07
sobel -->0 s, 623168946 ns, fps=93.07
sobel -->0 s, 633911133 ns, fps=93.07
sobel -->0 s, 644561768 ns, fps=93.09
sobel -->0 s, 655303955 ns, fps=93.09
sobel -->0 s, 666076660 ns, fps=93.08
sobel -->0 s, 676788330 ns, fps=93.09
sobel -->0 s, 687469483 ns, fps=93.10
sobel -->0 s, 698242188 ns, fps=93.09
sobel -->0 s, 709014893 ns, fps=93.09
sobel -->0 s, 719696045 ns, fps=93.09
sobel -->0 s, 730377198 ns, fps=93.10
sobel -->0 s, 741119385 ns, fps=93.10
sobel -->0 s, 751861573 ns, fps=93.10
sobel -->0 s, 762542725 ns, fps=93.11
sobel -->0 s, 773193360 ns, fps=93.12
sobel -->0 s, 783874512 ns, fps=93.13
sobel -->0 s, 794708252 ns, fps=93.12
sobel -->0 s, 805450440 ns, fps=93.12
sobel -->0 s, 816101074 ns, fps=93.13
sobel -->0 s, 826843262 ns, fps=93.13
sobel -->0 s, 837524414 ns, fps=93.13
sobel -->0 s, 848297119 ns, fps=93.13
sobel -->0 s, 859100342 ns, fps=93.12
sobel -->0 s, 869842530 ns, fps=93.12
sobel -->0 s, 880584717 ns, fps=93.12
sobel -->0 s, 891326905 ns, fps=93.12
sobel -->0 s, 901977539 ns, fps=93.13
sobel -->0 s, 912658692 ns, fps=93.13
sobel -->0 s, 923400879 ns, fps=93.13
sobel -->0 s, 934112549 ns, fps=93.14
sobel -->0 s, 944854737 ns, fps=93.14
sobel -->0 s, 955505371 ns, fps=93.14
sobel -->0 s, 966217041 ns, fps=93.15
sobel -->0 s, 977020264 ns, fps=93.14
sobel -->0 s, 987701416 ns, fps=93.15
sobel -->0 s, 998413086 ns, fps=93.15
sobel -->1 s, 9124756 ns, fps=93.15
sobel -->1 s, 19775391 ns, fps=93.16
sobel -->1 s, 30548096 ns, fps=93.15
sobel -->1 s, 41259766 ns, fps=93.16
sobel -->1 s, 51940918 ns, fps=93.16
sobel -->1 s, 62652588 ns, fps=93.16
sobel -->1 s, 73364258 ns, fps=93.17
##########################################
debian@arm:~$ ./hough test.jpg
hough-->0 s, 63385010 ns, fps=15.78
hough-->0 s, 124023437 ns, fps=16.13
hough-->0 s, 184600830 ns, fps=16.25
hough-->0 s, 244873047 ns, fps=16.33
hough-->0 s, 305236816 ns, fps=16.38
hough-->0 s, 365509033 ns, fps=16.42
hough-->0 s, 425811768 ns, fps=16.44
hough-->0 s, 486267090 ns, fps=16.45
hough-->0 s, 546569824 ns, fps=16.47
hough-->0 s, 606842041 ns, fps=16.48
hough-->0 s, 667236328 ns, fps=16.49
hough-->0 s, 727478027 ns, fps=16.50
hough-->0 s, 787811279 ns, fps=16.50
hough-->0 s, 848114014 ns, fps=16.51
hough-->0 s, 908538818 ns, fps=16.51
hough-->0 s, 968841553 ns, fps=16.51
hough-->1 s, 29174805 ns, fps=16.52
hough-->1 s, 89508057 ns, fps=16.52
hough-->1 s, 150085449 ns, fps=16.52
hough-->1 s, 210418701 ns, fps=16.52
hough-->1 s, 270721435 ns, fps=16.53
hough-->1 s, 331085205 ns, fps=16.53
hough-->1 s, 391510010 ns, fps=16.53
hough-->1 s, 451965332 ns, fps=16.53
hough-->1 s, 512268066 ns, fps=16.53
hough-->1 s, 572570801 ns, fps=16.53
hough-->1 s, 632995605 ns, fps=16.53
hough-->1 s, 693420410 ns, fps=16.53
hough-->1 s, 753631592 ns, fps=16.54
hough-->1 s, 814056396 ns, fps=16.54
hough-->1 s, 874237060 ns, fps=16.54
hough-->1 s, 934600830 ns, fps=16.54
hough-->1 s, 994934082 ns, fps=16.54
hough-->2 s, 55267334 ns, fps=16.54
hough-->2 s, 115539551 ns, fps=16.54
hough-->2 s, 175903320 ns, fps=16.54
hough-->2 s, 236358643 ns, fps=16.54
hough-->2 s, 296691894 ns, fps=16.55
hough-->2 s, 357055664 ns, fps=16.55
hough-->2 s, 417510986 ns, fps=16.55
hough-->2 s, 477935791 ns, fps=16.55
hough-->2 s, 538421631 ns, fps=16.55
hough-->2 s, 598754883 ns, fps=16.55
hough-->2 s, 659240723 ns, fps=16.55
hough-->2 s, 719451904 ns, fps=16.55
hough-->2 s, 779785156 ns, fps=16.55
hough-->2 s, 840270996 ns, fps=16.55
hough-->2 s, 900695801 ns, fps=16.55
hough-->2 s, 960998535 ns, fps=16.55
hough-->3 s, 21209717 ns, fps=16.55
hough-->3 s, 81542969 ns, fps=16.55
hough-->3 s, 141815185 ns, fps=16.55
hough-->3 s, 202209473 ns, fps=16.55
hough-->3 s, 262542725 ns, fps=16.55
hough-->3 s, 322875976 ns, fps=16.55
hough-->3 s, 383270264 ns, fps=16.55
hough-->3 s, 443572998 ns, fps=16.55
hough-->3 s, 504211426 ns, fps=16.55
hough-->3 s, 564605713 ns, fps=16.55
hough-->3 s, 624847412 ns, fps=16.55
hough-->3 s, 683929443 ns, fps=16.56
hough-->3 s, 742980957 ns, fps=16.56
hough-->3 s, 802093506 ns, fps=16.57
hough-->3 s, 861175537 ns, fps=16.58
hough-->3 s, 920166016 ns, fps=16.58
hough-->3 s, 979156494 ns, fps=16.59
hough-->4 s, 38055420 ns, fps=16.59
hough-->4 s, 97290039 ns, fps=16.60
hough-->4 s, 156341553 ns, fps=16.60
hough-->4 s, 215545654 ns, fps=16.61
hough-->4 s, 274597168 ns, fps=16.61
hough-->4 s, 333648682 ns, fps=16.61
hough-->4 s, 392669678 ns, fps=16.62
hough-->4 s, 451812744 ns, fps=16.62
hough-->4 s, 510925293 ns, fps=16.63
hough-->4 s, 569976807 ns, fps=16.63
hough-->4 s, 628936768 ns, fps=16.63
hough-->4 s, 687896728 ns, fps=16.64
hough-->4 s, 746795654 ns, fps=16.64
hough-->4 s, 805816650 ns, fps=16.65
hough-->4 s, 864715576 ns, fps=16.65
hough-->4 s, 923736572 ns, fps=16.65
hough-->4 s, 982727051 ns, fps=16.66
hough-->5 s, 41656494 ns, fps=16.66
hough-->5 s, 100860596 ns, fps=16.66
hough-->5 s, 160003662 ns, fps=16.67
hough-->5 s, 219024658 ns, fps=16.67
hough-->5 s, 278137207 ns, fps=16.67
hough-->5 s, 337188721 ns, fps=16.68
hough-->5 s, 396118164 ns, fps=16.68
hough-->5 s, 455047607 ns, fps=16.68
hough-->5 s, 513977051 ns, fps=16.68
hough-->5 s, 572875976 ns, fps=16.69
hough-->5 s, 631835937 ns, fps=16.69
hough-->5 s, 690673828 ns, fps=16.69
hough-->5 s, 749633789 ns, fps=16.70
hough-->5 s, 808776855 ns, fps=16.70
hough-->5 s, 867675781 ns, fps=16.70
hough-->5 s, 926696777 ns, fps=16.70
hough-->5 s, 985595703 ns, fps=16.71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment