Dataset Viewer
Auto-converted to Parquet Duplicate
video
large_stringclasses
2 values
frame
large_stringlengths
14
14
confidence_score
float64
0.5
0.85
x_min
float64
-5.68
1.88k
y_min
float64
-3.35
876
x_max
float64
43.1
1.92k
y_max
float64
25.7
959
Drone_Tracking_1
frame_0001.jpg
0.835152
836.441589
168.739212
930.430847
230.254074
Drone_Tracking_1
frame_0002.jpg
0.81871
839.114319
174.520721
931.782654
232.879456
Drone_Tracking_1
frame_0003.jpg
0.819006
834.570496
176.136871
936.178833
236.407257
Drone_Tracking_1
frame_0004.jpg
0.779212
835.050171
179.159561
922.043945
240.258835
Drone_Tracking_1
frame_0004.jpg
0.769116
834.009338
178.065063
927.111633
239.191101
Drone_Tracking_1
frame_0004.jpg
0.743213
834.908752
181.120972
920.951416
238.857635
Drone_Tracking_1
frame_0005.jpg
0.788142
830.15625
183.371475
916.348938
242.933121
Drone_Tracking_1
frame_0005.jpg
0.787275
830.439575
179.896194
925.515259
243.739609
Drone_Tracking_1
frame_0006.jpg
0.784241
826.490967
181.940155
929.049011
246.99826
Drone_Tracking_1
frame_0007.jpg
0.797797
825.132568
185.450134
931.626953
248.671829
Drone_Tracking_1
frame_0007.jpg
0.738433
827.894104
187.102463
923.366577
248.448746
Drone_Tracking_1
frame_0008.jpg
0.770225
824.904114
190.527191
930.302612
251.589767
Drone_Tracking_1
frame_0009.jpg
0.747589
818.852905
191.328873
919.413635
253.907425
Drone_Tracking_1
frame_0011.jpg
0.774168
818.788879
186.113037
931.502075
253.377182
Drone_Tracking_1
frame_0012.jpg
0.734185
800.880981
182.426636
924.721985
254.643356
Drone_Tracking_1
frame_0014.jpg
0.710133
814.253296
191.661728
928.124634
254.22374
Drone_Tracking_1
frame_0015.jpg
0.754825
829.059509
199.43129
924.25647
255.23996
Drone_Tracking_1
frame_0015.jpg
0.738262
832.176392
203.237259
913.379517
255.857117
Drone_Tracking_1
frame_0016.jpg
0.744973
824.417603
195.663788
923.116699
254.827393
Drone_Tracking_1
frame_0016.jpg
0.730871
829.506287
199.295837
918.961426
254.847397
Drone_Tracking_1
frame_0017.jpg
0.730433
827.614624
196.038437
931.788696
254.270294
Drone_Tracking_1
frame_0017.jpg
0.702847
831.033264
199.074722
926.501587
255.076324
Drone_Tracking_1
frame_0018.jpg
0.769632
831.260376
202.100922
927.191406
255.148605
Drone_Tracking_1
frame_0019.jpg
0.814408
838.347778
201.983826
925.58606
255.563385
Drone_Tracking_1
frame_0020.jpg
0.786619
839.508728
202.037537
932.09967
259.534088
Drone_Tracking_1
frame_0021.jpg
0.81188
834.568176
200.804413
935.659241
262.236023
Drone_Tracking_1
frame_0022.jpg
0.816397
835.117004
201.909866
934.361267
261.781036
Drone_Tracking_1
frame_0023.jpg
0.811548
840.549255
201.652771
929.919495
260.643829
Drone_Tracking_1
frame_0024.jpg
0.78471
831.389771
200.501236
932.967834
265.11084
Drone_Tracking_1
frame_0025.jpg
0.779295
828.267639
198.994446
932.788818
260.117554
Drone_Tracking_1
frame_0026.jpg
0.793836
834.321167
199.588547
932.769165
256.391327
Drone_Tracking_1
frame_0027.jpg
0.75299
811.317322
191.625275
929.566284
256.033661
Drone_Tracking_1
frame_0028.jpg
0.756258
817.125427
189.85965
927.459534
256.650391
Drone_Tracking_1
frame_0029.jpg
0.78901
828.318359
189.743179
926.045593
255.770035
Drone_Tracking_1
frame_0030.jpg
0.757732
827.058899
191.156631
935.864746
254.330292
Drone_Tracking_1
frame_0031.jpg
0.781177
831.424622
191.958328
931.149353
256.417572
Drone_Tracking_1
frame_0031.jpg
0.767623
833.366516
194.52562
924.759949
256.606415
Drone_Tracking_1
frame_0032.jpg
0.799282
826.903625
190.819016
934.838013
256.028809
Drone_Tracking_1
frame_0033.jpg
0.801719
825.974182
186.591431
933.9104
250.387436
Drone_Tracking_1
frame_0034.jpg
0.772379
811.579529
180.553177
932.630859
250.186279
Drone_Tracking_1
frame_0035.jpg
0.774547
816.414673
181.803513
931.745483
249.46373
Drone_Tracking_1
frame_0036.jpg
0.80227
825.458252
183.179199
931.784241
246.877975
Drone_Tracking_1
frame_0037.jpg
0.80065
833.811401
183.675293
928.409607
246.025162
Drone_Tracking_1
frame_0038.jpg
0.799862
824.177917
180.033295
931.995239
250.22049
Drone_Tracking_1
frame_0039.jpg
0.808209
824.689941
179.378571
931.340759
249.105606
Drone_Tracking_1
frame_0040.jpg
0.77942
826.836853
181.389297
933.427551
249.726379
Drone_Tracking_1
frame_0040.jpg
0.764351
831.12793
184.3246
920.638672
248.910858
Drone_Tracking_1
frame_0041.jpg
0.782085
829.267151
182.966858
932.160767
244.904999
Drone_Tracking_1
frame_0043.jpg
0.778514
826.292908
182.146423
932.110107
246.435959
Drone_Tracking_1
frame_0044.jpg
0.796245
824.874207
180.477325
930.171997
247.17012
Drone_Tracking_1
frame_0045.jpg
0.803622
830.429932
181.372223
929.187195
246.472046
Drone_Tracking_1
frame_0046.jpg
0.791237
826.613098
183.077942
932.630615
246.298965
Drone_Tracking_1
frame_0047.jpg
0.809944
830.196045
183.178223
928.287964
246.670593
Drone_Tracking_1
frame_0048.jpg
0.792953
829.76825
182.4897
928.853821
245.786621
Drone_Tracking_1
frame_0049.jpg
0.804035
832.643799
184.612411
934.08252
246.300201
Drone_Tracking_1
frame_0050.jpg
0.775789
832.828247
182.613678
932.700073
243.944916
Drone_Tracking_1
frame_0050.jpg
0.750231
832.716125
186.452271
922.932861
244.071396
Drone_Tracking_1
frame_0050.jpg
0.725967
832.937256
183.66954
924.962097
245.568802
Drone_Tracking_1
frame_0051.jpg
0.779569
833.270142
182.236908
929.83844
245.737595
Drone_Tracking_1
frame_0052.jpg
0.792694
830.576477
181.988403
930.441406
244.927902
Drone_Tracking_1
frame_0053.jpg
0.811799
832.054199
179.757813
929.084656
241.562378
Drone_Tracking_1
frame_0053.jpg
0.729744
832.298279
183.906219
919.963806
242.090866
Drone_Tracking_1
frame_0054.jpg
0.784865
830.279968
178.489349
930.76123
239.887497
Drone_Tracking_1
frame_0055.jpg
0.798822
830.643982
177.986481
933.165405
238.808395
Drone_Tracking_1
frame_0056.jpg
0.832516
835.721802
177.381653
933.435242
239.050064
Drone_Tracking_1
frame_0057.jpg
0.821974
834.41156
176.242081
933.060669
238.954025
Drone_Tracking_1
frame_0058.jpg
0.828264
834.546265
175.247406
927.884705
240.607269
Drone_Tracking_1
frame_0059.jpg
0.776762
834.460754
175.634079
929.301147
239.242706
Drone_Tracking_1
frame_0060.jpg
0.802335
833.801941
176.52742
931.388123
238.159042
Drone_Tracking_1
frame_0061.jpg
0.779651
828.417419
171.001587
931.67688
238.030411
Drone_Tracking_1
frame_0061.jpg
0.743046
832.190308
175.488388
927.278015
238.352661
Drone_Tracking_1
frame_0061.jpg
0.706293
832.311707
173.583313
928.15802
239.348633
Drone_Tracking_1
frame_0062.jpg
0.782334
826.633606
172.122314
932.881226
232.710907
Drone_Tracking_1
frame_0064.jpg
0.77757
831.894043
171.294724
931.891846
230.356354
Drone_Tracking_1
frame_0066.jpg
0.784135
825.787109
167.669388
931.155396
228.805176
Drone_Tracking_1
frame_0067.jpg
0.755859
823.075745
167.429001
932.187378
230.48288
Drone_Tracking_1
frame_0068.jpg
0.728628
822.775085
166.739777
928.655029
231.307968
Drone_Tracking_1
frame_0069.jpg
0.775153
827.452148
165.403885
933.684998
229.452301
Drone_Tracking_1
frame_0070.jpg
0.783697
833.43512
167.774643
935.789551
231.496429
Drone_Tracking_1
frame_0071.jpg
0.779743
831.077881
167.253708
934.153259
230.217194
Drone_Tracking_1
frame_0072.jpg
0.800578
833.839294
166.92337
930.205872
229.717545
Drone_Tracking_1
frame_0073.jpg
0.810477
835.316589
169.049286
933.265198
230.150055
Drone_Tracking_1
frame_0074.jpg
0.773196
828.841919
165.096649
930.161621
230.755035
Drone_Tracking_1
frame_0075.jpg
0.798279
830.357422
169.070251
932.621826
228.925537
Drone_Tracking_1
frame_0076.jpg
0.753969
837.294189
169.101913
927.024414
230.459534
Drone_Tracking_1
frame_0076.jpg
0.747668
832.24884
166.456757
933.088684
230.63884
Drone_Tracking_1
frame_0077.jpg
0.825831
833.755981
169.533112
934.007935
229.028519
Drone_Tracking_1
frame_0078.jpg
0.816862
835.206421
167.972839
931.997192
228.613388
Drone_Tracking_1
frame_0079.jpg
0.818813
837.45575
168.988174
932.846924
230.585297
Drone_Tracking_1
frame_0080.jpg
0.807936
830.811401
169.239777
934.989868
230.803589
Drone_Tracking_1
frame_0081.jpg
0.723597
823.276123
167.408783
926.192627
230.195618
Drone_Tracking_1
frame_0083.jpg
0.777158
826.694092
169.815125
931.912964
230.099136
Drone_Tracking_1
frame_0084.jpg
0.75428
828.166382
167.507278
928.125061
231.210434
Drone_Tracking_1
frame_0085.jpg
0.773364
826.727295
170.277512
927.775696
230.815369
Drone_Tracking_1
frame_0086.jpg
0.739994
825.443787
166.835938
925.998596
230.976181
Drone_Tracking_1
frame_0087.jpg
0.764625
829.074768
169.454559
927.117432
230.729919
Drone_Tracking_1
frame_0089.jpg
0.768729
821.269348
167.764725
925.216125
230.978256
Drone_Tracking_1
frame_0090.jpg
0.70241
821.183716
167.767288
925.356812
230.848038
Drone_Tracking_1
frame_0091.jpg
0.766067
827.315491
169.419296
917.381409
232.367035
Drone_Tracking_1
frame_0091.jpg
0.737016
817.916321
168.23999
927.778564
230.675446
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Drone tracking videos:

