Module 3/20 · Weeks 2 · 7 h

Real-time image and data acquisition

UAT 460 UAS for Public Safety, Search and Rescue, and Emergency Management

About 90 minDraft, awaiting reviewLast updated 1 October 2026

Lesson

By the end of this module you will be able to

  1. Choose the real-time product that fits the question, namely live video, geotagged stills, a quick-look map or sensor readings
  2. Design live-video distribution to several field units over a limited uplink
  3. Calculate the flight height, photo spacing, number of lines and time for a quick-look map of an incident scene
  4. Explain the response time of a drone-mounted vapour sensor and interpret readings against exposure limits with care

Prerequisites: Module 2 Area monitoring and emergency support · UAT 207 Communication and Data Network Systems (recommended)

Why this matters

On Loy Krathong night four units want the drone picture at the same time: the municipal emergency operations centre, the police command, the fire incident commander and the emergency medical service. But the cellular network at the festival is packed with tens of thousands of people sending photos and video, so the uplink at the launch point is far below normal. If the team sends a separate stream to every unit, the video stutters and freezes for all of them at once.

Two weeks later at the tanker incident, the commander does not want video all the time. They want a map they can measure on, to set cordon lines and the staging area, and the hazmat officer wants to know how far the toluene vapour has spread. This module is about acquiring images and data in real time and getting them to users in a form they can use straight away. The basics of bit rate, latency budgets and KLV metadata were covered in Module 4 of UAT 454.

Four real-time products

ProductAvailable withinFits the questionLimits
Live videoa few secondswhat is happening now, what is movingneeds bandwidth and a watcher, hard to measure on
Stills with time and coordinatesone or two minuteswhat the placard says, whether someone is trappedshows only the spot photographed
Quick-look map (mosaic of many stills)ten to thirty minutesdistances, extent, area, cordon linesneeds processing, not survey-grade
Sensor readings such as vapour or temperaturea few seconds per pointhow far the substance has spreadvalues at drone height are not what people breathe

A good team chooses the product from the question rather than defaulting to live video because it looks exciting. One well-zoomed still with time and coordinates often answers a question better than ten minutes of live video.

Automatic detection of people or vehicles with artificial intelligence can lighten the load on viewers. The VisDrone dataset, used to benchmark object detection and tracking in drone imagery, was collected in 14 cities in China (Zhu et al., 2022). A model trained on data like this may perform less well on night-time festival footage full of decorative lights and sky lanterns. Model output should therefore point people to places to check, not give the final answer.

Live video to several units

The live-video path runs from the camera on the drone, over the video link to the ground station, then over a cellular or other network to the viewers. The narrowest part is usually the uplink from the launch point, because networks are built with more downlink than uplink capacity, and everyone at the event competes for the uplink of the same base station.

There are two remedies: lower the bit rate with a lower resolution or a more efficient encoder, and upload once to a media server connected to fibre, which then re-streams to every viewer. If a plan sends streams at rates , times over ( equals the number of viewers for separate streams and through a server), the total must not exceed the measured uplink after keeping a share free for fluctuations:

Minimum bit rates per stream can be taken from the settings tables of a major streaming platform. YouTube’s table gives minimum bit rates for 1080p at 30 frames per second of 5 Mb/s with H.264 and 4 Mb/s with H.265; for 720p at 30 frames per second, 3 and 2 Mb/s; and for 480p, 0.4 Mb/s with H.264 (Google, n.d.). Drone video, which moves constantly and is full of detail, may need more than the minimum, so the team should test with its own footage.

Example 1 Live video to four units over a congested uplink

During the crowd peak the team measures 10 Mb/s of uplink at the launch point and keeps 30% free. There are four viewing units, and the team compares three plans (measurement assumed; bit rates are the table minimums).

import math
# can the live video reach four command posts over a congested cellular uplink? (assumed values)
uplink, headroom = 10.0, 0.30            # Mb/s measured at the launch point, share kept free
budget = uplink * (1 - headroom)
viewers = ["EOC", "police command", "fire IC", "EMS"]
plans = {  # plan: (list of (stream, Mb/s), streams are sent once per viewer?)
    "direct to each viewer, 720p30 H.264": ([("EO 720p30 H.264", 3.0)], True),
    "one upload to a server, 1080p30 H.264": ([("EO 1080p30 H.264", 5.0), ("thermal 480p30", 0.4)], False),
    "one upload to a server, 720p30 H.265": ([("EO 720p30 H.265", 2.0), ("thermal 480p30", 0.4)], False),
}
print(f"usable uplink {budget:.1f} Mb/s")
for name, (streams, per_viewer) in plans.items():
    rate = sum(r for _, r in streams) * (len(viewers) if per_viewer else 1)
    print(f"{name:<40} {rate:5.1f} Mb/s -> {'fits' if rate <= budget else 'does not fit'}")
usable uplink 7.0 Mb/s
direct to each viewer, 720p30 H.264       12.0 Mb/s -> does not fit
one upload to a server, 1080p30 H.264      5.4 Mb/s -> fits
one upload to a server, 720p30 H.265       2.4 Mb/s -> fits

Separate streams to every unit need 12 Mb/s, more than the usable uplink, even though each is only 720p. Uploading once through a server works for both other plans. The team makes the third plan, at 2.4 Mb/s, the default because it leaves plenty of room when the network worsens at the peak, and switches to 1080p when a unit needs detail. Full-quality video is always recorded on the drone’s memory card.

Top row: arrows from the drone with EO and thermal cameras to the ground station at the launch point, then to the media server; below the arrow, cellular 7.0 Mb/s usable, sending 2.4 Mb/s. The server fans out to four green boxes: EOC, police command, fire IC and EMS. Bottom row: from the drone down to the on-board memory card, then original plus hash, then the unit data store
Figure 1 Live-video path to four field units and the path of the originals

The system must keep working when the network fails. The team therefore prepares a fallback mode: when the uplink falls below 1 Mb/s, send a still with time and coordinates every minute instead of video, which still keeps the age of information far below radio reporting as calculated in Module 1, and have the data manager pass the key points over the unit’s radio. The National Disaster Prevention and Mitigation Plan already requires at least two communication systems.

Quick-look map of the scene

A quick-look map is built from many overlapping stills stitched into one image. It can be used to measure distances, lay out cordons and place the staging area. The size of one pixel on the ground is the ground sample distance (GSD):

where is the flight height, the pixel pitch of the sensor and the focal length. One image covers pixels times the GSD on the ground. With forward overlap and side overlap , the photo spacing along a line and the spacing between lines are

Example 2 A 240 m × 160 m quick-look map around the tanker

The commander asks for a map 240 m along the road and 160 m across it. The camera has 5472 × 3648 pixels of 2.41 µm and an 8.8 mm lens. The team would like a 3 cm GSD, but that needs a height of 109.5 m, above the 90 m ceiling of the general conditions, so it flies at 80 m. Forward overlap is 75% and side overlap 65%; the drone flies the lines at 8 m/s and takes 12 seconds per turn (assumed values).

# quick-look map of the tanker scene (assumed camera 5472 x 3648 px, 2.41 um pixels, 8.8 mm lens)
W, H, pix, f = 5472, 3648, 2.41e-6, 8.8e-3
area_x, area_y = 240.0, 160.0            # m, along the road, across the road
h = 80.0                                 # m above ground, below the 90 m limit
gsd = h * pix / f
foot_w, foot_h = W * gsd, H * gsd        # across track, along track (landscape)
front, side = 0.75, 0.65
step, spacing = foot_h * (1 - front), foot_w * (1 - side)
lines = math.ceil(area_y / spacing) + 1
shots = math.ceil(area_x / step) + 1
v, turn = 8.0, 12.0                      # m/s, s per turn between lines
t = (lines * area_x + (lines - 1) * spacing) / v + (lines - 1) * turn
print(f"GSD {gsd * 100:.2f} cm, footprint {foot_w:.1f} x {foot_h:.1f} m")
print(f"photo every {step:.1f} m, line spacing {spacing:.1f} m")
print(f"{lines} lines x {shots} photos = {lines * shots} photos, {t / 60:.1f} min on the lines")
GSD 2.19 cm, footprint 119.9 x 79.9 m
photo every 20.0 m, line spacing 42.0 m
5 lines x 14 photos = 70 photos, 3.6 min on the lines

At 80 m the GSD is 2.19 cm, finer than requested, because the pixels are small and the lens long enough. The team flies five lines and takes 70 photos in under four minutes on the lines; most of the remaining time goes into stitching on the computer in the command vehicle. The last line and the last photo of each line extend a little beyond the area so the map edges have full overlap. The lines must not pass over the vapour downwind, so the team starts with the line furthest upwind and drops any line that would cross the vapour.

A grey rectangle 240 by 160 metres with an orange road running horizontally and a yellow tanker in the middle. Five horizontal purple flight lines 42.0 metres apart, each with fourteen blue photo points. The last line and the last point of each line extend slightly beyond the area
Figure 2 Flight lines and photo points of the quick-look map around the tanker

A quick-look map is for field decisions; it is not a survey map with ground control points. The team should always tell users roughly how large the position error is and when the images were taken, because the first and last lines of one map are captured several minutes apart.

Data from a vapour sensor

Images show that liquid is leaking but not how far the vapour has spread. Drones carrying chemical sensors are increasingly used for mapping gas concentrations, locating sources and estimating emission rates. The review by Burgués and Marco (2020) gathers these applications and concludes that both technological and regulatory limitations still need to be addressed. At this incident the team fits a photoionization detector (PID), which measures volatile organic compounds such as toluene.

A sensor does not read the true value instantly. After a step change in concentration, the reading approaches the true value like a first-order system:

where is the reading, the true concentration and the time to reach 90% of the true value, which the manufacturer states in the sensor data sheet. It is like a mercury thermometer that must stay in your mouth for a while before it reads correctly. Rotor downwash also stirs the air around the sensor, so the team hovers at each point for at least before logging a value.

The values to compare with, from the NIOSH Pocket Guide for toluene, are the recommended exposure limit (REL) of 100 ppm as a time-weighted average over a working day, a short-term limit of 150 ppm, and the immediately dangerous to life or health (IDLH) value of 500 ppm (National Institute for Occupational Safety and Health, n.d.).

Example 3 Toluene readings by downwind distance

The sensor has a of 10 seconds. The team compares flying through a 20 m wide plume with hovering, then measures six points along the downwind line at 10 m height, hovering at each (readings assumed).

# reading a photoionisation detector (PID) on the drone, first-order sensor (assumed values)
t90 = 10.0                               # s to reach 90 % of a step change
tau = t90 / math.log(10)
print(f"time constant {tau:.2f} s")
for v, width in ((4.0, 20.0), (2.0, 20.0)):
    frac = 1 - math.exp(-(width / v) / tau)
    print(f"crossing a {width:.0f} m plume at {v:.0f} m/s shows {frac:.0%} of the true value")
REL, IDLH = 100, 500                     # ppm, toluene
pts = [(30, 620), (60, 310), (100, 140), (150, 85), (200, 40), (300, 12)]   # m downwind, ppm after hovering t90
for d, c in pts:
    tag = "above IDLH" if c >= IDLH else ("above REL" if c >= REL else "below REL")
    print(f"{d:3d} m: {c:4d} ppm  {tag}")
(d1, c1), (d2, c2) = pts[2], pts[3]
d_rel = d1 + (math.log(c1) - math.log(REL)) / (math.log(c1) - math.log(c2)) * (d2 - d1)
print(f"reading falls to {REL} ppm at about {d_rel:.0f} m downwind")
time constant 4.34 s
crossing a 20 m plume at 4 m/s shows 68% of the true value
crossing a 20 m plume at 2 m/s shows 90% of the true value
 30 m:  620 ppm  above IDLH
 60 m:  310 ppm  above REL
100 m:  140 ppm  above REL
150 m:   85 ppm  below REL
200 m:   40 ppm  below REL
300 m:   12 ppm  below REL
reading falls to 100 ppm at about 134 m downwind

Flying through the plume at 4 m/s shows only 68% of the true value, which understates the hazard; slowing to 2 m/s or hovering gives 90%. The hovering readings fall below 100 ppm at about 134 m downwind (interpolated on a logarithmic scale between points, because concentration falls roughly exponentially), inside the ERG downwind evacuation distance of 300 m. The data supports keeping 300 m, but it does not mean people beyond 134 m are safe: the value at 10 m height is not the value at nose height, and the REL is a working-day average. Decisions to widen or reduce the zone belong to the hazmat officer and the commander.

Blue line graph of readings against downwind distance: 30 m 620 ppm, 60 m 310, 100 m 140, 150 m 85, 200 m 40 and 300 m 12. A pink dashed line marks IDLH 500 ppm and a yellow dashed line REL 100 ppm. A green vertical line at 134 m marks where the data line crosses 100 ppm
Figure 3 Vapour readings from the drone-mounted detector by downwind distance

Every sensor value needs a time, position and height, just like a photo. The clocks of the drone, sensor and camera must agree, so the team synchronises them to GNSS time before flight and logs times in UTC with the time zone, so that data from different sources are not merged in the wrong order.

Module lab

