P10 depth map extraction? - Huawei P10 Questions & Answers

Is there any way to extract a depth map from the Huawei P10 pictures?
I was reading about a command line tool for P9 but my technical knowledge isn't good enough to get it to work.
Is there something easier, maybe an app?

Related

Photoshop resize tool

Hi, Ive been playing with photoshop for a while now off and on. For some reason with the new version (CS3) I cant find a tool to resize an object in an image. Im not trying to resize the whole image, but just an object. Does anyone know if im just overlooking it and can tell me how i can utulize this tool. Or, is it not in this version?
If I understand your question correctly, go to Edit, and press Free Transform while the object is selected. That will allow you resize a particular layer object.

How to program?

Hi,
I have an easy question...^^
How can I program programs for my phone?
Is there anywhere a tutorial or something like that?
Or are all of you just very high skilled programmer?
I'm very interested in programming, but I only handl Java and php..
I hope someone of you can explain me where I can learn this =)
Greetings
Chris
PS:I hope I posted this in the right section...^^
PPS: I'm from Germany so I'm sorry for any mistake in my sentences and I hope there is also a German programmer who can show me a tutorial on German, but English is also OK.
I asked this question a few months back and no one helped. Here is what I have been able to find on my own:
To program for your Windows Mobile device you need Microsoft Visual Studio 2005 Standard edition or later. That is an expensive development program. If you buy that program, you can download a Windows Mobile plugin for free that includes an emulator for debugging.
I personally refuse to shell out tons of cash for the ability to program for my phone for personal use. I have not been able to locate anywhere on the internet even the slightest hint of a way that I can write a program for my phone with open source or free software. I use notepad++ and g++ for my coding needs so I was really hoping for a way to program using only these tools with perhaps an additional library.
Speaking of libraries, open gl es is open gl for embedded devices such as your Raphael. I have been unable to find an open gl es tutorial that does not involve buying Visual Studio.
If anyone can find anything else, please post here.
I've used C# and C\C++ to write programs for Pocket PC\Windows Mobile. Java I believe you can use with limited functionality (not the same as on the web). Php is a web langange I believe??
Are you using C++ via Microsoft Visual Studio, or do you know how to compile mobile programs without dropping money in Microsoft's bank?
@Chunkyeggfoo
I know that php is for the web
I only wanted to show, that im not a totally noob in programming ^^
But my question was: Where do you learned this? Did you have an online tutorial, or from school? Or somewhere else...from a book maybe?
Here is one answer to the question.
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
I have never followed this guide because I use Visual Studio 2008. I started programming using visual basic .net (VERY EASY TO LEARN). Later, I wanted to write applications for the today screen and I needed to learn C++ and the win32 API. (NOT FUN!!!) The good news is that I have several programs that I use on my today screen including weather, calendar, battery monitor, task switcher, music player and an alarm. It has taken me about a year to become pretty proficient. NOTE: when you move from managed code (.net framework) to unmannaged code (C++, win32) you have to be VERY careful to properly manage device memory or you will end up with memory leaks.
I've attached a picture of my today screen to illustrate the possibilities.
Have fun
Edit
You can also download evc4 and the evc4.sp4 from the following links.
http://www.download.com/Microsoft-eMbedded-Visual-C-/3000-2212_4-10108490.html
http://www.microsoft.com/downloads/...F4-91D3-4DBE-986E-A812984318E5&displaylang=en
This will be a very powerful tool but probably very hard to learn too...
Check out this thread. It has lots of info.
http://forum.xda-developers.com/showthread.php?t=445396
You can take a C++ programming class at most community colleges (not state or UC, ie very expensive). im currently taking the pre req that will allow me to take it next semester.
I think,the simpliest way is the Basic4PPC(Basic for PocketPC). Use Google and search for it.
programming
i guess the best way is learn C#, i'm a visual basic programmer and the best app you can do with it is database app, if you want to do more powerful app for your phone is better to learn C#
i'm learning c# right now
try these two
http://www.smorgasbordet.com/pellesc/
http://trajectorylabs.com/win32.html

Extract Depth/Distance Coordinates from Huawei P9

Hi All,
I had a previous post entitled "Extracting Both Images from P9 Dual Camera": http://forum.xda-developers.com/p9/help/extracting-images-p9-dual-camera-t3465877. The help I received was excellent and so I thought I'd expand on the question.
I am successfully able to produce a "Bokeh" image from the P9, which would seem to indicate that this image does have depth coordinates embedded in it at least at one point in time. Does anyone know how to extract these depth coordinates from the image in a usable form, such as a matrix? I know one user (ScareIT) suggested Huawei may use steganography to embed the depth coordinates, but after using iSteg (a Mac steganography platform) it does not appear that the image has any hidden coordinates once it is transferred from the mobile device to the desktop.
As always, any help would be highly appreciated.
Best,
Josh
As I wrote on the other thread, the depth information is not hidden anywhere, it's just appended to the end of the file, after all valid JPEG data chunks. The JPEG image actually contains two; one is the processed image with the "bokeh" effect, the other is the original (colour) image that is used to re-apply the "bokeh" effect when editing from the Gallery app. If you take an app like JPEGSnoop and walk through the valid JPEG data chunks, you'll notice that the file is actually larger than what JPEGSnoop shows you. Look at the file in a Hex editor at that offset, and you'll see that the depth information is stored with reduced resolution and 8 bits per pixel, but without any compression whatsoever. This part of the file also contains additional information, such as the selected "aperture", the point of focus, which effect (if any) is applied to the out-of-focus areas, and so on. It should be fairly easy to write an application that can extract this additional information, though it's probably not very useful.

Latex on smartphone

Hello everyone,
I need for my application mathematical formula, so I want to know if there is any means to display the result of a latex compilation in my app. One way to do it would be to save the image of the formula in the resources, but I'm looking for a better way to do it, if this is possible.
Thanks

Exporting Huawei Notepad notes

Hi folks, a couple of weeks ago, I was tasked with extracting the notes from a Huawei P9 Lite, that were from the Notepad app.
I looked up how to do this, and ended finding a guide to extract them, using the Huawei account, to sync the notes, and then exporting them out.
The problem was, that the notes were in a horrible format (basically an HTML page per note). So, I built a script that parsed the notes, and exported the notes into a simple txt file.
Here's the script, it's written in node, you'll find the precise guide there:
Gist with the script
I'm attaching the script to this post, just in case. It's a simple JavaScript file, with comments in case someone wants to modify it. I hope it helps you.
Cheers!

Categories

Resources