Skip to content

Commit

Permalink
doc(pipeline): document TrafficImage fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzy committed Oct 8, 2024
1 parent 3725fde commit bf6aef5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pipeline/TrafficImage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
class TrafficImage:
"""Traffic Image to be rated for congestion.
Attributes:
image: URL that retrieves Traffic camera image.
processed: Whether this TrafficImage instance has been processed.
congestion_rating: 0-1 Congestion Rating
camera_id: ID of the camera that captured this image
longitude: Longitude of the camera that captured this image
latitude: Latitude of the camera that captured this image
"""

def __init__(
self,
image=None,
Expand Down

0 comments on commit bf6aef5

Please sign in to comment.