Created
May 5, 2022 19:10
-
-
Save eddyxu/65a1bef74b9a27836cb9e5b1fc05dcd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM ( | |
SELECT | |
*, | |
ML_PREDICT(coco_det, image) as det, | |
ML_PREDICT(hardhat, image) as hat | |
FROM hardhat | |
) WHERE array_contains(hat.label, "helmat") | |
AND array_contains(hat.label, "head") | |
AND array_contains(det.label, "truck") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment