We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ec126 commit 49114d2Copy full SHA for 49114d2
test/tests/globalApi/detectAllFaces.test.ts
@@ -38,7 +38,7 @@ function expectAgesAndGender(results: WithAge<WithGender<WithFaceDetection<{}>>>
38
const { age, gender, genderProbability } = result
39
40
const expectedAge = aligned ? ages[i] : agesUnaligned[i]
41
- expect(Math.abs(age - expectedAge)).toBeLessThanOrEqual(5)
+ expect(Math.abs(age - expectedAge)).toBeLessThanOrEqual(6)
42
expect(gender).toEqual(genders[i])
43
expect(genderProbability).toBeGreaterThanOrEqual(i === 0 ? 0.65 : 0.9)
44
})
0 commit comments