yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] Mefiboshet:
Interesting.

I find that Google's JPEG compression algorithm is very efficient and cannot discern any noticeable improvement above 95%.

Btw, my old 16 megapixel Fujifilm X-E1 had 4MB JPEGs, and those were some of the best OOC JPEGs I've ever seen.

Both in terms of detail preservation and tonality.

Surely a tiny 13 megapixel phone camera doesn't have the detail and the tonal range to "fill" a similar file size(?).
[LG G6 Guides, News, & Discussion] ArtZ:
You're welcome.

Concerning the JPG quality, 97-98% is the best setting. I did quite a lot of tests and there's a noticeable difference in quality between 95 and 97% when HDR+ is set to High and over. There's not a huge difference in size from 95 to 97 even in low light. Of course, at high ISO size is always larger.

Regards,

PS: I'll build another version with a little less of yellow to see the difference. For my G6 with its picky sensor, I'll leave the option ON all the time.
[LG G6 Guides, News, & Discussion] mingo_mgx:
Can you make this work for lineageos? https://drive.google.com/open?id=1tqskW9Cxvll71DvbugY2lF83o1XPZy0c cstark 3.1 for los
[LG G6 Guides, News, & Discussion] ArtZ:
Google Camera 5.1.018 for the LG G6 based on cstark version 3.1

NOTE: Just a few modifications to cstark version solve the blue issue on the LG G6

'We are our own best advocates', as the saying goes.

[MENTION=3267278]Mefiboshet[/MENTION] Try this. You'll love it -but JPG is always 97% :)

New version SAT a bit less warmer: Shamu-Angler-Taimen It should suit all LG G6 and other smartphones
[LG G6 Guides, News, & Discussion] Mefiboshet:
I love it! :highfive:
[LG G6 Guides, News, & Discussion] ArtZ:
I think we have now the good color settings! I'm happy with the last one, even in 'HDR+ enhanced'.

Be naughty.
[LG G6 Guides, News, & Discussion] xterminater07:
[MENTION=235507]ArtZ[/MENTION], finally your version worked on the Essential phone! I'm using the 3.1 TAT CCC with CCC off. However, I noticed with all GCam mod, if you take front picture regardless portrait or not, if you have a bright background it over exposed the background a lot. Can this be fixed?
[LG G6 Guides, News, & Discussion] DamiDev:
[MENTION=8871747]To[/MENTION] All Gcam Devs

is it possible to add effects like the iphone 8/X (Stage light ... ) ??

[IMG="iphone X effects"]https://www.slrlounge.com/wp-content/uploads/2017/09/Screen-Shot-2017-09-12-at-5.25.51-PM.png[/IMG]
[LG G6 Guides, News, & Discussion] Gagi77:
[MENTION=235507]ArtZ[/MENTION] Very nice, "HDR + Enhanced" Great, Thanks ...
[LG G6 Guides, News, & Discussion] markomil:
Cmon man hahahahaha try downloading snapseed and have it as a default picture editor, play around... But to change googles code and implement ios software, thats too much, so many sensor and processor differences plus the gui for the app (which would have to be made from scratch for android, bcs i guess its a bit more than a few toggles )... Its even programmed in different languages :silly:

~~~~~~~~~~~~~~~~~~~~~~~

On another note:

I think weve achieved the cameras potential now, maybe the focus should now be on the apps stability (lag when you take a pic or that black screen when you try to enter the pic before the hdr postprocess is done)

Cheers
[LG G6 Guides, News, & Discussion] DamiDev:
yeah i know but i see that Gcam can give you 2 pics on portrait mode, the first is normal and the 2nd with a blurry background, so i think editing g the background codes can give you a stage light pictures !!

and i use snapspeed for editing my pics and sometimes i use Lightx.

for ur 2nd note u forget 4k video :D we have only 1080p
[LG G6 Guides, News, & Discussion] Sergykm:
I made a couple of comparisons, just to appreciate the colors. Without tap. In stoke I forgot to change the ratio. I have H870 Euroversion.

1. Stoke the first photo is without HDR, the second is with HDR.

2. ArtZ_cstark27_GCam_5.1.018_40_v3.1_SAT.apk with the color correction turned off 1. auto HDR +, 2 advanced HDR +

3. ArtZ_cstark27_GCam_5.1.018_40_v3.1_SAT.apk with the color correction turned on 1. auto HDR +, 2 advanced HDR +

I think in the afternoon it is not necessary to turn it on.

Can anybody from devs [MENTION=235507]ArtZ[/MENTION], [MENTION=1921483]Cstark[/MENTION] fix AR stickers for lg g6 in gcam? You can find it in this post https://xdaforums.com/showpost.php?p=74824785&postcount=1944 but it doesn't work for us.
[LG G6 Guides, News, & Discussion] fahmi182:
Try shot supermoon tonight
[LG G6 Guides, News, & Discussion] ArtZ:
cstark27 Google Camera (Normal and Wide) with Color Temperature option

Google Camera 5.1.018 for the LG G6 based on cstark version 3.1

NOTE: Just a few modifications to cstark version solve the blue issue on the LG G6

'We are our own best advocates', as the saying goes.

Guys,

I couldn't resist to make some more tests and versions. I have modified [MENTION=2712580]cstark27[/MENTION] Google Camera versions (Normal and Wide) with Color Temperature.

In the first version I posted yesterday, yellow was set to 0x42810000 # 64.5f.

The second version was 0x4280cccd # 64.4f

This one is set to 0x42808000 # 64.25f It has the minimum correction but it was very nice in most situations. I've applied this modification for Normal and Wide-angle cameras.

[MENTION=2712580]cstark27[/MENTION] forgot clean some lines in coq.smali for his Camera (Wide). I haven't removed them because I need them for the Color Temperature option. Besides he uses platformBuildVersionCode="23" platformBuildVersionName="6.0-2438415" and I'm using platformBuildVersionCode="26" platformBuildVersionName="8.0.0". Finally, I use original Google icons which are smaller in size (both versions are smaller)

As before, I've hidden 'Developer tools' (useless with this version and if someone hit on 'camera.op_nes' application crashes) and deactivated 'Feedback' and 'Help' so you won't get the application crash every time you hit on this items.

JPG is set to 97%

Download links:

Normal Camera: Normal Camera

Wide-angle Camera: Wide-angle Camera

Enjoy them!

Regards,
[LG G6 Guides, News, & Discussion] Gagi77:
your work is going on very well :highfive:, I'm downloading now :)
[LG G6 Guides, News, & Discussion] g2tl:
can you have a version with dev tools enabled? or at least google photos option enabled?

seems stable enough for my taste
[LG G6 Guides, News, & Discussion] Vkboy:
Supermoon shots:laugh:
[LG G6 Guides, News, & Discussion] Mefiboshet:
+ [MENTION=2712580]cstark27[/MENTION]

Thanks, awesome versions!

One thing I noticed is that any of the panorama modes still use the normal cam (in the wide version).

I guess the camera "address" needs to be updated separately for that feature.
[LG G6 Guides, News, & Discussion] Gagi77:
LG Stock vs. ArtZ HDR + Auto vs "Enchanced". The "enchanced" mode should not be used in the dark. In my other tests "HDR + Auto" was very nice (better than Lg stock). "enchanced" was very noisy and greenish. In the pictures below LG looks the best. Apparently the developments in GCAM for the dark conditions should continue.
[LG G6 Guides, News, & Discussion] ArtZ:
Iyi geceler ;)

I get the best results when I set HDR+ mode to 'Medium'. In fact, LG HDR (as Google by default) doesn't use a lot of frames to build the HDR (or HDR+) final image. If you want to get good results (especially if you want to use HDR+ enhanced), don't go higher than 'Medium'.

Regards,
[LG G6 Guides, News, & Discussion] Gagi77:
Thankyou a good night. I will do what you say?
[LG G6 Guides, News, & Discussion] Krabosan:
Hİ, it is possible to turn off the front camera mirror mode ?
[LG G6 Guides, News, & Discussion] vitoski:
[MENTION=235507]ArtZ[/MENTION], been testing your recent versions and get the mixed results. Under some conditions the color fix makes colors too warm (very low light) but in others the color fix is in point. To be more specific one picture taken with color fix enabled gives me colors like in real life (white is worm) and another may have too warm white - both photos taken in low light.

Of course all pictures taken with HDR+ Enhanced.

Three questions:

1. Do you get consistent results?

2. Is it necessary to exit GCam after enabling/disabling color fix to apply changes?

3. If #2 is no, can you add this as a button in the interface to quickly toggle on/off color fix option directly from UI instead of options?

Thanks!
[LG G6 Guides, News, & Discussion] ArtZ:
1.- Consistency has nothing to do with the patch. I get the same inconsistent results with the option turned OFF. IMHO it's a problem of AWB under very low-light (especially when it's artificial). Besides, the correction is minimal.

2.- No

3.- It's pretty easy to turn it ON and OFF so I think I'll leave as it is now.

Regards,
[LG G6 Guides, News, & Discussion] vitoski:
1. Ok

2. Ok

3. Ok, it's not difficult to navigate to settings, but having it on UI would simplify the process enormously. However if you don't want it, that's ok.
[LG G6 Guides, News, & Discussion] ArtZ:
Thank you for your comprehension. It's a lot of work to modify the interface for something ephemeral.
[LG G6 Guides, News, & Discussion] vitoski:
I feel sarcasm in your answer ArtZ. I haven't touched the code myself hence can't say if this requires a lot of work or not. All I wanted to say is that it would be awesome to have it right there if that doesn't require a lot of work and time. However completely understand your point of view.
[LG G6 Guides, News, & Discussion] Mefiboshet:
Possible colour consistency fix

So, just had a chat with [MENTION=2712580]cstark27[/MENTION] and ran some tests following his advice.

It seems that tapping the screen to focus (yes, even with the fixed-focus wide camera) solves a lot of the colour consistency issues.

Give it a try!
[LG G6 Guides, News, & Discussion] ArtZ:
My post was not intended to be sarcastic. Sorry, it wasn't my intention.

Regards,

---------- Post added at 11:14 PM ---------- Previous post was at 11:09 PM ----------

Well, I've always done that! I choose always my focus point but I found consistency. In fact, Google Camera uses multi-point metering and that's the problem. Even on my Leicas and Canons I never use multi-point metering because you don't get what you want.
[LG G6 Guides, News, & Discussion] Mefiboshet:
Just tested.

GCam can indeed do spot metering.

The only problem is that it is not updated in realtime in the viewfinder.

You have to take the picture 1st.

Try shooting a contrasty scene twice, tapping a dark part the 1st time, and a bright part the 2nd time.
[LG G6 Guides, News, & Discussion] cstark27:
Must just be one of those bugs from not being a Pixel, again. My Pixel 2 viewfinder updates appropriately, and you're right, the V30 doesn't. But the taken photo is appropriate.
[LG G6 Guides, News, & Discussion] fahmi182:
Then tap/touch not working properly (viewvinder), on my mi5s perfectly like original pixel :)
[LG G6 Guides, News, & Discussion] s88:
Can you try to apply the same correction for the wide angle apk
[LG G6 Guides, News, & Discussion] Gagi77:
It's already done #1482
[LG G6 Guides, News, & Discussion] ArtZ:
Done. Check post #1482 https://xdaforums.com/showpost.php?p=75397030&postcount=1482

Regards,

---------- Post added at 01:04 PM ---------- Previous post was at 12:11 PM ----------

Done. Take a look at post #1482 https://xdaforums.com/showpost.php?p=75397030&postcount=1482 ;)

Regards,
[LG G6 Guides, News, & Discussion] g2tl:
[MENTION=235507]ArtZ[/MENTION]

