Skip to content

Tests for the image classification and flight tail removal logic #702

@spwoodcock

Description

@spwoodcock
  • We just merged in a big update to the imagery upload workflow, including classification into task areas and removal of rejected images based on various criteria.
  • @allisonsibrian also did some great work removing flight tails as part of the processing workflow.
  • I did some tweaks to all of this / ordering / logic, so ensure it all fits nicely together.
  • This needs to be tested thoroughly.
  • I have a basic testing dataset: https://github.com/spwoodcock/drone-testdata-agung-1, however this isn't ideal for flight tails testing, as the data is geographically separated and bit random.
  • https://github.com/spwoodcock/drone-testdata-agung-2 should be better for flight tail testing. The data need to be synced from the public S3 bucket. I haven't as of 18-01-2025 managed to add the dummy data such as invalid EXIF, blurry images, lens cap simulation, etc - to come!
  • The key part of this issue is adding automated tests. We don't actually need to upload imagery for automated tests, instead relying on inserting data into project_images with simulated EXIF data. We can then run the workflows to see if we get the expected sorting of data.

Metadata

Metadata

Labels

backendRelated to backend codeeffort:mediumLikely a day or twopriority:lowBacklog of tasks that will be addressed in timerepo:drone-tmtestsRelated to automated code tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions