Main Procedure | Sub Procedure | Time (ms) | Percentage | Time (ms) | Percentage |
Detection | Allocate memory and create two frames NRB color transform | 1.28 5.26 | 4.8% 19.6% | 19.99 | 74.4% |
| Thresholding and single-pass CCL | 13.45 | 50.1% |
|
|
Recognition | Resize and convert to gray image HOG calculation (OpenCV build-in) | 0.95 1.41 | 3.5% 5.2% | 6.88 | 25.6% |
| SVM classification (LIBSVM) | 4.52 | 16.8% |
|
|
Total |
| 26.87 | 100% | 26.87 | 100% |