TheRailwire

General Discussion => Photography => Topic started by: robert3985 on December 04, 2018, 07:07:15 PM

Title: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: robert3985 on December 04, 2018, 07:07:15 PM
Yesterday, I finally took some time to look for focus stacking apps that will work on my Google Pixel 2 XL - an Android OS phone (Google invented Android OS).

I was looking for an app that generally did what Nikon's full-frame D850 does with its focus stacking feature.  I wasn't looking for an app that would combine the photos in-camera, but just produce photos that are focused at progressive distances between manually selectable "near" and "far" points like the big Nikon DSLR.

I was also looking for an app that would allow me to select the number of focus points between "near" and "far" instead of just giving me a "near" and "far" focus option like my old Samsung Galaxy S5 did...which often left the middle of a scene or subject out of focus.

My Samsung had a feature that allowed me to just say "SHOOT!" instead of having to press an icon on the screen to take a photo.  This really helped me to steady the phone when I was using its "select focus" feature.  It would be nice if the app allowed voice shutter control on my Pixel 2 XL.

Another problem with producing multiple photos in a model railroading environment is having to lug either a tripod around or having to make a phone holder like Pelle Soeborg shows in his MR article about using his iPhone 5 to take multiple photos to combine with your focus stacking software of choice.  He also has to manually select each focus point by touching the screen for each shot, and each touch has the potential to move the phone enough that any focus stacking software wouldn't be able to compensate for the differences in composition in that stack.  PLUS, it takes a long time to take 10 or 20 shots.

Seeing as how smartphone cameras have electronic shutters, it should be feasible for the phone to take a series of progressively focused photos between two points very quickly.  It's all about software, because the hardware (computer) is already there in the phone.

So, I wanted this ideally:
(1) - Manual control of both far and near focus points
(2) - User selectable number of photos between the far and near focus points
(3) - Voice or sound activated shutter so that I don't need to touch the phone when it's in place
(4) - Burst mode so that the phone takes the stack very quickly so I can hand hold the phone in odd positions negating an absolute "need" for a holding device

I don't remember my search parameters (it was the middle of the night) but I came upon a blog where someone was asking an app developer to add focus stacking to his Android camera app...and the developer was actually listening! 

The name of the app is "Open Camera" and it's free...and has a highly developed focus "bracketing" feature in addition to many other useful features.

In Open Camera, all of my requirements were met! And...it added several others that I am finding are very useful for regulating photo quality and composition.

One of the neatest is a feature that will automatically level the photo, so that it isn't tilted.  This problem drives me crazy because in many of my model railroad compositions, I don't have any horizon to help me get the phone level...just scenery, tracks diverging into the distance and 3/4 views of the trains on the tracks. A slight negative is that this feature reduces the resolution of the photos slightly.

It also will generate several different screen grids, which help me compose my shots.

And, it takes up to 20 ( you choose the amount) shots between your far and near focus points...and does it in about half a second...maybe less.  Using the voice command, you say "CHEESE!" and the camera takes the photos after a wait.  I think I've activated the app's timer function, which is causing the wait...but I'll delve into that after I'm done with this post.

I set up a simple test with some track I'd laid on a board years ago.  I put it on top of my old computer which is sitting on my drawing table, and lit the whole thing with a 500W halogen Torchiere lamp I use to light up my drawing studio...then I dug through some boxes and found my superdetailed LifeLike SW-9/1200. 

I set the Open Camera app to take 20 photos between my two focus point, which are determined by two sliders on the phone's screen, superimposed over the image...I had to fiddle around with that for a while to figure it out.  Then I touched the microphone icon in the app's controls and said "CHEESE!"...and waited...and waited...then it took the 20 shots in about half a second...maybe less.  COOL!  But, I messed up my composition while waiting so I did it again and got a better composition...all hand-held, just bracing my arms on the top of my old computer case.

Photo (1) - Near Focus Point, Test 1:

(https://lh3.googleusercontent.com/MtKDnUG9nvjdKUeu9M3NGyTbwsU2M56dxkpHdhWjISVZpbF0TTFbEY6gEYgcPWywRbYTYhul1QqEjH8iZ2wG-887YL4ShjVBhb_zmbxis9Nv-TLTIesKMy2mqjHGB9xtR7E99EOhN3c-XUNwbEngFMmgwgG-udzeRIssm06SwxqUGKZToqam9Kdcrc54eaMaUGEmayYePQJSVK4TYnknUkW_mgHqsMQniXHnhJdRXBKNE43NK1ApSjOJ4u9Clxm5FD2yiw0Yz0F8zrQu_xdUJhWWwbd3iGeqILbIiOfAu-9HNbMJsmAs2zF0cchqD8rOL826zpTardGQ6NHuXHDhQxGHVZeMQipNH2y4LGyQaKFoCBKtOr3sBczk4ScSxsMPnLccZvDWE45mQOkJKbPmt17mHhgwmOHAAwkT0yJDaR0HUDeKqxhwIPFiqcfYGQGatiatER2mScfCcVxZhSLBze8DGjRKwu0O8Yw46t_FG1emT880UHq06tQsTLwabbZpCiFTShP8kmr_Xsgc0thfMdrFF868_1c2Lqb9IGFRUisPbnR1ZazBpeoMieIWH-2vAQHBgef6VD3IRy8j2JKkiIgd7DmePwlUnErNdjm6MHr4n13opcGIlxcx97skm_t_TFvhfrm58ukNmIMv-9Cq-YPQ=w1649-h1237-no)

Photo (2) - Far Focus Point, Test 1:
(https://lh3.googleusercontent.com/fv-ShEMH1EKxlcvVC7HLCsTxkEIwz45V92XpT1VjGpa-yQL6gJU4Yalzr_GmJKLLFZoAmdXxt7z7Cz6_sPnm_60kxqX4xcqZzKLJL7lzyhnHO4ZgNdsxOCzuT3VclhQtEH5gSt9IfdxlDvxe_gtXgOn7_LRIHLeeHU_mwqu3ty7_7dWLJQwDEIYmmXJ77-fz_PWSYZ4uftqtv-V8ojGtZAnVlt6sjuGRiGGoQBz4VaiqpmzmtHwhUxvxTF9o6Eh5Bh9WWIWV6iTNg5mfHzQWmb8fV04AlMGIY3YkOBF_9tseDQ-00YrpgwJjvCGgTyOehWoC5JFeNvGXfi95CjomszYlfrRV30IQdPXmIptLZ-1olo42OHYdYWeqRLY5nsMVKxekch8Dbvm7Y9BV3z6wdaQls9MMmLfbmf7bSItwVuNtW5XpaR29Op7l8cRvCohuDsjeH0xEfBBlk3SYCZJ6AdWHB4U9reuCqwpMuHuHumrkZMroPdLOrmdwmSQJdoQYoi47jP5wolnssP0TgQnm3YqARZJa3bIYOaM5paFSpJx5bklA2VAmpUqNrC-QYV9f3yyB-ta8sIftZk-__8XqOZoqZILCM6_2z3y1ApWHSTMossnfxKli8WwaBrajg7aj_XmMEFODpdmWVr897X3Mxbd5=w1649-h1237-no)

Photo (3) - Finished Test 1 stack rendered in HF Pro Unlimited - 20 total photos and converted to jpg in Photoshop:
(https://lh3.googleusercontent.com/iW5OdAELk9EvenHlW3wGLmJDDODVMked8aiJgVK8Xy7wa8qcD2-DDspgDcMaZrxyT-R_GZMST8tQLl0PN_v3SlCGzB962biir5QTXdCX-bX0KE3uVpM3YDT9CMJoGgmVgcJiF0kRC7oYXkvcQoPsmQrjRp3kIGu7ur7iV-Gz9gwjpDQGbC74i5YHPG_7TZUOwl_By4XISwyDONYT9pWVzGars1uwPQz2GNtDa5101C38HowYdFIQeF_dJBt1zFVwx_S0xWiZBwqfnorJPHehLq9IF7jdH0R3goeJwzmuBkKvnQzWyhMqLoHVCuSvkUR-06UmGZ2HWIYFAFHLb0lLRZjvyJN67LFM0yWwH_27Gp973DU8f0P2pTBH236SRFY4h3MJ_Mkhl8rvPqO5lZwol88XMPopzYpRDEwA3xTfAdFhW6Tm55_rliwUscWXDAk8UKulB7Uqy7eefVDk7zGaxEAV0ksz65Tcddc0HoskXvdaEjopv1Q_e7ENFxSXbRED16AdTg8ROHu7Qgcw3NjymUdG1nWoh8j5INQYT2Hj9b9JFhdbmZY1RUQt-dVLVycUaUF6guXFtiSGvpf93rYJL06gdXOeUih-vAJBmR1CQl_EnaRCC_7QKQX-TefqngsnpuG35ZVFDD4g05qNQ5t5fSZK=w1652-h1237-no)

DAY-UHM!!  I was IMPRESSED!  I can't see any HF artifacts in the shot, and the model is so razor sharp that I could tell I needed to brush it off before I took another shot.

I decided I needed a longer subject, so I put three cars on, and a CA-4 caboose I'm working on the rear...set my near and far focus points, this time focusing past the subject to include the wood grain on the board closest to the phone's lens and back past the end of the rails in the distance.   

Total number of shots was set at 20, but after taking them, it was evident that I'd set my far focus point too far back...so I only used 17 photos in the stack.

Photo (4) - Near Focus Point, Test 2:
(https://lh3.googleusercontent.com/mjBbEvJtlP7hNLMzsc8-i8R6_1f4DXprbHxR6B24cGRJYtYZXS6S8pbMapuySr-qfxB8hoIYyXEIvm-VVASm7ODKJRni809L3umlTLpomV08nlOuPITRixlGr5JsZ7cvtog_WcqltydYqvu7nwADLp4z9KS7Q_qvCMdvmwF4XUAob0ETUBSmRgH4LKj8BsEbWnsH3TRTjUTPORZczNmfkCXTHkFs7CnjkevTcHCL2eJaniiJd0wlA-GTP0pOz0fY-ZxaiyOLAZCNNwMN5xWOtEYr7iUfW_vW0CkTI4Tdq85qUdEe7QVLKehLTmiZs0TEvU7wdsGdZDbqZjlYipWdJapyRlCzXERi1nCJeEZEyx5xrodJvb_ps2LcrxgT-Q6_4U6ibnJi703Yn1hPWVwS5ZE7Mf9kNr6SGFVUFlmRdNwVJKR8HauE9Ff_QtyOHA5pi4JPGSbQyw7YbqrIne1lCcIwr6bpSEetVCR4RWepaSP9So8tW3A-Qen8mkaFmQaDeEZfgYylGqAznZfC_d8J8SfkKY4RFQQIqov0rGFRMzT6MxQHOop0imO02aAkgClU9DTnZlJ7A4sDkk-WD2swYoduBXEPoK77e-5IvOhHDr3PyVyOQTk1zdGAts4gjra3H1fWOpG95cUtl_XM8U-gsTgL=w1649-h1237-no)

Photo (5) - Far Focus Point, Test 2:

(https://lh3.googleusercontent.com/99-FHCu_8DoBtoq8DQhGETbHs5qKaUgBXcCTbHHuqmiRz2KmOMkWQC1THTstjydifaRsfL1zpa1VISBONZgVVkrY_gkiOIBlHtocq6A4B3j1f6gCVsQ4jTYfYmyfV57Nz1lP4_U_wuSKPwC4S17ubvojF3K7_75F6NY0vuoPQgFovY4fqLSPvDRmPbFykQDGuoUA8pKf_sfApeR0wvVuE9unZs4DgZF56hxGuYR2DzrSIB2oqcBiNmaWgZ05yz9BSpjmlTPYk_fvt_p8zKJcatYA2oB4vXVmuhYb2YwC1ySqxMvoyMekADmGPegaVADa1qXDQEXAzusCy6Qxv0_NJGrnygjvejMIK_T7LPV2xqhJo8sm_6dS9_a3Kcd7-4mLGTanvjHXKCbic-VkWpxby9uuJsLrXANBQXVmxaHPLXY1i0rO68ZujR6UfkX9rp5FOFWm1RTFCTDmgnxSqgsp1EfJftihUKYTVeBGNjtLQVYIHCyW4fCUAqdD8T3Y1YYsRTDuDnID_m6zbVWNwsv0hVZLkEO6-znmd49Ou2LGg0aYyb6Wu-u_QeeSSin48VmyQCpHKPCU-ekmoFB8HQcbdjhvt-UD3trSLXrTOEGkJVCf9bZ3GaFp5_F2P9sbKvJkPG4rs8B0hLCey1pp6tdEv84Q=w1649-h1237-no)

Photo (6) - Finished Test 2 stack rendered in HF Pro Unlimited - 17 total photos and converted to jpg in Photoshop...HAND HELD!:
(https://lh3.googleusercontent.com/JGGZoOtHs5RMaS7JHTfxWH3abSMwcqzY3rlkhRypYU96d1KKBlWXj0csYudz_pR5xtMRBAHHJxnDP8PYbiXuXeX8nUvNA2l-RDWZUTbBKU0C1MczFh1cyVCxz6UnM8jv6rBSVmbyBwfRa_O4u5AhMXJG1A1O5CUBYcX9kKHE-yFqeqm5dhGfY6vbatVsxdyu24CwhIrXvZBU8MC7tz4zVqfTIP3yIEErlncd4pLZLlL7SZihmyNzryKnl2S23Y0RkLa8WTnatC0NZz7W6ZezoLAnfwptrXEpV7LLrFQhoA4vWasRADPlk1p0jcDKd4U43ABTbs4-S1ygVMa7PB4bOC4w0vOsA0c9sR9iY4N3s-v46fPJhfsASBMoWNGTE_T5rg6_lXXfTabr3wWDawCALJ0ua65VNC21SGcu3XG061s4gAD2qVz7iuWbm8ZWqkb1lIUw3hALmeTg3uTPU_oSVmGw7GenYKurCD4POIGs2PSZrJY5-42GhUn2NjnSEcBTzC10dwxee8pcZSQfQ_aZTF3n4rdAdJIVbIXbTHgKqrn_7Uurma5vX8UxB6-geLyOFCXTWX3A8d2-6pHurhhAYWAa-TwvCSG_8Irk7btOPSiCZ7kDwHWMSg2HaEoBiujx-GMBMSsSdA0Q67pV0CSwwY7F=w1649-h1237-no)

I noticed some HF artifacting near the stacks and in the border between the background and the top of the cab, so I rendered the stack again using option C with no additional compensations, and it minimized the artifacting, but didn't eliminate it. 

However, I am extremely happy with these simple tests! So I thought I'd pass my discovery along to any of ya who may have an Android smartphone!

Please note that some features require the latest Android phones and OS's, and all features don't work on all Android phones.  However, for my Pixel 2 XL, the focus stacking features are exactly what I was looking for and might work as well for you on another brand.

Here's the link: https://opencamera.sourceforge.io/

Cheerio!
Bob Gilmore
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 07:25:54 PM
Love that I didn't need the Play Store to download. :)

Where do you find bracketing?
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: peteski on December 04, 2018, 07:29:25 PM
Bob, I only see 3 of the photos in your post.  Rest are blank spaces with a gray "do not enter" signs. Who loves ya? Google!  :facepalm:
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 07:34:06 PM
I found exposure bracketing. Now how do you select how many photos it takes? And then how do you combine them?
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: MK on December 04, 2018, 08:27:52 PM
Some of the photos are not showing like Peteski said.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 08:30:43 PM
There is another thing called infinitely focus. Is that what were talking about.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: wcfn100 on December 04, 2018, 09:57:01 PM
There is another thing called infinitely focus. Is that what were talking about.

@Chris333,  go to the app's settings and scroll down to "Use Camera2 API".  That will give you manual focus along with the focus bracketing.

If that doesn't work, your camera may not work for this.  My S7 works after I turned that on..

Jason
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 10:21:54 PM
Ah well. I have no use camer2 settings.

Using an S5
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: wcfn100 on December 04, 2018, 10:26:07 PM
Ah well. I have no use camer2 settings.

Using an S5

There's an app to check for Camera2 API.

I think you also need your OS at Lollipop (8.x.x).

Jason
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 10:39:42 PM
5.1.1, but I thought a S5 had a better camera.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: wcfn100 on December 04, 2018, 10:44:45 PM
I just tried my old S5 and it doesn't have it either.

Jason
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 10:50:30 PM
I just checked.

Model:SM-G900T
Manufacturer:samsung
Build:5.1.1
SDK:22
------------------------------------------
Camera ID: 0
Camera Facing: Back
SupportLevel:LEGACY
Hardware Support Level:LEGACY
Manual exposure:0
Auto exposure:1
Auto exposure, always flash:1
Auto exposure, auto flash:1
Auto exposure, auto flash, red eye reduction:0
AE Lock:0
Manual focus:1
Auto focus:1
Auto focus macro:1
Auto focus continuous picture:1
Auto focus continuous video:1
Auto focus EDOF:0
White balance off:0
Automatic white balance:1
WB: cloudy day:1
WB: day:1
WB: fluorescent:1
WB: incandescent:1
WB: shade:0
WB: twilight:0
WB: warm fluorescent:0
AWB Lock:0
RawCapture:1
BurstCapture:1
------------------------------------------
Camera ID: 1
Camera Facing: Front
SupportLevel:LEGACY
Hardware Support Level:LEGACY
Manual exposure:0
Auto exposure:1
Auto exposure, always flash:0
Auto exposure, auto flash:0
Auto exposure, auto flash, red eye reduction:0
AE Lock:0
Manual focus:1
Auto focus:0
Auto focus macro:0
Auto focus continuous picture:0
Auto focus continuous video:0
Auto focus EDOF:0
White balance off:0
Automatic white balance:1
WB: cloudy day:1
WB: day:1
WB: fluorescent:1
WB: incandescent:1
WB: shade:0
WB: twilight:0
WB: warm fluorescent:0
AWB Lock:0
RawCapture:1
BurstCapture:1
Model:SM-G900T
Manufacturer:samsung
Build:5.1.1
SDK:22
------------------------------------------
Camera ID: 0
Camera Facing: Back
SupportLevel:LEGACY
Hardware Support Level:LEGACY
Manual exposure:0
Auto exposure:1
Auto exposure, always flash:1
Auto exposure, auto flash:1
Auto exposure, auto flash, red eye reduction:0
AE Lock:0
Manual focus:1
Auto focus:1
Auto focus macro:1
Auto focus continuous picture:1
Auto focus continuous video:1
Auto focus EDOF:0
White balance off:0
Automatic white balance:1
WB: cloudy day:1
WB: day:1
WB: fluorescent:1
WB: incandescent:1
WB: shade:0
WB: twilight:0
WB: warm fluorescent:0
AWB Lock:0
RawCapture:1
BurstCapture:1
------------------------------------------
Camera ID: 1
Camera Facing: Front
SupportLevel:LEGACY
Hardware Support Level:LEGACY
Manual exposure:0
Auto exposure:1
Auto exposure, always flash:0
Auto exposure, auto flash:0
Auto exposure, auto flash, red eye reduction:0
AE Lock:0
Manual focus:1
Auto focus:0
Auto focus macro:0
Auto focus continuous picture:0
Auto focus continuous video:0
Auto focus EDOF:0
White balance off:0
Automatic white balance:1
WB: cloudy day:1
WB: day:1
WB: fluorescent:1
WB: incandescent:1
WB: shade:0
WB: twilight:0
WB: warm fluorescent:0
AWB Lock:0
RawCapture:1
BurstCapture:1
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 10:51:31 PM
But I am rooted with a custom rom so I may be able to add it.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: wcfn100 on December 04, 2018, 11:03:47 PM
So Lollipop was back at version 5, I thought it was newer. 

My S5 is running this but I don't get the option to turn on Camera2 API in the app.  IDK.

I think the issue is the Support Level - Legacy.

Jason
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 11:22:46 PM
https://www.theandroidsoul.com/enable-camera2api-manual-focus-aperture-exposure-raw-dslr-features-android/
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: wcfn100 on December 04, 2018, 11:28:52 PM
Ah, cool.  Hopefully that can work for you.  I don't think I can root my Verizon S5 very easily.

Jason
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: robert3985 on December 04, 2018, 11:40:14 PM
Bob, I only see 3 of the photos in your post.  Rest are blank spaces with a gray "do not enter" signs. Who loves ya? Google!  :facepalm:

Are they all visible now????

Cheerio!
Bob Gilmore
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 04, 2018, 11:40:41 PM
I did the edit and now it says I have manual focus. Still trying to find the in this app though.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: peteski on December 05, 2018, 12:02:03 AM
Are they all visible now????

All good now Bob!  Thanks!

Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Jbub on December 05, 2018, 12:03:35 AM
I've got the Note 9 which will take a photo by using the button on the s-pen. I'm going to have to try this app out and build a stand for the phone so I can set up some cool shots.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: robert3985 on December 05, 2018, 12:13:04 AM
I did the edit and now it says I have manual focus. Still trying to find the in this app though.

Here's a link to instructions and advice for the "Open Camera" app: https://opencamera.sourceforge.io/help.html

Here's what it says about Camera2 API: "Use Camera2 API - If selected, this enables support for the Camera2 API that was introduced in Android 5. Turning this option on or off will cause Open Camera to restart. This enables some new features (including manual ISO/exposure, manual focus, HDR, exposure bracketing). Note that not all Android 5 devices have full support for the Camera2 API (Open Camera will only show this option if all cameras report either "LIMITED" or "FULL" support for the API; "LEGACY" devices are not supported). Also note that even if devices support Camera2 API, many devices have extremely poor support, leading to bugs such as poor flash behaviour, or video recording not working. These are not necessarily bugs in Open Camera, but problems with manufacturer support for Camera2 API. If you have problems with flash behaviour, try the "Use alternative flash method" setting under "Photo Settings"."

After you've selected "Use Camera2 API", which is an option in the app...you'll see an icon which is three dots stacked vertically...press that.  This takes you to "Photo Mode:" and you'll see seven modes...STD, NR, DRO, HDR, IIII, EXPO {}, and finally FOCUS {}...which mean FOCUS BRACKETING.  Down further you'll see a square box labeled "Auto-level, then "Camera Resolution" under that...and the option to change your resolution.  MORE IMPORTANTLY...you'll see under that "Number of photos:" and it will allow you to select from 2 to 20 photos.  After you select the Number of photos, go back up to FOCUS {}, push that and you should be set to go.

Here's what the instructions say about FOCUS {} : "Focus {} - Enables Focus Bracketing mode. (Only available on some devices, and if Camera2 API is used.) This mode takes a series of photos each with a different focus distance. Two sliders appear, allowing you to change the "source" and "target" focus distance. In this mode, you can change the number of photos to take from the popup menu. Also on the popup menu, the option "Add infinite distance" if enabled will mean an extra photo is taken, at infinite focus distance. Focus bracketing is typically used with Focus stacking software to merge the images into a single photo. "

I think that should get ye started...  :)

Cheerio!
Bob Gilmore

Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: robert3985 on December 05, 2018, 12:40:41 AM
I've got the Note 9 which will take a photo by using the button on the s-pen. I'm going to have to try this app out and build a stand for the phone so I can set up some cool shots.

On my Google Pixel 2 XL, this app takes 20 photos in a burst that lasts less than half a second.  You may not need to build a stand.

I took my photos for this thread hand-held, and HF didn't have any problems at all rendering the final photo.

So, before you build a stand for your Note 9, try this app hand held.

Cheerio!
Bob Gilmore
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Chris333 on December 05, 2018, 01:08:20 AM
So wait you're telling me that even if I get this to work I still need to combine all the photos myself?
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: iandrewmartin on January 03, 2020, 05:56:58 AM
THanks for the link. Understand that I'm late to the party. Just found the thread and downloaded the App for my Samsung A30.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: coosvalley on January 05, 2020, 08:12:52 AM
@robert3985  what program do you use to combine the photos?
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: Scottl on January 05, 2020, 08:17:42 AM
Just a FYI, Helicon Focus which is one program used to do the stacking is currently discounted about 15% for the holiday.  No idea how long the offer lasts.
Title: Re: "Open Camera" - A Focus Bracketing (Stacking) App for Android Phone Cameras
Post by: robert3985 on January 06, 2020, 04:19:20 PM
@robert3985  what program do you use to combine the photos?

@coosvalley , I use Helicon Focus.  I bought the full-professional version several years ago, and it's been one of my very best photography-oriented software purchases along with my Adobe subscription.  Although f-stops and wide-angles on my big DSLR make for ultimately sharp photos, I simply cannot get into many positions I want to on my layout to get what look like 1/160th scale railfan, or company photographer photos, which my Google Pixel 2 XL phone allows me to do.  However, taking multiple photos at different focus points was a big problem using my Google Pixel 2 XL phone...or with any other smart phone, until I discovered the Open Camera app which allows me to easily take my focus "bracketing" shots hand-held in less than half a second, for combining easily on my desktop in Helicon Focus.

Helicon Focus has adopted the Adobe subscription protocol, so you can subscribe on a monthly basis to use it, and other programs they offer without having to come up with $300+ bucks which used to be its price.  Even buying the program is now much cheaper than it was when I did it years ago...a good thing, and with Scott's notification that they are discounting it, it's time to get it if you're serious about your model railroad photography.

Cheerio!
Bob Gilmore