Autofocus camera on android ? - Touch Cruise Android Development

Anyone know if there's an android build out there or any update/fix to make work the autofocus in android ? (polaris has that right ? )

I think it's not functional at this time (and not on the top of the todo list) in any kernel...
But you can change the focus by using the middle wheel.

Kiiv said:
But you can change the focus by using the middle wheel.
Click to expand...
Click to collapse
Sweet ! that'll do the trick without adapting the focus it's hard to try any barcode reader

Related

New Icon in the Camera App

Hi,
I flashed the new DFT Freedom ROM a few days ago and noticed a new icon in my Camera App, does someone know what it does? (circled icon in the attachment)
That is view from the camera's in the mirror reflection (horizontally). BTW you can check what you have resolution for recording movie ? In that ROM is 720p but I can't set that.
Hi, thanks for the answer, that's indeed it. How could I miss that?
as for the video resolution: on my Mozart I can set it to 720p and I am also able to save that as default. However, when I enable the mirror mode I can't change them to 720p.
On Phones with a front facing camera this button allows you to switch between the front and back camera.
Aaron McCarthy said:
On Phones with a front facing camera this button allows you to switch between the front and back camera.
Click to expand...
Click to collapse
No it doesn´t
Snake. said:
No it doesn´t
Click to expand...
Click to collapse
Err......Try again.......
The icon in question is for switching between the rear and front camera on phones with the two cameras.
Go play with a Gen 2 windows phone... You'll see that's exactly what it's for
Sent from my SGH-i917 using XDA Windows Phone 7 App
this is oly for htc devices ????/
My Dear,
due DFT used the some parts of the Titan Rom, this icon is used to switched between front and back camera on Titan. It is obviously useless on First Gen devices due the lack of a front camera. Get rid of it by changing this key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Camera\Settings\FFCSupported to "0"
btw. The Settings spelling is a problem of xda.

[APP] [3.0+] Selfio - HD Selfie app

Selfio is a unique app with a patented idea of using front cam of your device to frame and back cam to shoot the same image.
Frame your selfie using front cam.
Flip such that back cam faces you
Device senses flip and shoots your selfie in HD with flash if needed.
It is available on play store now and will soon be available on app store too. Please download and tell me what you guys think. It uses magnetometer to sense flipping. Working on gyro sensing now.
Nice app but most of the time the delay is very long and picture gets blurred by moving the device. There should be a help section or tutorial.
nice
Great app work but sometime fails to give hd image.Quality is not too fine,,as it delays while capturing image.
Thank you guys
anandnitin25 said:
Great app work but sometime fails to give hd image.Quality is not too fine,,as it delays while capturing image.
Click to expand...
Click to collapse
Anand, have you tried setting resolution to maximum inside the settings? also, can you share what device you are using? Because we are aware of a bug on Nexus 5 and a few other devices and we are fixing it with next update.
thahim said:
Nice app but most of the time the delay is very long and picture gets blurred by moving the device. There should be a help section or tutorial.
Click to expand...
Click to collapse
Thahim, thank you for your comments. Can you let me know what device you tried it on? Also, help is inside the settings gear. We are trying to design a better design for the tutorials.

[HOWTO][WIP] Enable Camera2 and manual camera settings on Moto X Style/Pure

