Camera2 api MIUI vs Custom rom - Xiaomi Mi 10T / 10T Pro Questions & Answers

Hi, I would like to use the wide angle and macro lens in apps that access the camera using the "camera2 api"... Unfortunately on MIUI only the main camera supports the camera2 api...
If I install a custom rom, will I get all lenses to support camera2 api? (I had a Huawei p30 pro in my hand, on which it worked normally)
Maybe i could add camera2 api support by editing build.prop... but I don't know how.
Could someone help me? can someone confirm me that "Camera2 API Probe" app show camera2 api ID for all lenses? (on custom rom ofc.)

plakonn said:
I need camera2 api for additional lenses (macro, ultrawide), but on MIUI only main lens support that. Can i fix it by installing custom rom? (Does custom roms have camera2 API for of the additional lenses?)
I guess support for the additional lenses can be added to build.prob, but i think nobody figured how to do it. (and even with root i cant edit build.pro for some reason... so it wouldn't help me anyway)
EDIT: Can someone with custom rom tell me? (if app "Camera2 API Probe" show all lenses? i mean more than two camera IDs)
Click to expand...
Click to collapse
All the lenses on miui rom support Camera2api and all lenses can be enabled in gcam for example on bsg or arnova.

zaqm said:
All the lenses on miui rom support Camera2api and all lenses can be enabled in gcam for example on bsg or arnova.
Click to expand...
Click to collapse
I would like to use all lenses on third party apps downloaded from playstore... (like Streamlabs, filmic pro (and other camera apps)
app called "Camera2 API Probe" show camera2 api support for two lenses... ID 0 (that is main sensor) and ID 1 (that is selfie cam.)
As i mentioned in edited post. I had borrowed Huawei p30 pro, that was able to use all lenses in these apps.

Xiaomi is restricting third party apps to "see" the additional lenses. You'll have to edit the build.prop to add their package names in order for them to be recognised. Still there's no guarantee that it would work.

zaqm said:
Xiaomi is restricting third party apps to "see" the additional lenses. You'll have to edit the build.prop to add their package names in order for them to be recognised. Still there's no guarantee that it would work.
Click to expand...
Click to collapse
Do you know how to do it? Maybe there is some tutorial, but i can not find it due to my bad english...

plakonn said:
Do you know how to do it? Maybe there is some tutorial, but i can not find it due to my bad english...
Click to expand...
Click to collapse
You need to be rooted and edit the build.prop in Vendor or System by adding the app package name to "vendor.camera.aux.packagelist".

@zaqm Thanks you soooo much! I did not know about this... Thanks you!
Edit: unfortunately its not working... The reason why it don't work may be the fact i don't know how to edit build.pro (im using magiskhide module that can systemless edit build.prop) or its not working cause xiaomi using different approach to aux cameras (or different api.... I dont know)

Related

Camera2 API

hello,
I am wondering if anyone can confirm if the new Nexus' (Nexi?) have the Camera2 API
Thanks
MoreGone said:
I am wondering if anyone can confirm if the new Nexus' (Nexi?) have the Camera2 API
Click to expand...
Click to collapse
The API is something a particular app would support/utilize. Are you asking if the default Camera app on the 5x uses the Camera2 API? I believe the answer to that is yes.
If you're asking if the Camera2 API is available for apps to use, then yes, as this was added in at API 21 (Lollipop 5.0).
Just used custom shutter speed and exposure with Camera FV-5, so yes, definitely supported
Hello,
I was just asking to find out if either stock or with Apps I will get Manual control and RAW DNG support. I am a photographer on the side and love cameras. Always looking to play with new things when it comes to cameras and phones.

[APP][FEEDBACK] Arnova8G2's Google Camera Port

This thread has been created to provide [device name] feedback to @Arnova8G2 regarding his port of the Google Camera app.
Describe your experience (mostly what doesn't work as expected)
Provide logcats (the dev does not have your phone, so logs are needed if you want him to fix stuff)
Mention @Arnova8G2 when you post your feedback
ALL FEEDBACK PROVIDED IN OTHER THREADS OR WITHOUT LOGS WILL BE IGNORED​
Latest update:
v1.4
Arnova8G2 said:
2017/01/04 – GCMod5 based on Mod By B-S-G
Add toggle for portrait mode or Lens Blur
AutoFocus enhancement and faster
Support level override back in ZSl, front in ZSL_REPROCESSING and Level_3 for OP3/OP3t, MI5,Mi5s
Black screen fix test
Add 4K for devices that do not have it
GCam5.1.018-Arnova8G2-V1.4.apk
** Please mention me in the thread of your device with a logcat or screenshots.
Click to expand...
Click to collapse
Previous versions:
v1.3.1
v1.3
Dornyx said:
Hi! I'd like to get Google Camera app with HDR+ on my Xiaomi Mi A1
Click to expand...
Click to collapse
I'm with you! Wanna buy this smartphone but the fact that it's not have Google camera ported yet stops me from buying.
Dornyx said:
Hi! I'd like to get Google Camera app with HDR+ on my Xiaomi Mi A1, but the official XDA port doesn't work. I've heard of some people using the app in SD625 devices, and the Mi A1 has the 625 SoC, so in theory it may be possible to port the app... I can't code, so does anyone know something about a download link that works on Mi A1 or can mod the XDA apk to work on the Mi A1?
Click to expand...
Click to collapse
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
kraatus90 said:
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
Click to expand...
Click to collapse
I don't know how to enable the API: please explain me, if you can. Moreover, is it possible to add EIS to the stock camera or at least in Google Camera ported?
Dornyx said:
I don't know how to enable the API: please explain me, if you can. Moreover, is it possible to add EIS to the stock camera or at least in Google Camera ported?
Click to expand...
Click to collapse
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
kraatus90 said:
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
Click to expand...
Click to collapse
where to add these lines in build prop ?
Red_Man 898 said:
where to add these lines in build prop ?
Click to expand...
Click to collapse
Anywhere. for example add at the end of build.prop.
kraatus90 said:
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
Click to expand...
Click to collapse
Is it possible to modify build.prop without root? Or is it possible to root the phone without having a PC nearby?
Dornyx said:
Is it possible to modify build.prop without root? Or is it possible to root the phone without having a PC nearby?
Click to expand...
Click to collapse
1.No unless you have custom recovery which mia1 doesn't have yet.
2. nope.
i think Google camera hdr+ need a snapdragon 820++ isn't it?
@thewarrior2 It doesn't, it needs a 64bit OS and a snapdragon SoC packing a certain Hexagon DSP
Can anybody post comparison pictures of hdr+ and stock xiaomi camera app? I am really interested in seeing the results before buying this phone.
phonequestion said:
Can anybody post comparison pictures of hdr+ and stock xiaomi camera app? I am really interested in seeing the results before buying this phone.
Click to expand...
Click to collapse
visit mi 5s section for example there is alot of detail with hdr+
Is there really any difference?? i am confused.. My redmi note 3 pro can take better pic with Google camera than this mi a1
kraatus90 said:
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
Click to expand...
Click to collapse
Thanks mate, now i found the glitch
Rakibboss said:
Is there really any difference?? i am confused.. My redmi note 3 pro can take better pic with Google camera than this mi a1
Click to expand...
Click to collapse
If you cant find the difference by looking at the samples posted, then you dont need HDR+.
But the fact is the difference is night and day!
Google is primarily known for software, which is what HDR+ is all about.. It uses the camera h/w, takes many pics when you click the shutter button, each in different contrast, and applies some kick-ass machine learning algorithms on every pixel of each groups of pics it took, fuses all of them, to get awsome looking pics.. Thats all it does, and thats all that no other stock camera app does from any other manufacturer. Thats why it beats even iphone.
So basically, google does more through software , what all others achieve through multiple h/w.. Reason why pixel 2 still has single Camera.
ashjas said:
If you cant find the difference by looking at the samples posted, then you dont need HDR+.
But the fact is the difference is night and day!
Google is primarily known for software, which is what HDR+ is all about.. It uses the camera h/w, takes many pics when you click the shutter button, each in different contrast, and applies some kick-ass machine learning algorithms on every pixel of each groups of pics it took, fuses all of them, to get awsome looking pics.. Thats all it does, and thats all that no other stock camera app does from any other manufacturer. Thats why it beats even iphone.
So basically, google does more through software , what all others achieve through multiple h/w.. Reason why pixel 2 still has single Camera.
Click to expand...
Click to collapse
I said the redmi note 3 pro has better performance with Google camera than this A1.. That's why i said, i am confused
So... does this camera work after modifying build.prop? Could someone upload a few pics comparing the original camera app to this one?
Enviado desde mi Nexus 7 mediante Tapatalk
HDR+ works great~
I'll put comparison later
[email protected] said:
HDR+ works great~
I'll put comparison later
Click to expand...
Click to collapse
Can you enable the raw support?

How to imporve App Camera?

Default Camera App of Xiaomi Redmi Note 5/Pro is not bad!
But when another apps using camera (such as facebook, google Duo...), the picture quality is realy bad? i khow it doen't/isn't because of sensor'quality!
So How to imporve App Camera?
Tks
I always try to take photos with the camera app and then share to other apps, rather than take from within Facebook, hangouts, Viber, WhatsApp, etc. Most of those apps will still compress the image a bit also, so better starting with the best quality image, ie straight from the actual camera app itself.
Sent from my Redmi Note 5 using Tapatalk
gsmyth said:
I always try to take photos with the camera app and then share to other apps, rather than take from within Facebook, hangouts, Viber, WhatsApp, etc. Most of those apps will still compress the image a bit also, so better starting with the best quality image, ie straight from the actual camera app itself.
Sent from my Redmi Note 5 using Tapatalk
Click to expand...
Click to collapse
But it takes many time and inconvenience. Can any one replace default csmera API for app with better one?
dynamic503 said:
But it takes many time and inconvenience. Can any one replace default csmera API for app with better one?
Click to expand...
Click to collapse
You can't change what API an application uses, some apps take advantage of camera2 api. If any of the ones your using do and you haven't enabled camera2 api with magisk or either i think it's a build.prop edit, then there likely to be defaulting to camera1 api that's my guess at least.
This assumes your using a custom rom, i'm not sure if camera2 api is enabled by default with MIUI or if it requires root.Your primary camera app can take advantage of binary, blobs drivers that the third party apps may not necessarily benefit from, no perfect solution try it and see.
gsmyth said:
I always try to take photos with the camera app and then share to other apps, rather than take from within Facebook, hangouts, Viber, WhatsApp, etc. Most of those apps will still compress the image a bit also, so better starting with the best quality image, ie straight from the actual camera app itself.
Sent from my Redmi Note 5 using Tapatalk
Click to expand...
Click to collapse
Alister. said:
You can't change what API an application uses, some apps take advantage of camera2 api. If any of the ones your using do and you haven't enabled camera2 api with magisk or either i think it's a build.prop edit, then there likely to be defaulting to camera1 api that's my guess at least.
This assumes your using a custom rom, i'm not sure if camera2 api is enabled by default with MIUI or if it requires root.Your primary camera app can take advantage of binary, blobs drivers that the third party apps may not necessarily benefit from, no perfect solution try it and see.
Click to expand...
Click to collapse
I have enabled camera api2 already. For google camera. The pic quality is very good. But how can another camera app can use that camera driver?
dynamic503 said:
I have enabled camera api2 already. For google camera. The pic quality is very good. But how can another camera app can use that camera driver?
Click to expand...
Click to collapse
I've asked this type of thing before, and had a few developers try to answer it it's messy. The idea is Samsung, LG, Xiaomi every manufacturer has there own default rom.
They call theirs stock, that's their version of stock, it's customised only AOSP is truly stock, but the manufacturers versions of their "own" stock roms include a binary also referred to as binary, blobs, it's pretty much a closed source driver each manufacturer makes so their default camera looks amazing.
A general idea is replacing stock rom from any manufacturer with any that isn't based of their "own" stock rom isn't going to include their camera driver as it's closed source, so developers can't use it, they can get the cameras working but they don't look great compared to stock with binary. Lots of people avoid custom roms lineage os aosp ect for this reason video calls, all apps using the camera look terrible.
Two exceptions google open sources there camera drivers and oneplus might be some rare others, in these cases camera quality is expected to be the same while using lineage os or aosp.
I'm not 100% sure if all apps use camera1 and camera2 api if you try look for whatsapp or google duo i couldn't confirm it for them, snapchat uses camera1 api instagram uses camera2 api, but maybe some apps don't benefit from camera2 api at all i'm unsure.
I also tried asking if google camera ports, look better on stock roms that have the binary driver from companies, compared to lineage os ect that don't have it, but that's unclear as even tho i'm 100% sure the binary from manufacturers benefit there own made camera apps, i'm not 100% if the binary benefits all third party apps, but i guess it does, as that's likely the reason all apps look worse moving away from stock roms.
Google camera ports may look great on roms without, the binary as they simply make use of camera2 api which doesn't really require anything from the closed source driver, which would explain why everyone raves about google camera ports on lineage os ect been great, before camera 2 api never saw people been overly impressed about camera apps with missing binary drivers.
Are you on MIUI or something else? you did say the stock camera app not google camera looks good and everything else looks worse, if your still on MIUI then maybe they don't have a binary or simply one that only effects there own camera app, you mentioned the camera lens quality also it's mostly software driver optimisations per individual app ect influencing it's quality.
You asked how to make other apps use google cameras driver, well google camera is benefiting from camera2 api that isn't a driver at all, however it is a requirement similar aspect to a driver it's up to each app developer if there going to make there, application benefit from camera1 api or camera2 api or not at all, so you cant force apps to use it when the developer of that app never implemented camera2 api to begin with, you enable camera2 api for google camera because custom roms and lots of phones don't have it enabled at all. Some phones sold from stores have camera2 api enabled out of the box.
I do actually wish there was a way to fix this, as i've thought about this myself, i did ask a question here about the same type of thing you can read it if you like.
https://android.stackexchange.com/questions/200073/stock-os-vs-custom-proprietary-camera
also this the different levels of camera2 api supported depending on your phone
https://www.androidexplained.com/camera2-api-support/
the only other idea, i have is if the rom you use lets you choose the stock camera app to use and you change that to google camera and whatever, but i'm sure that's wishful thinking as when you do a video call an app will likely default to it's own camera even if you do that, but couldn't hurt to try it i guess!
Alister. said:
I've asked this type of thing before, and had a few developers try to answer it it's messy. The idea is Samsung, LG, Xiaomi every manufacturer has there own default rom.
They call theirs stock, that's their version of stock, it's customised only AOSP is truly stock, but the manufacturers versions of their "own" stock roms include a binary also referred to as binary, blobs, it's pretty much a closed source driver each manufacturer makes so their default camera looks amazing.
A general idea is replacing stock rom from any manufacturer with any that isn't based of their "own" stock rom isn't going to include their camera driver as it's closed source, so developers can't use it, they can get the cameras working but they don't look great compared to stock with binary. Lots of people avoid custom roms lineage os aosp ect for this reason video calls, all apps using the camera look terrible.
Two exceptions google open sources there camera drivers and oneplus might be some rare others, in these cases camera quality is expected to be the same while using lineage os or aosp.
I'm not 100% sure if all apps use camera1 and camera2 api if you try look for whatsapp or google duo i couldn't confirm it for them, snapchat uses camera1 api instagram uses camera2 api, but maybe some apps don't benefit from camera2 api at all i'm unsure.
I also tried asking if google camera ports, look better on stock roms that have the binary driver from companies, compared to lineage os ect that don't have it, but that's unclear as even tho i'm 100% sure the binary from manufacturers benefit there own made camera apps, i'm not 100% if the binary benefits all third party apps, but i guess it does, as that's likely the reason all apps look worse moving away from stock roms.
Google camera ports may look great on roms without, the binary as they simply make use of camera2 api which doesn't really require anything from the closed source driver, which would explain why everyone raves about google camera ports on lineage os ect been great, before camera 2 api never saw people been overly impressed about camera apps with missing binary drivers.
Are you on MIUI or something else? you did say the stock camera app not google camera looks good and everything else looks worse, if your still on MIUI then maybe they don't have a binary or simply one that only effects there own camera app, you mentioned the camera lens quality also it's mostly software driver optimisations per individual app ect influencing it's quality.
You asked how to make other apps use google cameras driver, well google camera is benefiting from camera2 api that isn't a driver at all, however it is a requirement similar aspect to a driver it's up to each app developer if there going to make there, application benefit from camera1 api or camera2 api or not at all, so you cant force apps to use it when the developer of that app never implemented camera2 api to begin with, you enable camera2 api for google camera because custom roms and lots of phones don't have it enabled at all. Some phones sold from stores have camera2 api enabled out of the box.
I do actually wish there was a way to fix this, as i've thought about this myself, i did ask a question here about the same type of thing you can read it if you like.
https://android.stackexchange.com/questions/200073/stock-os-vs-custom-proprietary-camera
also this the different levels of camera2 api supported depending on your phone
https://www.androidexplained.com/camera2-api-support/
the only other idea, i have is if the rom you use lets you choose the stock camera app to use and you change that to google camera and whatever, but i'm sure that's wishful thinking as when you do a video call an app will likely default to it's own camera even if you do that, but couldn't hurt to try it i guess!
Click to expand...
Click to collapse
Thankyou very much. But sad. Because many cheaper phone have better facebook messenger video call quality.
dynamic503 said:
Thankyou very much. But sad. Because many cheaper phone have better facebook messenger video call quality.
Click to expand...
Click to collapse
Your welcome, hmm what phones have you seen with better video call quality on facebook messenger? i assume you have compared to more expensive phones.
That just becomes confusing, since for example just because a bunch of apps use camera2 api doesn't mean they will all be the same, software optimisations determine if it looks better or worse.
I would have assumed facebook's software was exactly the same for each phone it has been put on, unless it's simply the case these cheaper phones your speaking of are benefiting from a closed source driver, and for some crazy reason xiaomi phones don't have a binary for it, guess i'll look into that at some point.
Now that i've got this phone, yes xiaomi's camera app in particular is very good photo quality, better then any camera app i've seen on any custom rom very adjustable.
Worth noting i installed lineage os that had the xiaomi's default camera included in the rom i compared the quality to when i was using stock camera on miui itself, i couldn't see any differences in picture quality, which suggests to me perhaps xiaomi's camera isn't using any closed source driver, binary at all and it's quality is simply optimisations and the fact there's no binary driver is why there other apps look worse.
Just guessing at this point, but that's about the only scenario i think makes sense.
Just remembered there's a new thing called Project Treble the note 5 pro can upgrade to be treble compatible i have the note 5 ai so i got treble out of the box the crux is, if you flash a rom well a treble rom is called a GSI, generic system image a benefit of this, if it allows you to keep the vendor partition untouched while using custom roms, the vendor partition is where the closed source driver is and does mean a custom rom can use those drivers as they haven't been removed.
So it would mean custom roms with good camera/videos of course Treble is so new, so who noes if that's working properly yet! and it would assume xiaomis phones had closed drivers, if your not using miui and camera is bad then no surprise try go back to miui you never said what you use.
anyways you can read about that here.
https://www.androidpolice.com/2018/05/13/project-treble-impact-android-custom-rom-community/
it points out the stuff about cameras and roms.
Alister. said:
Your welcome, hmm what phones have you seen with better video call quality on facebook messenger? i assume you have compared to more expensive phones.
That just becomes confusing, since for example just because a bunch of apps use camera2 api doesn't mean they will all be the same, software optimisations determine if it looks better or worse.
I would have assumed facebook's software was exactly the same for each phone it has been put on, unless it's simply the case these cheaper phones your speaking of are benefiting from a closed source driver, and for some crazy reason xiaomi phones don't have a binary for it, guess i'll look into that at some point.
Now that i've got this phone, yes xiaomi's camera app in particular is very good photo quality, better then any camera app i've seen on any custom rom very adjustable.
Worth noting i installed lineage os that had the xiaomi's default camera included in the rom i compared the quality to when i was using stock camera on miui itself, i couldn't see any differences in picture quality, which suggests to me perhaps xiaomi's camera isn't using any closed source driver, binary at all and it's quality is simply optimisations and the fact there's no binary driver is why there other apps look worse.
Just guessing at this point, but that's about the only scenario i think makes sense.
Just remembered there's a new thing called Project Treble the note 5 pro can upgrade to be treble compatible i have the note 5 ai so i got treble out of the box the crux is, if you flash a rom well a treble rom is called a GSI, generic system image a benefit of this, if it allows you to keep the vendor partition untouched while using custom roms, the vendor partition is where the closed source driver is and does mean a custom rom can use those drivers as they haven't been removed.
So it would mean custom roms with good camera/videos of course Treble is so new, so who noes if that's working properly yet! and it would assume xiaomis phones had closed drivers, if your not using miui and camera is bad then no surprise try go back to miui you never said what you use.
anyways you can read about that here.
https://www.androidpolice.com/2018/05/13/project-treble-impact-android-custom-rom-community/
it points out the stuff about cameras and roms.
Click to expand...
Click to collapse
Vivo V9 ... have better facebook video call quality...
Thankyou for your information
Camera performance in WhatsApp is very poor for rn5 pro selfie camera. How it could be improved ?
mjnabi said:
Camera performance in WhatsApp is very poor for rn5 pro selfie camera. How it could be improved ?
Click to expand...
Click to collapse
No way now. Plz all of us report to Xiaomi
Yes plz report to Xiaomi

Best camera app (google camera)

what is best built of gcam compatible with note 5 ? is there better camera app
https://www.celsoazevedo.com/files/android/google-camera/
For the RN5Pro Global/CN: If you want HDR and Portrait in the RearCam get Arnova's GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk (the most Stable port) but if you want HDR, Portrait and Night Sight in the RearCam get BSG's MGC_6.1.021_MI8_V2a+.apk.
and in case anybody wonders do you have to enable API 2 for them to work properly ?
The Mero said:
and in case anybody wonders do you have to enable API 2 for them to work properly ?
Click to expand...
Click to collapse
The Google Camera with HDR+ uses algorithms that aren't possible to get with Camera1API, that's why Camera2API was developed. The GCam only opens if it detects that the new API is activated, otherwise it force closes.
If you have it activated and wanna see the difference between API1 and API2 download Open Camera, go to configurations, disable the option "use Camera2API" to force the use of API1, go to HDR mode and take a photo. It will take 3 pictures with different bracketing and merge them together, this process without API2 will take 5-10 seconds. After that go to configurations, enable the option "use Camera2API", go to HDR and take another picture. The process now will take up to 1-2 seconds. With API2 it's faster and the results are better.
Thanks for the explanation
just to help out people on a stock rom wondering why it immediately closes when they open it
Is it possible to change camera2 api without rooting redmi note 5 pro
Is it possible to change camera2 api without rooting redmi note 5 pro.
deepanjandatta said:
Is it possible to change camera2 api without rooting redmi note 5 pro.
Click to expand...
Click to collapse
Without root yes, without unlock bootloader no.
GCSortes said:
For the RN5Pro Global/CN: If you want HDR and Portrait in the RearCam get Arnova's GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk (the most Stable port) but if you want HDR, Portrait and Night Sight in the RearCam get BSG's MGC_6.1.021_MI8_V2a+.apk.
Click to expand...
Click to collapse
do you know best setting for it ?
AhmedAlaa01 said:
do you know best setting for it ?
Click to expand...
Click to collapse
I'm using default settings.
GCSortes said:
For the RN5Pro Global/CN: If you want HDR and Portrait in the RearCam get Arnova's GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk (the most Stable port) but if you want HDR, Portrait and Night Sight in the RearCam get BSG's MGC_6.1.021_MI8_V2a+.apk.
Click to expand...
Click to collapse
Yeah , night mode working , thank u for the comment
Sent from my Xiaomi Redmi Note 5 / 5 Plus using XDA Labs

Camera Depth Capabilities

I'm an android developer and I need to know if this phone is implementing the depth module from the camera 2 api.
Is someone available to install a very simple apk (attached) that lists the camera capabilities and post the screenshot with the output?
It would mean a lot, thanks.
amarkovits said:
I'm an android developer and I need to know if this phone is implementing the depth module from the camera 2 api.
Is someone available to install a very simple apk (attached) that lists the camera capabilities and post the screenshot with the output?
It would mean a lot, thanks.
Click to expand...
Click to collapse
What will this do? Can i install on my v30?
The app just lists the camera functions supported by each camera. you can install on V30 but I already know that it doesn't have depth capability
Here ya go....
inneyeseakay said:
Here ya go....
Click to expand...
Click to collapse
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
amarkovits said:
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
Click to expand...
Click to collapse
Can you show me which phones has native depth camera support exposed?
harysviewty said:
Can you show me which phones has native depth camera support exposed?
Click to expand...
Click to collapse
The Huawei P30 pro has the TOF camera exposed in the native camera api.
amarkovits said:
The Huawei P30 pro has the TOF camera exposed in the native camera api.
Click to expand...
Click to collapse
The p30 has a tof camera on the rear as for the g8 it is on the front so if you think you can improve the rear portrait videos by implmenting the tof data differently you are wrong.
amarkovits said:
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
Click to expand...
Click to collapse
I'm pretty sure the only reason LG cared about the tof cam is for face unlock. It works seamlessly, while everything else here that uses tof are half baked gimmicks.
Does face Id is supported for third party apps authentication?

Categories

Resources