1:https://www.youtube.com/watch?v=POT-g-hS6v0 2:https://www.youtube.com/watch?v=dTMicLlHDOI

Dataset used: https://www.kaggle.com/datasets/dasmehdixtr/drone-dataset-uav/data

This dataset includes the detections for each frame of the provided videos. For this task, I decided to utilize the RTDETR model. I chose this over the YOLO model because, honestly I wanted to try something new, and experiment with its transformer-based object detector. Due to the limited dataset, YOLO might have been better. Rtdetr might be better at distinguishing the drone if there was occulsion of the drone, but otherwise YOLO might be better for this smaller dataset, and for these videos specifically in which the drones are matched against the sky.

I trained the model on the dataset above for 81 epochs with image sizes of 640 x 640. For this training, I decided to utilize a patience value of 20, so while it was initialy supposed to go through 100 training passes, it ended up only getting to 81. I did this to combat the risk of overfitting that was present due to my model choice and dataset size.I also used a dropout value of 0.1 for the same reason. For the detector itself, I chose to predict using frames of size 1280 x 1280 to help with the model's precision and accuracy.

The Kalman filter's state vector was taken from the bounding boxes of each detected frame from the detector. The center of each bounding box was computed using the formulas cx = (x_min + x_max) / 2 and cy = (y_min + y_max) / 2, forming the measurement vector [cx, cy]. These center coordinates were passed to kf.update() for each frame as the observed position. The state vector [cx, cy, vx, vy] was then estimated by the filter, with position taken directly from the measurements and velocity inferred implicitly from how the center moved between frames. This continued for each frame, and then for each video.

The filter was initialized using the first detected frame, with 0 initial velocity. If no detection is found in the provided opening frames, the tracker is not initialized until the first bounding box is safely produced.

When no drone is found in a frame, the tracker calls kf.predict() and uses the drone's last known trajectory to estimate the position where it should be. After 10 frames of no detections, the tracker resets, assuming that it's "estimations" were wrong, leaving those frames untracked and absent from the output. If the drone later reemmerges, the tracker then reinitialises from the new detection point with zero velocity.

As for the noise parameters, R is the measurement noise, and I set it to [25,25], because of my higher confidence interval (0.7 for the first video, 0.5 for the second). Q is the process noise, and its value is [15,15,120,120]. I gave it a higher velocity to account for the drone's sudden swings in motion. It's position values are low because despite it's velocity, it shouldn't jump too much across frames.

P is the initial state uncertainty, defined as [500, 500, 1000, 1000]. It's high initially due to the lack of information, but lowers over the course of the tracker's usage.

Downloads last month
5