Skip to content

face detection returns []  #44

@vidurajith-darshana

Description

@vidurajith-darshana

Hello, I'm facing an issue with my IOS device. When I send an image URL captured through a react-native-vision-camera it returns an empty array. Do you know how I can solve this?

const photo = await camera.current.takePhoto({
enableShutterSound: false,
});

try {
const faceResults = await FaceDetection.detect('file://' + photo.path, {
contourMode: 'all',
});
console.log(faceResults);
} catch (e) {
console.log(e);
}

EX: I didn't use any firebase package.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions