Loading...
A component that displays the camera feed and sends camera frames
/** * A component that displays the camera feed and sends camera frames * to the food detection models. */
import { DetectionCameraView } from '@passiolife/nutritionai-react-native-sdk-v3'
<DetectionCameraView style={{flex:1}} />
A component for displaying food icons from the Passio SDK.
/** * A component for displaying food icons from the Passio SDK. */
import { PassioIconView, type IconSize } from '@passiolife/nutritionai-react-native-sdk-v3'
<View style={{ height: 60, width: 60, overflow: 'hidden', borderRadius: 30, }} > <PassioIconView style={{ height: 60, width: 60, }} config={{ passioID: "iconID", iconSize: IconSize.PX180, }} /> </View>