*Generic warning about messing with system stuff*
Summary
Thanks to @defcomg and @troopii, we have a working way to enable manual camera functions and .dng raw file capture on our Moto X Pure. This is still a work in progress as you will see.
Steps
Method 1:
1. Enable camera2 api by adding the line persist.camera.HAL3.enabled=1 to the bottom of your build.prop.
2. Reboot
3. Install the modified version of FreeDCam from this thread.
4. Open FreeDCam. It will probably force close.
5. Open FreeDCam again.
6. Explore to see what you can do. On the left of the capture screen is the option to change from jpeg to raw. This will save .dng files that you can edit in Snapseed or other raw editors (including Adobe Lightroom on the PC).
By changing the exposure mode or focus mode off of auto, you can then click on the gear in the lower left of the capture screen and change your shutter speed, iso, and use manual focus. There are a few other things you can change here too.
Edit: method 2 removed because of incompleteness and unknown errors.
Warnings
1. Using method 1 will disable all other camera applications on your device until you revert the build.prop changes. We don't know why yet, but the symptoms are that the preview of other camera apps never start and always show black.
Future Action
Hopefully we aren't done. It would be great to find out what is limiting the full implementation of camera2 on this device. Who knows what tomorrow will bring.
contributors
@defcomg - He made most of the device specific edits, guided me through making edits to my device and testing, figured out how to correctly encode the dng, and is generally awesome. He also doesn't own this device and is helping out of the goodness of his heart. Also figured out the tasker stuff.
@troopii - Main developer of FreeDCam. He made the app and also made some important edits to get this working.
I just tested and wrote the thread so all of you could benefit from their labors. They get all the credit.
Go, have fun modifying your device. Hopefully some devs will want to get involved and get real camera2 support for this device. It's almost there. For details on our progress so far, read here: http://forum.xda-developers.com/mot...ra-comparison-stock-vs-3rd-party-app-t3215603. We hijacked that thread, so please bring all discussion back here.
*reserved*
Sent from my XT1575 using Tapatalk
Todo :
Metadata Extraction
DNG Orientation flag
Optimize Manual Control Activation
New Color Matrix/ Camera Profile - Will Require a Xplay user with Xrite / MacBeth Color Checker
Source Code : Should you wanna make changes
Code:
My Git : https://github.com/defcomk/FreeDcam
Troop: https://github.com/troop/FreeDcam
---------- Post added at 02:04 AM ---------- Previous post was at 01:52 AM ----------
@Bobby060 Do the logcats for the other camera apps will check them later :good:
Any chance we will ever see a port of L Camera from the Nexus devices?
alex94kumar said:
Any chance we will ever see a port of L Camera from the Nexus devices?
Click to expand...
Click to collapse
yes pretty good chance all camera 2 apps will work after some code adjustments i've fowarded L Camera Dev a link to this thread :good:
Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!
alex94kumar said:
Awesome!! Thank you for the work on this, can't wait to see where this goes! cheers!
Click to expand...
Click to collapse
also mailed A Better Camera Dev will see what happens
Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?
Dpat09 said:
Haha I called it! lol defcomg and other devs cracked it open! Only bugs left to fix. You guys rock!
What about Geeky Dev Studio? Wonder if its possible to port the Google Camera over with the HDR+!
Oh also, does anyone know of any app that can sample the images down to less mp but end up with insanely crisp photos?
Click to expand...
Click to collapse
Done also mailed opencam + proshot lets have a dev party lol:silly:
defcomg said:
Done also mailed opencam + proshot lets have a dev party lol:silly:
Click to expand...
Click to collapse
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
if you need logs and such @Bobby060 is your guy :good:
defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Haha, yeah. Just don't bet on it being quick. I probably won't get to getting those preview logs until tomorrow. Silly college...
Sent from my XT1575 using Tapatalk
defcomg said:
if you need logs and such @Bobby060 is your guy :good:
Click to expand...
Click to collapse
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app
droider007 said:
Moto x play camera lib
https://drive.google.com/file/d/0B_jaJyTPSwjma0Y5VzI2LWpCU0E/view?usp=docslist_api
Sent from my XT1562 using XDA Free mobile app
Click to expand...
Click to collapse
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .
defcomg said:
Unfortunately Xplay is using the Older QCOM HAL 2 for camera 2 api you need HAL 3.0.
but you can try freedcam in Camera 1 Mode i added QCOM's Manual Focus and Manual Exosure time. Raw picture is possible without camera 2 but motorola removed it from picture format perhaps they is a workaround to force hal to accept the bayer picture format will try hexxing the hal later and get back to you, but for the moment you can test those manaul functions .
Click to expand...
Click to collapse
bummer.....lets see if the workaround works.....
thanks btw!
i will later change the manual modes that they are better useable in freedcam. that means that exposuretime iso and mf get a auto value wich enables/disables ae/focus automatical.
camera2 is full based on the sdk description thats why it is not very userfriendly. but it was important to have it this way to see how it works.
great to see its working ;D
edee1337 said:
Hi I'm the developer of ProShot and I'm here for the party.
Also, this is awesome! I'll see what I can do
Click to expand...
Click to collapse
motox has a messed up dngconverter. we did use the one from freedcam for camera1 to workaround that bug.
not sure why the preview is black. maybe it has something todo how the preview gets cropped. freedcam crop it depending on the previewsize and screensize.
had simliar problem when i tryed to get zoom working on nexus5
Awesome guys! Thank you very much!
Its working on my XT1572
Keep up your great work to make it available in all Apps.
Whats the max exposure time you can get on manual mode?
Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
I believe the max we have enabled in the app is 1/5 of a second. The theoretical max is more, I think, so it will probably get better.
Sent from my XT1575 using Tapatalk
Csetoue said:
Whats the max exposure time you can get on manual mode?
Click to expand...
Click to collapse
from parameters it tells max-exposure-time=657.770600, the question is wich format it has. sec, millisec, microsec, nanosec...

CameraMOD

Modded Camera Hal Lib to remove Motorola capability limitation.
With this lib dng raw capture is enabled
Copy it to System/lib/hw/ set permission rw-r-r
Install the newest freedcam build from here
https://github.com/troop/FreeDcam/releases
Does it have the green tint and camera crashing (in apps besides freed) problem that Bobby's mod did?
Vain III said:
Does it have the green tint and camera crashing (in apps besides freed) problem that Bobby's mod did?
Click to expand...
Click to collapse
Nope this is different It uses camera1 api so regular apps work and no camera 2 bug. No reported bugs by the tester so far.
Doesn't work on ROMs from what it seems. I tired it on RR and Orion and resulted in a bootloop
kidkrooks said:
Doesn't work on ROMs from what it seems. I tired it on RR and Orion and resulted in a bootloop
Click to expand...
Click to collapse
Upload the camera.msm8992.so from those roms if its aosp/ cm based the file might be named camera.vendor or vendor.camera
the only thing i see is a liboemcamera.so . i'll upload it maybe this is it
nothing in my file search is picking up any vendor.camera or camera.vendor
View attachment liboemcamera.so.zip
This is coming from the TURBO ROM btw. idk if there's any difference. sorry im not good at this lol
kidkrooks said:
the only thing i see is a liboemcamera.so . i'll upload it maybe this is it
nothing in my file search is picking up any vendor.camera or camera.vendor
This is coming from the TURBO ROM btw. idk if there's any difference. sorry im not good at this lol
Click to expand...
Click to collapse
Sorry the correct path is /system/lib/hw/ try the lib from OP my bad
This is the one that goes to /system/vendor/lib/ this is supposed to increase maximum exposure time in manual mode to 60sec.
Can probably mod it to add 60fps 1080p recording
Works wonders ! thank you
Cool App!
Sent from my XT1575 using Tapatalk
testing with freedcam
there is more option for camera 1 setting,
but iso/ exposure still no effect after changing, except these
manual focus working wb working fine
ilovemeow said:
testing with freedcam
there is more option for camera 1 setting,
but iso/ exposure still no effect after changing, except these
manual focus working wb working fine
Click to expand...
Click to collapse
You mean manual iso the one you adjust via slider or the other one to the left of the ui?
For Exposure you mean exposure compensation or manual shutter speed ?.
It should be noted the regular iso does not update via live preview unless zsl is activated why I don't know it's a Qualcomm thing .
Sent from my NX503A using XDA Free mobile app
Sadly it didn't work on CM. I tried changing both "camera." and "camera.vendor." but neither file took and the camera apps would just show nothing or crash
Vain III said:
Sadly it didn't work on CM. I tried changing both "camera." and "camera.vendor." but neither file took and the camera apps would just show nothing or crash
Click to expand...
Click to collapse
Attach the camera.vendor file from the cm ROM will patch it
Here you are m8
Vain III said:
Here you are m8
Click to expand...
Click to collapse
Patched extract replace set permission
defcomg said:
Patched extract replace set permission
Click to expand...
Click to collapse
Well, the option is there now but now I can only use the front facing can lol. Raw selfies tho
defcomg said:
You mean manual iso the one you adjust via slider or the other one to the left of the ui?
For Exposure you mean exposure compensation or manual shutter speed ?.
It should be noted the regular iso does not update via live preview unless zsl is activated why I don't know it's a Qualcomm thing .
Sent from my NX503A using XDA Free mobile app
Click to expand...
Click to collapse
thanks for reply and appreciate for your hard work
for both iso setting left and slide bar
and any way to disable bottom menu for a while for testing
exposure time, I meant the shutter speed
Sent from my XT1572 using XDA-Developers mobile app
Vain III said:
Well, the option is there now but now I can only use the front facing can lol. Raw selfies tho
Click to expand...
Click to collapse
Did you replace libmmcamera_mot_imx230.so? Rawfies ftw!
ilovemeow said:
thanks for reply and appreciate for your hard work
for both iso setting left and slide bar
and any way to disable bottom menu for a while for testing
exposure time, I meant the shutter speed
Click to expand...
Click to collapse
Swipe Down to hide the manual bar .
Could you make a logcat while adjusting iso from the left menu the one in the sliders as well as adjusting the exposure time wanna check what's happening

