Skip to content

Target Detection: Calculate GPS Coordinates From Pixel Coordinates #5

@jeffstjean

Description

@jeffstjean

Right now, the GPS coordinate calculation is done in the main script. Instead, this should be performed by the TargetDetect class so that its "inputs" are a frame and some telemetry and its "outputs" are GPS coordinates (along with other metadata like the detected pixel coordinates and any useful CV2 frames for debugging).

I say "inputs" and "outputs" because this won't necessarily be one function that does everything. Instead, we might break it up into multiple smaller functions that have specific focuses. Think about the best way to break this up so that functions are small and have a single focus. We can add "aggregate" functions as well that do multiple things but keep the heavy-lifting in small bite-sized chunks for readability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions