Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6582 Discussions

Running Face recoginition in Android device chrome browser

RanjitSachin
Beginner
2,296 Views

I'm using Ubuntu machine with Webcam for Face recognition and its working fine. Now I'm opening the same appliation in Android device chrome browser.

Expectation: Application should use default camera from Android device instead of webcam. How to do this?

0 Kudos
1 Solution
Wan_Intel
Moderator
2,201 Views

Hi RanjitSachin,

Thanks for the information.

We regret to inform you that OpenVINO™ Toolkit 2023.2 has APIs available for Python, C, and C++ only. For more information on OpenVINO™ APIs, please refer to https://docs.openvino.ai/2023.2/api/api_reference.html


Sorry for the inconvenience and thank you for your support.



Sincerely,

Wan


View solution in original post

0 Kudos
6 Replies
Wan_Intel
Moderator
2,260 Views

Hi RanjitSachin,

Thanks for reaching out to us.


Are you planning to use the camera from an Android device and run the Face recognition application on the Ubuntu machine with OpenVINO™ Toolkit? 

If yes, you may use an IP Webcam to turn your phone into a network camera and use it as input for the application.


For more information on IP cameras, please refer to:



Regards,

Wan


0 Kudos
RanjitSachin
Beginner
2,236 Views

Hi Wan,

Thank you for the quick reply and suggestion.

 

I installed IPWebcam Android app, and configured this stream URL into the openvino camera option. Its working as expected. But the streaming is lagging very much.

ie., Sending Android tablet video stream to OpenVINO and again getting the same stream back to Android app. This is not a right architecture.  We should directly read it wherever we are running the application. It should read default camera app. 

 

Can't we run OpenVINO application in React JS like Tensorflow js?

 

Thank you. Have a good day

0 Kudos
Wan_Intel
Moderator
2,202 Views

Hi RanjitSachin,

Thanks for the information.

We regret to inform you that OpenVINO™ Toolkit 2023.2 has APIs available for Python, C, and C++ only. For more information on OpenVINO™ APIs, please refer to https://docs.openvino.ai/2023.2/api/api_reference.html


Sorry for the inconvenience and thank you for your support.



Sincerely,

Wan


0 Kudos
RanjitSachin
Beginner
2,190 Views

Dear Wan,

Thank you for the great support. Have a nice day. We can close this thread. 

0 Kudos
Wan_Intel
Moderator
2,164 Views

Hi RanjitSachin,

Thanks for your question.


If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.



Regards,

Wan


0 Kudos
LeonCooper51
Beginner
616 Views

That's a great goal for your application on Android.
The key to controlling which camera is used within the Chrome browser relies on the underlying JavaScript code.
Your application, which likely uses the getUserMedia function, needs to specify a video constraint to select the device's camera.
You must ensure the code requests the setting facingMode: "user" to select the front-facing (selfie) camera.
This setting tells the browser to use the device's camera that faces the user, meeting your expectation for face recognition.

0 Kudos
Reply