Closed kayvonf closed 6 years ago
for example
result = qs_to_result(FaceTrack.objects.filter(idin=Face.objects.annotate(height=F('bbox_y2')-F('bbox_y1')).filter(framevideoid=791, labelername='mtcnn', height__gte=0.3).distinct('track').values('track')), segment=True)
for example
find all faces
result = qs_to_result(FaceTrack.objects.filter(idin=Face.objects.annotate(height=F('bbox_y2')-F('bbox_y1')).filter(framevideoid=791, labelername='mtcnn', height__gte=0.3).distinct('track').values('track')), segment=True)