fix(autopilot): type the lineup box so the deploy build passes
The row of a team is a box, not a detection. The API build rejected the crop rules on that.
This commit is contained in:
1 parent
43fe5b1c58
commit
74d05a13ea
1 file changed
+1
-1
@@ -275,7 +275,7 @@ export function findSubject(
|
||||
// of them would delete the others, which is not the photograph.
|
||||
const cast = openCast(people) ?? widePlan(people);
|
||||
if (cast) {
|
||||
const box = cast.reduce((u, p) => union(u, p), cast[0]!);
|
||||
const box = cast.reduce<Box>((u, p) => union(u, p), cast[0]!);
|
||||
return { box, reason: "group", people: cast };
|
||||
}
|
||||
// The main subject: the person the camera focused on, when that point lands on someone who is sharp and
|
||||
|
||||
Reference in new issue
Block a user