The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: FileSystemError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
video_id string | frame_index int64 | class_label string | bbox list | confidence float64 |
|---|---|---|---|---|
video_1 | 2,172 | drone | [
1621.5252685546875,
404.2529296875,
1671.4786376953125,
447.6622009277344
] | 0.718953 |
video_1 | 2,184 | drone | [
1416.0738525390625,
406.47509765625,
1466.4779052734375,
442.640625
] | 0.608016 |
video_1 | 2,190 | drone | [
1318.439697265625,
402.9972839355469,
1365.300537109375,
441.4578552246094
] | 0.639858 |
video_1 | 2,196 | drone | [
1218.628173828125,
393.2185363769531,
1265.072998046875,
438.1500549316406
] | 0.775714 |
video_1 | 2,202 | drone | [
1119.263671875,
380.0350341796875,
1164.7056884765625,
427.2535400390625
] | 0.765603 |
video_1 | 2,208 | drone | [
1011.7933959960938,
368.8135070800781,
1059.62158203125,
420.2205505371094
] | 0.763568 |
video_1 | 2,214 | drone | [
902.5779418945312,
362.10174560546875,
951.3099975585938,
409.430908203125
] | 0.769594 |
video_1 | 2,220 | drone | [
788.0771484375,
355.89178466796875,
836.4922485351562,
403.12542724609375
] | 0.773818 |
video_1 | 2,226 | drone | [
669.343017578125,
343.486328125,
719.787353515625,
393.6026916503906
] | 0.785479 |
video_1 | 2,232 | drone | [
549.0863037109375,
324.8620910644531,
603.3165283203125,
373.95281982421875
] | 0.778183 |
video_1 | 2,238 | drone | [
432.0733642578125,
297.0232238769531,
487.37445068359375,
344.0630798339844
] | 0.763836 |
video_1 | 2,244 | drone | [
314.1087341308594,
268.9769287109375,
370.51190185546875,
317.83404541015625
] | 0.776104 |
video_1 | 2,250 | drone | [
192.40933227539062,
251.43624877929688,
252.2838134765625,
298.10198974609375
] | 0.774123 |
video_1 | 2,256 | drone | [
64.55492401123047,
236.65956115722656,
128.04908752441406,
289.246826171875
] | 0.788067 |
video_1 | 2,604 | drone | [
27.025434494018555,
548.5792846679688,
63.01035690307617,
581.757080078125
] | 0.619189 |
video_1 | 2,610 | drone | [
81.46675872802734,
551.3328857421875,
115.50080108642578,
583.61083984375
] | 0.668707 |
video_1 | 2,616 | drone | [
131.21197509765625,
555.2811889648438,
162.6978302001953,
588.735595703125
] | 0.679314 |
video_1 | 2,622 | drone | [
169.2266845703125,
562.539306640625,
204.516357421875,
595.5623779296875
] | 0.719022 |
video_1 | 2,628 | drone | [
204.7286376953125,
569.897705078125,
236.11474609375,
601.728759765625
] | 0.606624 |
video_1 | 2,634 | drone | [
231.23489379882812,
578.22265625,
262.40484619140625,
611.0477905273438
] | 0.672348 |
video_1 | 3,852 | drone | [
1434.9031982421875,
43.47231674194336,
1480.005859375,
79.08287048339844
] | 0.657469 |
video_1 | 3,858 | drone | [
1350.3526611328125,
13.776838302612305,
1394.022216796875,
55.17774963378906
] | 0.692756 |
video_1 | 3,942 | drone | [
327.4125671386719,
92.59907531738281,
371.8022155761719,
130.23768615722656
] | 0.751622 |
video_1 | 3,948 | drone | [
294.161376953125,
129.82232666015625,
334.62603759765625,
162.614013671875
] | 0.622306 |
video_1 | 3,954 | drone | [
253.06654357910156,
155.8765106201172,
292.3217468261719,
186.37911987304688
] | 0.612782 |
video_1 | 3,972 | drone | [
72.42285919189453,
192.70655822753906,
113.10102081298828,
225.5045928955078
] | 0.636367 |
video_1 | 8,868 | drone | [
1423.3189697265625,
5.493012428283691,
1479.7418212890625,
66.76792907714844
] | 0.614145 |
video_2 | 0 | drone | [
845.8591918945312,
171.76455688476562,
917.1121215820312,
237.7203369140625
] | 0.798284 |
video_2 | 6 | drone | [
848.9071655273438,
171.93997192382812,
917.4006958007812,
238.44960021972656
] | 0.812563 |
video_2 | 12 | drone | [
844.1416625976562,
176.06149291992188,
916.5829467773438,
244.67019653320312
] | 0.8127 |
video_2 | 18 | drone | [
844.377197265625,
176.95632934570312,
912.7264404296875,
249.86563110351562
] | 0.803119 |
video_2 | 24 | drone | [
838.144287109375,
183.0490264892578,
913.2994384765625,
252.20127868652344
] | 0.794563 |
video_2 | 30 | drone | [
840.5044555664062,
184.4040985107422,
912.3422241210938,
254.47755432128906
] | 0.792319 |
video_2 | 36 | drone | [
835.4241943359375,
186.66371154785156,
907.69921875,
256.33233642578125
] | 0.801984 |
video_2 | 42 | drone | [
836.5364990234375,
189.52272033691406,
911.4761962890625,
258.8819580078125
] | 0.791924 |
video_2 | 48 | drone | [
835.3575439453125,
192.1457977294922,
911.07568359375,
262.433349609375
] | 0.801744 |
video_2 | 54 | drone | [
831.3861694335938,
193.8571014404297,
903.8882446289062,
265.271484375
] | 0.817944 |
video_2 | 60 | drone | [
835.6929931640625,
190.9630126953125,
907.6541748046875,
264.3801574707031
] | 0.813246 |
video_2 | 66 | drone | [
832.5028076171875,
188.60421752929688,
905.92138671875,
263.4564514160156
] | 0.816223 |
video_2 | 72 | drone | [
833.4915161132812,
192.0808868408203,
903.5297241210938,
266.338134765625
] | 0.823367 |
video_2 | 78 | drone | [
833.532470703125,
194.62338256835938,
904.9078369140625,
265.1103820800781
] | 0.814416 |
video_2 | 84 | drone | [
841.1995849609375,
197.1243438720703,
908.916259765625,
262.09393310546875
] | 0.794153 |
video_2 | 90 | drone | [
838.4763793945312,
197.1529541015625,
912.7402954101562,
263.57318115234375
] | 0.79875 |
video_2 | 96 | drone | [
841.007080078125,
197.22633361816406,
915.8882446289062,
266.198486328125
] | 0.809893 |
video_2 | 102 | drone | [
846.1946411132812,
198.01776123046875,
915.6469116210938,
264.7335205078125
] | 0.816367 |
video_2 | 108 | drone | [
845.5962524414062,
198.17930603027344,
915.4476928710938,
265.34613037109375
] | 0.807521 |
video_2 | 114 | drone | [
844.2247924804688,
198.976318359375,
917.8778686523438,
267.5490417480469
] | 0.8083 |
video_2 | 120 | drone | [
844.4505615234375,
199.520751953125,
919.239990234375,
269.9999694824219
] | 0.807603 |
video_2 | 126 | drone | [
847.8988037109375,
200.68804931640625,
921.3204345703125,
269.3397521972656
] | 0.81221 |
video_2 | 132 | drone | [
846.6331787109375,
188.89541625976562,
916.095703125,
268.89068603515625
] | 0.800304 |
video_2 | 138 | drone | [
844.4902954101562,
200.31134033203125,
916.3504028320312,
268.6800842285156
] | 0.81942 |
video_2 | 144 | drone | [
840.210205078125,
199.52041625976562,
915.95947265625,
268.7659912109375
] | 0.807583 |
video_2 | 150 | drone | [
841.1438598632812,
196.62246704101562,
909.4553833007812,
268.8302917480469
] | 0.802477 |
video_2 | 156 | drone | [
836.6856689453125,
197.81858825683594,
905.9862060546875,
265.67889404296875
] | 0.804197 |
video_2 | 162 | drone | [
839.8765869140625,
197.15414428710938,
909.9076538085938,
264.2899475097656
] | 0.79868 |
video_2 | 168 | drone | [
841.3434448242188,
196.20657348632812,
910.7415161132812,
262.2644348144531
] | 0.793305 |
video_2 | 174 | drone | [
839.6522827148438,
194.90814208984375,
914.2703247070312,
262.3712158203125
] | 0.798627 |
video_2 | 180 | drone | [
843.634033203125,
193.029052734375,
913.490234375,
263.6671142578125
] | 0.800881 |
video_2 | 186 | drone | [
842.6987915039062,
192.9510955810547,
912.9702758789062,
261.84442138671875
] | 0.792691 |
video_2 | 192 | drone | [
841.193115234375,
189.87757873535156,
913.5979614257812,
257.72894287109375
] | 0.797073 |
video_2 | 198 | drone | [
839.333740234375,
188.1730499267578,
910.4034423828125,
257.63775634765625
] | 0.796752 |
video_2 | 204 | drone | [
838.575439453125,
185.52452087402344,
907.904296875,
256.4896240234375
] | 0.800421 |
video_2 | 210 | drone | [
840.2515869140625,
184.95982360839844,
911.7586669921875,
255.4398651123047
] | 0.791583 |
video_2 | 216 | drone | [
839.318115234375,
184.35809326171875,
911.1143188476562,
256.4132080078125
] | 0.793612 |
video_2 | 222 | drone | [
844.0175170898438,
184.31153869628906,
913.4199829101562,
254.0522003173828
] | 0.79725 |
video_2 | 228 | drone | [
842.5748291015625,
184.14007568359375,
913.8057861328125,
252.86355590820312
] | 0.800862 |
video_2 | 234 | drone | [
840.3612670898438,
183.9597930908203,
914.2260131835938,
254.1123504638672
] | 0.793091 |
video_2 | 240 | drone | [
837.99462890625,
184.31739807128906,
914.640380859375,
254.53289794921875
] | 0.793508 |
video_2 | 246 | drone | [
840.1199340820312,
184.23239135742188,
910.2833862304688,
253.9471435546875
] | 0.793791 |
video_2 | 252 | drone | [
837.6882934570312,
184.44534301757812,
909.8728637695312,
253.6651153564453
] | 0.7911 |
video_2 | 258 | drone | [
838.0427856445312,
184.5992889404297,
909.9065551757812,
254.03407287597656
] | 0.79386 |
video_2 | 264 | drone | [
837.044189453125,
184.8348388671875,
912.4876708984375,
252.93353271484375
] | 0.797228 |
video_2 | 270 | drone | [
840.255859375,
184.3997039794922,
913.7352294921875,
253.91688537597656
] | 0.797161 |
video_2 | 276 | drone | [
844.1253662109375,
183.98135375976562,
912.6002197265625,
254.42202758789062
] | 0.799538 |
video_2 | 282 | drone | [
842.8707275390625,
183.11666870117188,
917.2459716796875,
253.222900390625
] | 0.800182 |
video_2 | 288 | drone | [
845.4168090820312,
184.2707061767578,
917.3648071289062,
254.8985137939453
] | 0.803462 |
video_2 | 294 | drone | [
845.8043212890625,
184.66128540039062,
916.7313232421875,
254.28604125976562
] | 0.804572 |
video_2 | 300 | drone | [
847.135986328125,
183.94073486328125,
914.9263916015625,
252.82742309570312
] | 0.800778 |
video_2 | 306 | drone | [
844.7838134765625,
183.92738342285156,
914.2210693359375,
253.25486755371094
] | 0.800517 |
video_2 | 312 | drone | [
843.3167724609375,
183.58657836914062,
913.3018798828125,
250.9701690673828
] | 0.798189 |
video_2 | 318 | drone | [
840.2506713867188,
182.98727416992188,
914.9291381835938,
250.7233428955078
] | 0.800498 |
video_2 | 324 | drone | [
840.5147094726562,
180.19949340820312,
916.1524658203125,
251.55258178710938
] | 0.802851 |
video_2 | 330 | drone | [
840.1036376953125,
179.75765991210938,
917.403076171875,
249.72894287109375
] | 0.79765 |
video_2 | 336 | drone | [
840.7619018554688,
177.76625061035156,
913.8451538085938,
247.70054626464844
] | 0.807525 |
video_2 | 342 | drone | [
840.8428344726562,
178.10690307617188,
917.8837280273438,
245.92984008789062
] | 0.81167 |
video_2 | 348 | drone | [
842.1560668945312,
175.18240356445312,
914.7138061523438,
249.15298461914062
] | 0.81146 |
video_2 | 354 | drone | [
841.1102294921875,
176.16673278808594,
917.9232177734375,
244.91404724121094
] | 0.809087 |
video_2 | 360 | drone | [
845.2283935546875,
175.53961181640625,
917.5931396484375,
244.36050415039062
] | 0.820237 |
video_2 | 366 | drone | [
842.0755004882812,
174.2732391357422,
914.8972778320312,
242.272705078125
] | 0.807428 |
video_2 | 372 | drone | [
840.2019653320312,
172.2089080810547,
910.8517456054688,
239.8230743408203
] | 0.804675 |
video_2 | 378 | drone | [
839.0648193359375,
171.85679626464844,
912.0321044921875,
240.1666717529297
] | 0.799803 |
video_2 | 384 | drone | [
838.437744140625,
172.41085815429688,
909.50244140625,
238.48556518554688
] | 0.790697 |
video_2 | 390 | drone | [
836.4585571289062,
171.59405517578125,
911.9285888671875,
236.27157592773438
] | 0.793222 |
video_2 | 396 | drone | [
840.54443359375,
167.91470336914062,
911.9884033203125,
237.2723388671875
] | 0.793112 |
video_2 | 402 | drone | [
838.6937255859375,
165.35818481445312,
909.9949951171875,
236.53231811523438
] | 0.8034 |
video_2 | 408 | drone | [
838.7779541015625,
168.89511108398438,
913.938720703125,
239.03411865234375
] | 0.806017 |
video_2 | 414 | drone | [
841.584228515625,
169.64306640625,
916.8922119140625,
238.61895751953125
] | 0.802307 |
video_2 | 420 | drone | [
842.33203125,
168.77760314941406,
916.156494140625,
236.1127166748047
] | 0.796861 |
video_2 | 426 | drone | [
844.530029296875,
167.18215942382812,
915.4866943359375,
236.48080444335938
] | 0.7981 |
video_2 | 432 | drone | [
843.7005615234375,
167.63319396972656,
915.5467529296875,
238.13868713378906
] | 0.803515 |
Dataset choice and detector configuration. Dataset: Drone Detection Computer Vision Dataset Author: DroneDetectionPITT Dataset Link: https://universe.roboflow.com/dronedetectionpitt-nwyps/drone-detection-yhkcr The dataset contains 34000 drone images across different settings, lighting conditions, and camera proximity. Detector configuration: yolov8. Train 20 epochs. YOLOv8 was chosen because it supports a wide range of tasks, including object detection, that is the main goal of the tasks given.
Kalman filter state design and noise parameters. State (Position and Velocity) = KalmanFilter(dim_x=4, dim_z=2). The 4D state vector (kf.x) represents the horizontal position, vertical position, horizontal velocity, and vertical velocity $[x, y, v_x, v_y]$ of the drone's center point." The state was initialized to be able to track the position and velocity (2D setting). This is important to keep track of the predicted path when the drone speeds up in one direction or changes trajectories. The state transition matrix used was the standard for this task. This initialization was important to keep predicting the next position when the drone was out of frame or when the model could not accurately predict it on the frame. The variable Q, which processes uncertainty and noise, was set to a low value to minimize jumps when tracking the trajectory, resulting in a smoother path. The measurement of uncertainty/noise (R) was set to 5, which is a low value. This tells the filter to have high confidence in the YOLO detections, allowing the tracker to stay tightly locked on the bounding box." The P = 1000 was important to set a high value in the initial uncertainty, so when we start tracking the drone, the initial position is the prediction made by the model and not in the traditional (0,0) coordinates. This resulted in a more accurate initial tracking and more smooth path prediction kf = KalmanFilter(dim_x=4, dim_z=2) kf.x = np.array([0., 0., 0., 0.]) kf.F = np.array([[1, 0, 1, 0], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]]) kf.H = np.array([[1, 0, 0, 0], [0, 1, 0, 0]]) kf.P *= 1000. kf.R = 5 kf.Q = np.eye(4) * 0.1
Failure cases and how the tracker handles missed detections.
Overall, the detector is very consistent when detecting the drone movements, but there are some failure cases that can be detected in the output video.
In video 1, at 49 seconds the drone is out of frame, at this time the filter detected the drone comming from the left to center of the frame, this was an error.
At 51 seconds the drone is seen appearing again on the top in the center of the frame. Then the filter trackline jumps to track the new apperance of the drone.
In this video the filter is dealing well even when the drone is far away in the background.
The video 2 is much shorter because only the frames where drone is in frame was kept.
In the source video, the drone is flying more distant from the camera, making it appear smaller, this resulted in some missed predictions, that resulted in less frames and a shorter output video.
The filter can track the drone when it's flying high, this creates a contrast between the drone's color and the blue/white from the sky, making it easier to track.
However, when the drone is flying near the tree line, away from the camera, the filter is not able to find it.
For example, in the source video, around minute 4:18, the drone is flying near the trees, but my filter wasn't able to detect/track it.
In this scenario, the trees represent a background noise that was not possible to overcome.
The final videos were composed using OpenCV for the initial tracking overlays and FFMPEG for post-processing. Video 1 = https://youtu.be/Prhxi2QmeYs Video 2 = https://youtu.be/We0wBb3-4s0
- Downloads last month
- 29