A few weeks ago I started skining the 5.04 Camera to look like 6.08. That was fairly successful, however the main issue, lag time, was of course not affected. I then started trying to hack AF into the 6.08 Camera version & had issues getting it to function as it relies on some different resources that I could not get functioning concurrently.
So, last night I started playing with a new idea. Renaming & resources from one of the two camera versions allowing for both cameras to be installed, having one called to initialization by a long camera keypress.
Anyone familar with widows mobile (Arm) executables & resource hacking willing to help out on this idea & test it?
Is this something people would like to see in a cooked rom? Would the ability to toggle the camera depending on what you need, Auto-Focus or Speed, be appealing?
It really wouldn't add too much weight to the ROM, as both Camera use primarily the same resources/DLL's. Would having a choice of a macro/micro (AF) mode bee something you'd like to see?
Hi man,
Realy great what you want to do but to be honest I don't like the camera atm cause the front camera isn't working with the 6.8 build (correct me if I'm wrong).
I would rather have both camera's supported on my Kaiser to use this build.
Together with the Opal dialer with videocall enabled that would be a awsom job!
Grtz,
Leo
Great Suggestion!
I have not looked into that at all, My last TYTNII is dead, so I am on a Tilt. If you are willing to give it a test since you have both cameras, I will look into implementing that as well.
BTW, I will be moving this into the Development & Hacking thread soon. I just wanted to start it here to see if any Kaiser users had any camera hacking experience or suggestions.
I would be glad to help you my friend.
Please let me know when you have something!
GSLEON3 said:
Great Suggestion!
I have not looked into that at all, My last TYTNII is dead, so I am on a Tilt. If you are willing to give it a test since you have both cameras, I will look into implementing that as well.
BTW, I will be moving this into the Development & Hacking thread soon. I just wanted to start it here to see if any Kaiser users had any camera hacking experience or suggestions.
Click to expand...
Click to collapse
I have been able to specifically locate the function handling the camera AF uysing IDA Pro, I also see that there appears to be some hard coding of FPS information/limits in the camera executable for the 5.04 Kaiser Camera.
This info is not present within the newer (Opal) camera as far as I can tell & may be a reason why it seems to outperform the Kaiser Stock Camera. There is also no information or AF calls within the Opal Camera executable. Hence, without a complete rewrite of the program I cannot simply integrate AF into the newer camera.
Lost...
Anyone???
I have tried renaming the resources & creating a new registry tree all to no Avail.
I seem to have enough resources available to operate trhe second camera, however I cannot get it to initialize. Anyone have any suggestions?
GSLEON3 said:
I have been able to specifically locate the function handling the camera AF uysing IDA Pro, I also see that there appears to be some hard coding of FPS information/limits in the camera executable for the 5.04 Kaiser Camera.
This info is not present within the newer (Opal) camera as far as I can tell & may be a reason why it seems to outperform the Kaiser Stock Camera. There is also no information or AF calls within the Opal Camera executable. Hence, without a complete rewrite of the program I cannot simply integrate AF into the newer camera.
Click to expand...
Click to collapse
Have you found many functions involved in the AF management, in the old version ? I'm a bit busy with the Dialer, but since we're both using IDA Pro, I may take a look to what you've documented so far in the IDA database... I'm not a big expert in camera apps, but who knows...
BJK
There are about 6 or so references. Both cameras use primarily the same resource files, so it appears to me that the AF function is coded into the executable.
I had pretty much given up on the addition of AF to the new 6.8 camera & had decided it would be easier for a novice like me to just add support for a second camera program.
However, that task is also throwing me at the moment. I have built a new cab, with renamed files & some hacks to point to the renamed files, I have also created a moddified registry tree to co-exist with the one for the OEM camera, yet when I select the newly moddified camera it tries to launch, but won't initialize.
Missing something somewhere...
GSLEON3 said:
There are about 6 or so references. Both cameras use primarily the same resource files, so it appears to me that the AF function is coded into the executable.
Click to expand...
Click to collapse
No external reference to a shared .dll ?
I had pretty much given up on the addition of AF to the new 6.8 camera & had decided it would be easier for a novice like me to just add support for a second camera program.
However, that task is also throwing me at the moment. I have built a new cab, with renamed files & some hacks to point to the renamed files, I have also created a moddified registry tree to co-exist with the one for the OEM camera, yet when I select the newly moddified camera it tries to launch, but won't initialize.
Click to expand...
Click to collapse
That's why I asked. It seems a single-threaded apartment issue. If it is an external .dll, maybe it could not be designed for multiple concurrency...
BJK
DupinBJK said:
No external reference to a shared .dll ?
That's why I asked. It seems a single-threaded apartment issue. If it is an external .dll, maybe it could not be designed for multiple concurrency...
BJK
Click to expand...
Click to collapse
When I get a moment I will post what I have found, the differences in the executables & the AF refernces & coding.
It may all be moot however, as I take a look at the Raphael camera, which allegedly has AF as well as a newer camera. We shall see.
GSLEON3 said:
When I get a moment I will post what I have found, the differences in the executables & the AF refernces & coding.
It may all be moot however, as I take a look at the Raphael camera, which allegedly has AF as well as a newer camera. We shall see.
Click to expand...
Click to collapse
Good, thanks !
Again, need to reiterate that arm executables are not my thing, however, I have hacked the Ralph Camera & it uses the same icons & resource (Mostly) as the Kaiser & Opal.
However when I build a new cab just to see if the AF is working already on the new Fuze ROM Camera I get an unsigned error message.
Can one of you ARM pros give me some insight?
Fuze Camera is new version & definitely has AutoFocus support!
Works with the existing hacked QVGA .mui & icon files, but when trying to create the cab I still get unsigned error.
Anyone???
Here is the start of an OEM QVGA package. Exe still won't launch.
Anyone want to take a look? Do I need to resign the app, the exe?
It includes all files & images resized & hacked for QVGA including the .mui files. The exe is throwing me badly though.
The OEM can be found here: http://rapidshare.com/files/159104147/HTC_Camera_6_Fuze_OEM_QVGA.rar
However, it seems the sensorSDK references are giving me the issues. Maybe need to find a way to null them out or default landscape.
If I'm understanding correctly, you'd like a switch to use the camera version with AF and the camera version without AF. Correct or am I completely missing something here? If I AM understanding correctly, then I would be all for this, as this would really make the camera on the Kaiser at least sort of useful, as opposed to only usable in certain conditions.
GSLEON3 said:
Here is the start of an OEM QVGA package. Exe still won't launch.
Anyone want to take a look? Do I need to resign the app, the exe?
It includes all files & images resized & hacked for QVGA including the .mui files. The exe is throwing me badly though.
The OEM can be found here: http://rapidshare.com/files/159104147/HTC_Camera_6_Fuze_OEM_QVGA.rar
However, it seems the sensorSDK references are giving me the issues. Maybe need to find a way to null them out or default landscape.
Click to expand...
Click to collapse
Sorry for being late...
Have you removed the signature before patching the files ? You have to remove it from each signed file you're going to patch, to be able to use it. I can do it for you, if you wish...
BJK
met3ora said:
If I'm understanding correctly, you'd like a switch to use the camera version with AF and the camera version without AF. Correct or am I completely missing something here? If I AM understanding correctly, then I would be all for this, as this would really make the camera on the Kaiser at least sort of useful, as opposed to only usable in certain conditions.
Click to expand...
Click to collapse
YES. That was the original intention of this thread.
DupinBJK said:
Sorry for being late...
Have you removed the signature before patching the files ? You have to remove it from each signed file you're going to patch, to be able to use it. I can do it for you, if you wish...
BJK
Click to expand...
Click to collapse
BJK, I would be eternally gratefull if you'd do that for me, then I can see if I can find a way to null out or hack a SensorSDK.DLL to aways import the landscape value as a return & maybe see if the results are succesful.
OT: gsleon03...dude im your neighbor lol...i live in Torrance and im up in PV once in a while.
id like to see this project come true
Hi
first, sorry that I interrupt this thread and asking about improvement of frame rate for shooting video throw HTC camera, am have Cruise and has low frame rate in video recording and I think that Kaiser has the same issue, am using the famous camera trick " run camera program, hiding the lens, power off devise and waiting for Sec's, then power on again" which rising the frame rate from 4 to 19 frame/sec in video shooting but with darkens pic, did any one analysis this trick and try to get solution for camera low rate problem or found why 6.08 camera is faster than 5.04
finaly i hope that see this project come true
secoseco said:
Hi
first, sorry that I interrupt this thread and asking about improvement of frame rate for shooting video throw HTC camera, am have Cruise and has low frame rate in video recording and I think that Kaiser has the same issue, am using the famous camera trick " run camera program, hiding the lens, power off devise and waiting for Sec's, then power on again" which rising the frame rate from 4 to 19 frame/sec in video shooting but with darkens pic, did any one analysis this trick and try to get solution for camera low rate problem or found why 6.08 camera is faster than 5.04
finaly i hope that see this project come true
Click to expand...
Click to collapse
I second that. ist there still any development?
Related
Can someone please explain the easiest way to get VGA resolution on my XDA Exec? Am I right in assuming that although the screen has a 640x480 resolution, they use pixel doubling to negate it and it actually runs at the same resolution as my Dell Axim X5 (320x240)?
Is there a simple registry hack that disables this, or do I have to botch around installing a hack and then trying to botch all my apps to run in the new resoluition? Does anyone know if TomTom5 works in VGA mode?
I'm sure this has been covered already, but some of the topics are 13+ pages and date back quite a bit, and the site is a tad slow to trawl through lots of postings and searching for VGA brings up hundreds of topics.
Thanks in advance for your helps folks.
This is the best thread - there is a ZIP file on page one that I dobwloaded and it contains all the instructions to get things working
http://forum.xda-developers.com/viewtopic.php?t=32217
this is the post I didn't particularly want to have to trawl through, as it's 13 pages long and really slow to switch pages.
TheFair - as noted above, there is a zip containing instructions. You don't have to read all 13 pages, although it's useful background reading - we didn't write all 13 pages just for fun .
I had to do VGA again yesterday, for the first time in a long time, and it's very simple. Basically:
Unzip, copy files to windows, click ozvga, reset.
V
OK, thanks Vijay. Will I need to install your Bigphone application and replace other system apps once done? Also, any idea if TTN5 works in VGA mode? As my XDA is used primarily as a SatNav, I'll stick with QXGA if it's not going to work properly.
Thanks
thefair1973: VJBigPhone can be used to make the phone app usable again, (I don't use my Uni as a phone, so I don't use it ) Replacing system apps etc is optional, but obviously helpful if you use the apps effected.
No idea about TTN5, but it's basically one click to revert to QVGA, so I'd do a backup and just give it a go if I were you!
V
great, thanks very much for your help Vijay.
I use TTN5 and VGA. TTN appears to drive the screen directly, so you don't get any extra resolution, but it works fine
I use TTN5 and VGA. TTN appears to drive the screen directly, so you don't get any extra resolution, but it works fine
Is VGA in Universal already perfected? Which applications are still not showing right upon application of this hack?
Just finished reading the VGA thread. I have a headache now. One important question though, I am using the latest JASJAR ROM, would OZVGA work on this new ROM?
Yes, I did it yesterday with no probs.
V
vijay555 said:
Yes, I did it yesterday with no probs.
V
Click to expand...
Click to collapse
Thanks Vijay! I just performed a hard reset, so I am ready to try something new. I downloaded the file compliled by Khashim I believe, I'll check if I got his name right. Which one did you use? Is it the file from Carnivor or Khashim? (Yes it is Khashim.)
I think originally I used Carnivor's, but frankly, I had an old set of files that had been sitting on my SD card for some time (I've posted the zip in that thread as well, towards the end).
However, I don't think there's a big difference. Use the one that sounds positive. It's easy to copy over new files if required. But you should only need to fiddle with it if you see problems in some of your apps. I don't use many apps, but I don't see any problems.
V
I tried. It does look wonderful for browsing using PIE. But I do agree that the font are too small. I also tried VJBigPhone and it did made the buttons larger, but the bottom part has a different color. Did I miss something about the skin?
Comm Manager has the same problem about the skin on the bottom part.
I love how ozVGA changes PIE, but weighing the benefits on other applications I use, I decided it is not for me at the moment. I hope someday someone can implement an application to run a specific application on VGA mode selectively and not implement it on the whole device. Thanks for the responses.
cktlcmd said:
I love how ozVGA changes PIE, but weighing the benefits on other applications I use, I decided it is not for me at the moment. I hope someday someone can implement an application to run a specific application on VGA mode selectively and not implement it on the whole device. Thanks for the responses.
Click to expand...
Click to collapse
try tweaks 2k2 vga brute force
cktlcmd: there is a background fix for the phone on my webpage and in the VJBigPhone thread. I haven't looked at the comm manager fix yet.
Waiting for a more selective pixel doubling patch may take a while or be futile. I think it's possible but I've not had time to implement my own hack yet.
V
I've done the VGA hack & overall its a major improvement.
The size of toolbars & the fact that some fonts are too small is a nause, same as the programs that don't display properly. But its SOOO good to see so much text on the screen.
To be honest, if it doesn't really run at 640x480, is it not a case of false advertisment? Just a thought.
xyon: it is running at VGA (640x480), but just making everything sharper and emulating 320x240. I asked an Orange spokesman once and he said they were going for "quality over quantity". I suspect they just didn't know how bloody persistent haxxors could be
I prefer 640x480, but it does make day to day usage inconvenient. Perhaps all apps will eventually have native 640x480 support. But given how many years it took to go back to square screen support, I'm not very hopeful!
V
Hi frens, I would like to know is there anyway to change our device from VGA to QVGA? I mean maybe using some certain software we can toggle between using QVGA or VGA..something like that
Because VGA can't enjoy many cool interface things like Cube, Ifonts, etc
pliz help
did you find a solution ?
i am looking for the same soultion ? did someone find ?
i need it ASAP ?
thx
Not looking likely
Hi Guys
It seems fairly certain to be a no go see my previous threads
http://forum.xda-developers.com/showthread.php?t=350157
http://forum.xda-developers.com/showthread.php?t=347532
http://forum.xda-developers.com/showthread.php?t=351589
Sorry they are all a bit short but you will get the general idea, basically it comes down to there being no apparent way to hotswitch the dpi on a per app basis. The closest thing to any chance of it working would be to have a patch or layer that can emulate a lower res screen which GAPI for HPC's http://www.wincesoft.de/html/gapi_for_hpc_s.html is capable of doing for WinCE boxes that have widescreen resolutions but want to run an older 320x240 game or app so any potential solution would likely have to work along the same lines.
However the main issue is that the gx.dll method would not work in most cases as they are now quite heavily tied into the roms (certainly on my Athena) so I could never test it out fully, a generic or emulation layer based gx.dll would most likely 'break' the newer phones if it was forced into the windows directory and from some basic testing before simply placing the HPC gx.dll in the app directory does not enable you to make use of it as the base gx.dll is already resident in ram when the phones are started. I also tried reshacking a couple of apps and changing it to look for xg.dll and renaming the HPC one to match but that just broke everything as you have to re-sign the app which I managed but it just plain refuses to run and either brings up an error message or just does nothing when you run it.
Wow a bit long winded sorry about that but it may help anyone who wants to take up the challenge
Perpetual is a simple image zooming demo.
You can zoom on any of the 200 images, and the pixels will turn into other images to zoom, perpetually.
What is it for ?
Nothing ! It's just a proof of concept and a demo I made...
If you have any images to submit to add into the demo, feel free to post in the forum and we'll update as soon as possible ! I'm looking for images that have nice colors and an overall dominant one (that'll be used for the color detection) Thanks for helping support this useless project !
Download Perpetual
Also available :
Perpetual Image Maker
Sexy Image Pack
Kaiser47's DeviantART selection (really awesome pack !)
SaintSeya pack
Zen nature pack
v0.3 (03/29/08)
- New prp format (old ones should still work though) with additionnal data : author, icon, etc...
- New menu using the new prp format data, looks much better !
- Now saves viewed purcentage !
- Now works with Smartphones !
- Fixed menu bug if you had too many packs
- Much higher image quality while zooming
v0.2
- Fixed image bug when you have more than 256 images (that was stupid)
- Fixed potential crash when moving around too much
- Fixed surface bug when you moved around
- PerpetualMaker updated, smaller exe
- Improved performance
- New image viewer to select start image
- Now over 300 images !
- New Image Pack maker : just put in any directory, and it'll take all the images from images/ (still requires 240x240 jpeg images) and do a pack (.prp file)
- New splash screen, with possibility to select pack to display !
- Fixed random crash when changing speed while in auto mode
- Speed button : x0.5, 1, or 2
- Auto button for lazy people
- Surface button to come back to the unzoomed image
A video is available on that page if you want to see what it looks like without downloading/installing
Thanks for the feedback, suggestions, and images !
Fascinating software - it works perfectly in portrait, its a bit slow and landscape, and it doesn't handle the change from portrait to landscape well.
Thanks for making my Kaiser much cooler however.
Any way the process could be automated, to make it into a semi-interactive screensaver?
Surur
Well, technically, it's automated on my PC (there's no way to add all the needed data for the colors of the 200 images alone ^^) : I just have a folder with the images, launch my .Net app, and it scans through all the images, sorts by color, and outputs both miniature views (to avoid overloading the memory) and a huge array with the number of the image to use for every 16bit color ^^
It takes a while to run on my PC, so it's unlikely to work on in realtime, would have way too much loading time. I have just thought of an alternative method to build the color array, it could work much faster, but would only be available for real-time if you have only a few images... and if you don't have many images, well... It won't work to well ^^ You need to have at least 50 or 100 photos, ranging in pretty much all the possible colors (my PC app outputs which colors are overpopulated and which aren't populated enough, to know which images to remove and what colors to search for) ^^
While it would be cool to use my own pictures, it would be nice to see it zoom through the stock images without me having to touch the screen with the stylus too, independently.
Surur
Well, this is a first release, I just wanted to have a quick proof of concept and that's it ^^
The future stuff that could be added :
- "Surface" button (to move back up)
- Auto button (could be nice to for lazy people ^^)
Anything else ?
A zooming back feature would be cool
sercio said:
A zooming back feature would be cool
Click to expand...
Click to collapse
Would that be for the skin-tone pictures ?
Surur
yeah
Btw there should be alot more pictures kind of ^^
This looks really cool I will have to try this on my Hermes. Does it work for VGA and Qvga?
*Edit* Only Qvga any plans for VGA? *Edit*
Alkhal said:
*Edit* Only Qvga any plans for VGA? *Edit*
Click to expand...
Click to collapse
Well, it should work on VGA, just that it's upscaled. I tested on emulator and the performance was good.
In theory, a 100% VGA version could be done. But the program is already 5MB, uses a lot of ram for all the images, and a full VGA version would just use 4 times more ram :s
Btw there should be alot more pictures kind of ^^
Click to expand...
Click to collapse
Feel free to post some images (or send them by mail/PM) and I'll add them ^^
*Edit*
Ok here are some random Pictures i found and had on ma system! I extra made them 240x240 so you dont have any work rescaling them
Btw i would like if the "zooming" effect could be more smoother and slower if its possible...
Hope you like ma pics!
Regards
Thanks, let me check that out.
As for zooming, the speed can be changed, not a problem I didn't actually test on hardware, just on emulator, so it might not be optimal yet...
TODO list (note to myself) :
- Auto-zoom
- Back button
- Speed button
edit : hey, nice set of pics I'll definately include most of them in the next release (either as additional pictures or as a remplacement. like flickr-color-picker.jpg which will be perfect to replace a sort of crappy image I had in the same style ^^) Thanks !
edit2 :
Better not or are you willing to made a "special" adult version ?
Click to expand...
Click to collapse
Could be fun if you know where to find nice pics (IE, with nice and different colors, won't be as simple)
edit3 (last one, I promise !) :
Still looking for a good theme for the icon and the viewer, if anyone has an idea, please share !
I found few random pics... hope you can use them
Yay, those are awesome !
I'm currently finishing a set of 50 sexy photos, then I'll see if it works good enough with those
Cool and amazing app! Works perfectly on WM2003! Keep working
I think that you should make other app like that: http://www.mazaika.com/mazdownload.html for ppc (WM 2003 support for sure! ).
Nice work!
Thanks for the link. That one seems nice too, but the images are in 64x64, whereas I use nice and big 240x240 images ^^ I'm thinking of modifying my PC .Net exe and redistributing it... It could produce a file like myimages.prp which would contain all the data needed, and could be copied on the PPC to open it...
As for SexyPerpetual, tested, it works pretty well ! The images aren't the best as I used the first image pack I could download on bittorrent. Not sure what the forum policy is for the kind of stuff, so I will not post a link to download it. Just send over a quick PM requesting the link and I'll answer back
As for the video, if you want to take a look, here the link for the normal version's video : http://www.palib.info/blog/flvplayer.swf?file=http://www.xflib.net/Games/Perpetual/Perpetual.flv
Just keep replace the name by the sexy version's name and you should be able to view it (if the admins don't want this posted, please just tell me and I'll remove it !)
yes it woudl be cool if you can provide a tool that we can use to compile "our" versions with our pictures. it would be simpler than having to make special requests to you and sending many pics ?
but also if you really want pics, perhaps we can all send some to you ? public ftp or classic sharing sites like rapidshare ?
SexyPerpetual is very nice But insert "more naked photos" xD
BTW: I like kaiser47s idea
Kaiser47, feel free to use any method to send of photos
Yeah, I know, the sexy version misses a few naked photos ^^ But I just took a pack found on bittorrent, and used the ones with the most colors (because if I use only naked women on a white background, the transitions will be crappy, so I needed to have blue, red, etc....). If you have a pack with nice naked photos, I'll add them to the pack
I'm currently modifying the PC part of the code to generate a special file which could be distributed and read by the PPC app, that way anyone can do an image pack
Cool idea
I do not have ones so I will w8 for new versions xD
Is there any registry tweak that will allow you to zoom in closer with the album viewer software. It works great for the files I view but I need to be able to zoom in much more than it allows
Thanks
Mike
Correct me if I'm wrong, but I think you can zoom in as far as the resolution of each image allows. I have some pretty high-res photo's (taken on a digital SLR) and I can zoom in on them until I start to see pixels. If you have low-res pics, you'll start seeing pixels much sooner.
Zooming in any further would be useless since it can't add any detail, you'll just see pixels the size of Lego blocks.
Edit: I realize you may want to examine an image pixel-per-pixel for some reason. In that case, sorry, I can't help.
Thanks for your response, If I could zoom in that close it would be great. I have some hi resolution files anywhere from 6-10 MB which open fine but I can only zoom in about 3 levels. If I could go to the level you describe, it would more than meet my needs.
Hm... Maybe there is a limit after all. I must admit I haven't tried any files in the 10mb region.
I've taken a quick look in the registry but I haven't come across anything that looks like it might solve this. Sorry.
I looked in the registry too but couldn't find any reference to HTCalbum at all. Guess I'll just have to start trying all the demos of the photo apps again...
There's a bunch of stuff under 'HKLM/Software/HTC/HTCAlbum'. Maybe you can find something I overlooked there.
Thanks, don't know why Resco didn't find that ref, I thought it scanned all directories. I couldn't find anything there either. I did change a dword from 2 to 3 in wheelzoomin frames but that didn't do anything obvious so I changed it back. Wonder if HTC support might be able to help, I've read that they're quick to respond to customer software issues but since this is more of a preference issue vs buggy software they may not offer up much.
Yeah, today I copied a 78 mega pixel image (actually a map) to my Leo and to my surprise, I can't zoom more than a certain amount in HTC Album. Anyone know a fix for this?
use resco photo manager, that one allows you to zoom in much more than the htc album. The newest version also supports multi-touch!
thanx! Tried resco; I'm flattered how they implemented multi touch this soon! only a month and a half after Leo's release.
It's really nice and fast (even faster refresh time than htc album) but I wish u could disable multi touch rotation. It's constantly confusing pinch with rotation.
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
gurd123 said:
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
Click to expand...
Click to collapse
i remember there was an app (german) that take 2 pictures at the same time from both rear cameras but the app was just to show that both work so it was like open app>automatic capture>save both pictures>exit.
got it : http://forum.xda-developers.com/showthread.php?t=2722352
yeah I´ve seen this app, but it´s hard coded on the linux kernel ...
and like I said I´ll try to calculate the depthMap in realtime, so a continious Depth-Matrix with opencv for example and not just a jpg
isn´t there a possibility to access the hardware components of an smartphone and activate them?
gurd123 said:
yeah I´ve seen this app, but it´s hard coded on the linux kernel ...
and like I said I´ll try to calculate the depthMap in realtime, so a continious Depth-Matrix with opencv for example and not just a jpg
isn´t there a possibility to access the hardware components of an smartphone and activate them?
Click to expand...
Click to collapse
Maybe this will help you
Code:
[URL="https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api/htc-dual-lens-sdk-installation/"]https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api/htc-dual-lens-sdk-installation/[/URL]
like I said in the first post, I´ve tried to understand the SDK, but in my oppinion it´s not for creating a file...
you´re just allowed to use the already created depth information of an jpg-file...
or has anyone made some other experiences with the SDK?
Have you solved the problem?
Hi,
I have the similar situation and would like to know if you have found a solution to this problem.
I agree with you that the SDK provided by the HTC website is for depth info extraction from already created image. The SDK is not viable for realtime depth processing.
Please let me know if you have the solution for this problem.
Thanks!
gurd123 said:
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
Click to expand...
Click to collapse