We can Record video on the Wide Angle lens!

Hi again! I can believe that OP didnt give us the option to record video with the wide angle lens. I've found it very useful. So, searching a little bit, i find this code *#*#1597#*#* that you put in dialer, to open de developer camera api.
Digging into the app, i realize that you CAN record 1080p video with the wide lens, so.. theres any mod to skip this awful step, copying the code, everytime i wanna use this function?
I dont know why we dont have this option native in the app.
PS: sorry for my bad english!
RodriPastorius said:
Hi again! I can believe that OP didnt give us the option to record video with the wide angle lens. I've found it very useful. So, searching a little bit, i find this code *#*#1597#*#* that you put in dialer, to open de developer camera api.
Digging into the app, i realize that you CAN record 1080p video with the wide lens, so.. theres any mod to skip this awful step, copying the code, everytime i wanna use this function?
I dont know why we dont have this option native in the app.
PS: sorry for my bad english!
Click to expand...
Click to collapse
Here's an example video. 1080p / 20sec / 51mb
https://www.youtube.com/watch?v=2cxHgvEG9wU
Yeah, thread about it from a while ago.
https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-wide-angle-video-recording-t3941641
RodriPastorius said:
theres any mod to skip this awful step, copying the code, everytime i wanna use this function?
Click to expand...
Click to collapse
Root + GCam
Why I don't have the option on my camera of having a Black background on a pic? Or my video recorder don't allow me to yo put music or songs beside them corny ringtones
Pfeffernuss said:
Root + GCam
Click to expand...
Click to collapse
Yup, but i dont wanna root. Im searching a stock app mod to do that. Will be great.
hallo dare said:
Yeah, thread about it from a while ago.
https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-wide-angle-video-recording-t3941641
Click to expand...
Click to collapse
Oh, didnt see that one. Thanks!
Destro1876 said:
Why I don't have the option on my camera of having a Black background on a pic? Or my video recorder don't allow me to yo put music or songs beside them corny ringtones
Click to expand...
Click to collapse
What are you talking about? I dont understand. The black background on a portrait mode is a Samsung Feature, for example.
You're holding it wrong.
Why won't phone manufacturers fix this obvious problem?
IE, when the phone is held vertically the capture is still a proper 16x9 wide screen?
Vertical video capture is ruining everything!
cpufrost said:
You're holding it wrong.
Why won't phone manufacturers fix this obvious problem?
IE, when the phone is held vertically the capture is still a proper 16x9 wide screen?
Vertical video capture is ruining everything!
Click to expand...
Click to collapse
Hey! Calm down. That was just a test. I think we would be more open mind. Some content its better to see in horizontal, other content its better in vertical. Im a photographer and sometimes, there are stories that are better to told in vertical, cuz i wanna told you something in that form, for example, this pics here: the vertical one, have a special touch, a unique point of view im comparison to the horizontal one
RodriPastorius said:
Hey! Calm down. That was just a test. I think we would be more open mind. Some content its better to see in horizontal, other content its better in vertical. Im a photographer and sometimes, there are stories that are better to told in vertical, cuz i wanna told you something in that form, for example, this pics here: the vertical one, have a special touch, a unique point of view im comparison to the horizontal one
Click to expand...
Click to collapse
Sorry if I came off sounding harsh, it's a major pet peeve of mine!
Still photos in portrait orientation are fine obviously.
It's the video that's the issue.
A simple solution to this problem can be fixed on all devices, not sure why the manufacturers don't implement it!
I don't have the wide angle option. Clicking multiple times and only switches between 1x and 3x
mikel10k said:
I don't have the wide angle option. Clicking multiple times and only switches between 1x and 3x
Click to expand...
Click to collapse
Hey! Hello!
You have to open the front camera and switch again to rear camera. You will see in red (Wide).
RodriPastorius said:
Hey! Hello!
You have to open the front camera and switch again to rear camera. You will see in red (Wide).
Click to expand...
Click to collapse
Didn't work for the first time but after clicking and switching for a couple times it worked. Thanks

Categories

Resources