ESP32 CAM can't upload to firebase - database

Hi I want to upload a face sample from the esp32 cam to firebase but I can't find the line of code that shows the process of saving to the esp32cam flash memory. the code I use is the default code from esp32cam. can anyone help?

Related

How to create AI Images (Midjourney) by code?

I want to create an app that creates Midjourney images.
The problem is that Midjourney doesn't provide an API, it works from Discord.
How to automate the process of image generation without the need to open Discord?

How to access blob image link from network tab

On uploading an image file, I'm seeing a network call like this
blob:https://localhost:8080/a59ee740-63c4-4daa-a685-67ee0248b2f8
I'm quite new to programming. Could someone help me to figure out how to access this link?

It's possible to trigger react-qr-scanner in Cordova?

I'm trying to trigger the ReactJS QR Code Scanner using the "react-qr-scanner" Library, it's working perfectly fine in browser.
However, when I put it into a Cordova as a iOS/aOS Mobile Application, it would only show the blank page and having the following error message
"ERROR: {"name":"NoVideoInputDevicesError","message":"No video input devices found"}".
*The Camera Permission already enable for that mobile app
May I know how can I fix it. Thank you very much !!
Update 1:
I'm using the example code to trigger the QR Code Scanner
https://www.npmjs.com/package/react-qr-scanner

Uploading file in react native Android

I'm making my android app with react native.
I want to make an upload(file, image) to my api server.
I searched in google, but I have some question.
The upload Flow what I thought is like below.
1. GET ACCESS TO LOCAL STORAGE
2. IF PERMISSION GRANTED, CLICK BUTTON AND MAKE POPUP
3. SELECT THE FILE/IMAGE AND GET URI
4. UPLOAD FILE WITH AXIOS
Am I thinking wrong? Is there a library to make it easier? Thank you
you can use react-native-image-crop-picker . it will ask for permission and you can take picture from camera or select image from gallery
if you want file other than image you can use react-native-document-picker
then upload file using axios

Unable to store image in PouchDB--Ionic/angularjs/pouchdb

I am working to collect and store personal info / pic locally on PouchDB using ionic/angularjs. Then i would sync remotely to a server at a later time.
However, i have an array to collect the info, but i do not know how to store the pic using same array although i am able to display it in pictureUrl. Please, i would appreciate your kind help.
NOTE: The pic needs to be stored immediately i snap and click save.
Have you read the PouchDB guide to attachments? There are lot of live examples in there of working with images and storing them in PouchDB, which you can test right in your browser. :)

Resources