Вы хотели бы добавить больше информации к вашему вопросу, но если вы использовали некоторые методы, чтобы input
удерживал ваш источник изображения URI, тогда вы можете получить значение через:
<input id="image-input" type="file" accept="image/*" capture="camera" />
// js:
const input = document.querySelector("#image-input")
input.addEventListener('change', _ => {
// if you want to read the image content
const reader = new window.FileReader()
// input.files[0] is the first image, you may want to directly use it instead of read it
reader.readAsDataURL(input.files[0])
// reader.result is the image content in base64 format
reader.addEventListener('load', _ => console.log(reader.result))
})