IngredientCamera

fun IngredientCamera(onDismiss: () -> Unit, onImageCaptured: (Uri) -> Unit)

The view that allows the user to take an image or upload one from their device that is sent to the backend and then returns a list of the ingredients

Parameters

onDismiss

function when loosing focus

onImageCaptured

function to send the data to the backend