Lab: live video to several units, a quick-look map and sensor response time

  1. Live video. Set up a media server on a laptop (for example open-source streaming software), upload once from the ground station and have three student groups watch at the same time. Measure the actual bit rate and latency by filming a clock that shows milliseconds.
  2. Throttle the uplink on the router and test the fallback mode that sends a still every minute. Record what each group sees and how late.
  3. Quick-look map. Map an area of about 120 m × 80 m on campus within visual line of sight under CAAT conditions, plan the lines with the code in Example 2, stitch the images and measure the distance between two points against a tape measure.
  4. Sensor response time. On a test bench, use a safe humidity or carbon-dioxide sensor and make a step change in conditions (for example moving it from an air-conditioned room outdoors). Log a value every second, find and compare with the first-order model.
  5. Write a recommendation on which real-time product answers which of the commander’s questions, with the limits of each.

Common mistakes

Watch out

  • Sending a separate stream to every viewer until the uplink is full and every unit’s picture freezes.
  • Using only live video when a geotagged still or a quick-look map answers the question better.
  • Not recording full-quality originals on the drone, leaving only heavily compressed streaming video.
  • Flying fast through a plume and reading at once, which understates the value because of sensor response time.
  • Treating drone readings as human exposure without considering height and the averaging time of the limit.
  • Unsynchronised device clocks, which put data from different sources in the wrong order.

Summary

  • Choose the real-time product from the question: live video for what moves, geotagged stills for detail, quick-look maps for distances and extent, sensors for what cannot be seen.
  • The total bit rate must not exceed . Uploading once through a media server makes , and a fallback is needed when the network fails.
  • Quick-look maps use , photo spacing and line spacing from the overlaps, with height kept under the ceiling of the conditions.
  • A first-order sensor reads of the true value; hover at least and interpret readings against REL and IDLH with care.

Self-check questions

  1. The measured uplink is 8 Mb/s and 25% is kept free. Can a 720p H.264 stream at 3 Mb/s be sent separately to three units, and how much would it use through a media server?
  2. A camera with 2.41 µm pixels and an 8.8 mm lens flies at 60 m. What is the GSD?
  3. Images are 5472 × 3648 pixels with a 2 cm GSD, forward overlap 80% and side overlap 70% (the 5472-pixel side across track). What are the photo spacing and line spacing?
  4. A sensor has a of 20 seconds and flies through a 30 m wide plume at 3 m/s. What percentage of the true value does it read?
  5. Why does a reading of 85 ppm taken by the drone at 10 m height not show that people on the ground at that spot are safe?
Answers
  1. Usable Mb/s. Separate streams need Mb/s, which is too much. Through a server it uses only 3 Mb/s.
  2. m, or 1.64 cm.
  3. Photo spacing m; line spacing m.
  4. seconds; time in the plume seconds; reading .
  5. The value at drone height is not the value at nose height, rotor downwash stirs the air around the sensor, concentration changes with wind and time, and the REL is a working-day average. Decisions on evacuation zones belong to the hazmat officer, using several sources.

Key formulas

Total bit rate of a streaming plan
Ground sample distance
Photo spacing and line spacing
First-order sensor response

Key references

  1. Google. Choose live encoder settings, bitrates, and resolutions. YouTube Help. link
  2. Zhu, P., Wen, L., Du, D., Bian, X., Fan, H., Hu, Q., & Ling, H. (2022). Detection and tracking meet drones challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(11), 7380–7399. link
  3. Burgués, J., & Marco, S. (2020). Environmental chemical sensing using small drones: A review. Science of the Total Environment, 748, 141172. link
  4. National Institute for Occupational Safety and Health. (n.d.). NIOSH pocket guide to chemical hazards: Toluene. Centers for Disease Control and Prevention. link
  5. กระทรวงคมนาคม. (2558). ประกาศกระทรวงคมนาคม เรื่อง หลักเกณฑ์การขออนุญาตและเงื่อนไขในการบังคับหรือปล่อยอากาศยานซึ่งไม่มีนักบิน ประเภทอากาศยานที่ควบคุมการบินจากภายนอก พ.ศ. 2558. ราชกิจจานุเบกษา, 132(86 ง), 6–12. link
  6. Kaul, S., Yates, R., & Gruteser, M. (2012). Real-time status: How often should one update? In 2012 Proceedings IEEE INFOCOM (pp. 2731–2735). IEEE. link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Public safety and disasters · Artificial intelligence and computer vision · Inspection, industry and surveillance · Surveying, mapping and geoinformatics