added support for image orientation filter (#4404)

* added support for image orientation filter
* Add orientation filtering to scenes
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
keenbed
2024-01-16 03:50:17 +01:00
committed by GitHub
parent aeb68a5851
commit 14bde44597
14 changed files with 157 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ type ImageFilterType struct {
OCounter *IntCriterionInput `json:"o_counter"`
// Filter by resolution
Resolution *ResolutionCriterionInput `json:"resolution"`
// Filter by landscape/portrait
Orientation *OrientationCriterionInput `json:"orientation"`
// Filter to only include images missing this property
IsMissing *string `json:"is_missing"`
// Filter to only include images with this studio