Skip to content

Commit f70ec4b

Browse files
authored
Update README.md
1 parent 894c080 commit f70ec4b

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

README.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## Description
44

5-
This is an `OpenCV` implementation of detecting and tracking a baseball across multiple frames. We're given images of 15 consecutive frames in the `images/` folder and we have to find the position and velocity of baseball programatically without using Machine Learning.
5+
This is an `OpenCV` implementation of detecting and tracking a baseball across multiple frames. We're given images of 15 consecutive frames of a video in the `images/` folder and we have to find the position and velocity of baseball programatically without using Machine Learning. Some of the useful information is given below-
6+
- Pixel Size : 0.0048mm
7+
- Frame per second (fps) : 240
68

79
## Approach
810

@@ -50,3 +52,25 @@ I tried to use Sparse Optical flow to track movement of baseball. I performed th
5052
**Solutions tried** : Choose pyramid structures with Lucas-Kanade and use larger window size.<br>
5153

5254
I was still unable to improve the predictions with the solutions tried so I gave up on this approach.
55+
56+
57+
## Results
58+
59+
The results of the images, which marks the centre of the baseball is shown in `results/`. From frame 3 to frame 15, the position and speed of the ball are shown below.
60+
61+
| Frame number | Position of ball | Speed (mm/s) |
62+
| ------------ | ------------- | ------------ |
63+
| 3 | (538, 803) | 15.02|
64+
| 4 | (510, 799) | 32.583 |
65+
| 5 | (481, 792) | 34.367 |
66+
| 6 | (450, 784) | 36.882 |
67+
| 7 | (417, 778) | 38.639 |
68+
| 8 | (379, 769) | 44.987 |
69+
| 9 | (341, 761) | 44.736 |
70+
| 10 | (296, 747) | 54.291 |
71+
| 11 | (253, 742) | 49.87 |
72+
| 12 | (202, 732) | 59.871 |
73+
| 13 | (149, 723) | 61.93 |
74+
| 14 | (93, 707) | 67.093 |
75+
| 15 | (30, 695) | 73.881 |
76+

0 commit comments

Comments
 (0)