Can you have a version that uses Google photos? Or allow dev option again? It's stable enough for me and much more intuitive
[LG G6 Guides, News, & Discussion] Windforce0511:
These two latest versions, one for standard and second for wide angle lens are going to be stored on my external sd. I'm not installing any other versions. For me these two are perfect. HDR+ enhanced working great even in no light scenario, no more purple tint. This is great!
[LG G6 Guides, News, & Discussion] fahmi182:
Your latest version works great, i like no complicated config, then i like TAT version, one thing.. can you add custom blacklevel for front camera like BSG version? Your version front camera works great on my G6, but greeny on my mi5s.. thank you
[LG G6 Guides, News, & Discussion] ArtZ:
Version for color testing

[MENTION=7540749]Gagi77[/MENTION] [MENTION=3267278]Mefiboshet[/MENTION] [MENTION=1606575]vitoski[/MENTION] [MENTION=4929684]Sergykm[/MENTION] and all other members.

Mates,

I keep improving the colors and I need your advice on these two versions. I do get excellents results on my G6 (better than ever) but I'd love to know your opinion.

Download normal version for test

Download wide version for test

Regards

---------- Post added at 11:09 PM ---------- Previous post was at 10:55 PM ----------

I'm trying to calibrate image sensor on LG G6. You can download this test version, it may work better on your mi5s:

https://xdaforums.com/showpost.php?p=75414279&postcount=1509

Regards,
[LG G6 Guides, News, & Discussion] fahmi182:
Nope, still greeny for mi5s, mi5s using 16.50 blacklevel front camera, or maybe you can created for mi5s version only, or maybe you can added custom blacklevel toogle fo front camera..

Anyway, it works great on G6..
[LG G6 Guides, News, & Discussion] yanrachna:
[MENTION=235507]ArtZ[/MENTION]: I tried those Camera app and it works fantastically. However, Wide-angle Camera is inconsistency UI (Icon, setting, etc) comparing the Normal Camera. Can you change the UI of the wide-angle camera?

Anyways, thank you so much for making Camera LG G6 great again.
[LG G6 Guides, News, & Discussion] ArtZ:
Sorry, this is a LG G6 thread. I'm not fixing issues on other devices.

Regards,
[LG G6 Guides, News, & Discussion] vitoski:
Will play around with your version. Just to be clear, you need feedback on colorPlus right? What are the changes comparing to version from yesterday?

Wysłane z mojego LG-H870 przy użyciu Tapatalka
[LG G6 Guides, News, & Discussion] fahmi182:
I dont ask for fixing, maybe you can add custom blacklevel for front camera like BSG version, as i say.. I like simpicity, no config needed and so your version is perfect fit, or maybe you can tell me where file and line to modify so i can modify my self. Thanks Sir!
[LG G6 Guides, News, & Discussion] wgaustria:
I have not followed this thread for a while and I am still using an older version from BSG posted here, but I would like to try out the latest versions. I see there are two versions "wide" and "normal". Does wide only give me the wide angle lens from the LG G6 and normal only the normal lens? Can I install both at the same time? From my old BSG version I only was able to take pictures with the normal lens.

Thanks in advance!

Walter
[LG G6 Guides, News, & Discussion] ArtZ:
Red and yellow channels modified. I'm still making the final changes because I think I'm very close to an almost perfect result on the normal camera. For the wide version is more problematic because underexposes and lens has a strong vignetting. Besides it uses another configuration. Personally I'm not convinced with the results of this port unless light conditions are excellent.

---------- Post added at 10:21 AM ---------- Previous post was at 10:18 AM ----------

Walter, try these test version. They have some color improvement. Post #1509 https://xdaforums.com/showpost.php?p=75414279&postcount=1509

Regards,
[LG G6 Guides, News, & Discussion] Gagi77:
[MENTION=235507]ArtZ[/MENTION] Thank you for your work. I will share my evening test results ?
[LG G6 Guides, News, & Discussion] ArtZ:
Final releases with improved colors

Google Camera 5.1.018 for the LG G6 based on cstark27 version 3.1 final release.

NOTE: Final releases for cstark version with true colors for the LG G6 (and probably other devices using Sony IMX258 image sensor)

'We are our own best advocates', as the saying goes.

Guys,

As Oscar Wilde said 'The only way to get rid of temptation is to yield to it... I can resist everything but temptation.' I couldn't resist to make [MENTION=2712580]cstark27[/MENTION] versions a bit better adding sensor calibration for the LG G6 sensor (Sony IMX258). This calibration should work on other devices using the same sensor.

I've worked for few weeks to get better colors using Google Camera on the LG G6 and I'm very happy with obtained results. Of course, they're not perfect but they are much better that Google default settings.

After hundreds of tests on different light conditions (normal light, low-light, natural light, artificial light...) I got probably the best values for the LG G6. I played with 'red' and 'blue' channels to get real colors in almost every situation.

Now, I think my work is accomplished. The values used can be used on other versions from other developers.

The only thing makes me unhappy is the Wide-angle camera lens has a lot of vignetting and the pictures are underexposed. This causes my settings are good in good light conditions but, even is low-light conditions, you'll get better results than with default settings.

I use platformBuildVersionCode="26" and platformBuildVersionName="8.0.0" and Google Camera original icons. [MENTION=2712580]cstark27[/MENTION] original versions use platformBuildVersionCode="23" and platformBuildVersionName="6.0-2438415" and customs icons.

This mean these versions are compatible with Oreo and their size is a bit smaller (original Google icons are smaller). I have compiled the application for Android 8.1.0 but I cannot test it because it's not compatible with my LG G6. I don't sharethem because I don't know if it works (No Oreo 8.1.0 for the LG G6).

I've hidden 'Developer tools' (useless with this version and if someone hit on 'camera.op.nes' application crashes) and deactivated 'Feedback' and 'Help' so you won't get the application crash every time you hit on this items. Don't ask me to reactivate 'Developer tools' or other modifications.

JPG quality is set to 97%. After many tests I found the best compromise was 97-98%. With HDR+ set higher than 'Normal' artifacts are visible on JPG images when JPG quality is set to 95%. Going further than 98% makes picture sizes very high under low-light conditions and there's no visible gain.

In most uses, you'll get the best results with HDR+ set to 'Normal' or 'High'. Personally, I use mainly 'Normal' which is pretty good. Google uses 'Default' which is the lowest.

Download links:

Normal camera release: Google Camera

Wide-angle Camera release: Wide-angle Camera

It has been a pleasure to contribute to this project. I hope you enjoy my work. That is the best reward I can get.

Regards,
[LG G6 Guides, News, & Discussion] jurastefo:
Perfect work men. I would like to ask for normal and wide version which HDR make best results High or Normal?
[LG G6 Guides, News, & Discussion] ArtZ:
Updated version here. Works better -> https://xdaforums.com/showpost.php?p=75419760&postcount=1518

Regards,
[LG G6 Guides, News, & Discussion] jurastefo:
Great I install and looks pretty good:). Which settings do you have I would like to copy for both camera.?
[LG G6 Guides, News, & Discussion] ArtZ:
HDR+ set to 'Medium' or 'High' (I explained that on the download post) and 'ColorPlus' ON for the LG G6 (and maybe for other phones but I have not tested). That's all.
[LG G6 Guides, News, & Discussion] jurastefo:
Thanks I have LG G6:)
[LG G6 Guides, News, & Discussion] vitoski:
[MENTION=235507]ArtZ[/MENTION] will test it definitely once it gets darker here:)

In the meantime have you set colorPlus option in your GCam permanently to On (keep it on) regardless of the light condition?

Tested your previous version (test) with good light condition and haven't noticed any obvious difference with and without the option turned on.

One last question, if the colorPlus option is disabled are the colors reverted back to the ones from the latest cstark's version?

Just trying to set baseline for testing and comparison. As you may remember we both were getting different results with cstark's version under low light with HDR+ Enhanced (you were getting slight purple tint, I didn't).

Happy to test your version and provide my feedback!

Wysłane z mojego LG-H870 przy użyciu Tapatalka
[LG G6 Guides, News, & Discussion] ArtZ:
On the LG G6 'ColorPlus' should be 'ON' all the time. When 'OFF' you use Google automatic settings (same as cstark27 versions). Even in normal light you'll see a big difference when 'ColorPlus' is ON. You can make some tests.

I'm sure you'll get the same results than me. I believe my tests were done under more difficult conditions. You'll let me know the results but I'm really confident.
[LG G6 Guides, News, & Discussion] vitoski:
[MENTION=235507]ArtZ[/MENTION] one more question, any chance you could implement Lens blur switch from your previous version (the one with Taimen). That switch and the feature work fine with G6, even though it requires good light condition - sometimes it is useful:)
[LG G6 Guides, News, & Discussion] Vkboy:
Guys help I just bought mi mix 2 as my other device and the focus is super bad. Otherwise all good. No one active at mi mix 2 thread. Nobody even reply. Please if possible do make touch to focus work. Will be very glad to all [MENTION=4860033]Arnova8G2[/MENTION] [MENTION=2712580]cstark27[/MENTION] . I know it's not right but guys you are last how. I tried various from Roms and now using miui Oreo beta build. Please help. Only touch to focus don't work
[LG G6 Guides, News, & Discussion] Gagi77:
[MENTION=235507]ArtZ[/MENTION] "v3.1_SAT.apk" vs "xx_v3.1_release.apk". HDR + Auto: SAT vs XX, HDR + Enchanced: SAT vs. XX. The SAT version in "Enchanced" mode is better (I've tried it many times). There was not much difference in the "Auto" mode. I will do a few more tests in the coming hours. "HDR + Level: Medium" and "Color Temperature and Plus" were turned on and restarted.
[LG G6 Guides, News, & Discussion] The-Last-Hylian:
Does the wideangle app give you anew app icon? Or does it work in one app with the standard?
[LG G6 Guides, News, & Discussion] amrnagy16680:
wide angle give you new app icon
[LG G6 Guides, News, & Discussion] The-Last-Hylian:
Whats the difference between HDR+ and HDR+ Enhanced?

Also I guess HDR+ captured frames is best set to Medium or High?

---------- Post added at 02:47 PM ---------- Previous post was at 02:46 PM ----------

Thanks
[LG G6 Guides, News, & Discussion] ArtZ:
Thank you for testing.

In fact, you'll see differences in mode 'HDR+ auto' in colors. Take some pictures (indoors and outdoors) and you'll see the differences. It will be nice if you can test the release version with 'ColorPlus' ON and OFF on the same view. The best way to test is fixing the LG G6 on a support (I use a simple piece of polystyrene with a slot I dig myself). I've took a few pictures outside with the G6 (ColorPlus ON and OFF and compared to them to the same pictures taken with my wife's Huawei P9. The LG G6 are better when 'ColorPlus' ON. We have a sunny but cloudy day in Paris and the clouds are amazing. Stone buildings are also better: the color of the stone is more natural (the P9 can't really get the real tones). Another interesting tests are aubergine (eggplant), magenta and grey synthetic surfaces or cloths with 'ColorPlus' ON and OFF. A big difference.

Enjoy!

Regards,
[LG G6 Guides, News, & Discussion] xterminater07:
I think autofocus has issue due to pixel 2 or any pixel settings if I am not mistaken. I read somewhere someone tested it and found out. [MENTION=235507]ArtZ[/MENTION], any inputs? Pdaf should work but even the default app from essential have issues with focus.
[LG G6 Guides, News, & Discussion] vitoski:
[MENTION=235507]ArtZ[/MENTION] the latest version (release) works good for me in low light, thanks. Well test it more for the next couple of days under various conditions.
[LG G6 Guides, News, & Discussion] Gagi77:
[MENTION=235507]ArtZ[/MENTION] "HDR Enhanced" SAT vs. XX. I took photos of the outside when the weather was bright, but I did not notice a difference in "Auto" mode. I tried the photo below with "Auto" mode. There was no difference ?. I will try to shoot the photos in the same poses. The most accurate in the morning sky is "LG Auto (No HDR)"> "LG HDR"> "GCam HDR". "GCam" He is wearing too much blue. "LG Auto (No HDR)" The colors are real.