Camera Application - Advantage X7500, MDA Ameo General

Hey Guys!
Is it possible to program an own camera application which not starts the standard camera application of windows mobile?
So that not the user decides when the cam shoot a picture!
For Example: A Thread is taking every 3seconds a picture or capture a video.
application development system: visual2005
device: HTC Advantage - Ameo
OS: WM5 (WM6 possible)
An open source app would be helpfull too!
Thank you!

Perhaps someone can help me with Directshow ?
Any good Tutorials ?
Or perhaps a short directshow code (c++) which only take a picture and save it. The CameraCapture Example is very complicate for a direct show newbie There are too many things which i dont need and its hard to find out the important lines :/
Would be nice if someone could help
THX

Related

Camera driver

Hi!
I have to develop an application for the XDA II. The application has to take a picture and then make an image processing algorithm. The problem is that I don't know how to access to the camera functions.
Does anybody know how to make it?
Thank you
Jon
this info is not yet available :-(
See http://forum.xda-developers.com/viewtopic.php?t=4950

XDA Software

Can anyone tell me if there is alternative software available for taking pictures (not video) with the XDA2.
I have been unable to configure the existing software from IA Style to disable the video functions and hence am looking for alternative program which only takes picture format.
Anyone got any ideas.
Help would be much appreciated.
Thanks

Image processing with diamond's camera

Hi everybody,
I want to develop a software using diamond camera. This software will process image by image the camera output. I reach for source code to get image by image the camera output. In windows mobile sdk we have a class cameracapture but also launch the htc diamond tool for it.
Thanks in advance.
Siav
try to make a sort of "suirvellance" camera, wich make photos & videos when movement is detected....
there aren't similar apps
for the question... i haven't understood it.. and however cannot help you... just an hint.
good work!
kuochsia said:
Hi everybody,
I want to develop a software using diamond camera. This software will process image by image the camera output. I reach for source code to get image by image the camera output. In windows mobile sdk we have a class cameracapture but also launch the htc diamond tool for it.
Thanks in advance.
Siav
Click to expand...
Click to collapse
Not understood what you want to do....
explanation
I want to acquire images from the camera, Image by image to process each of them. For exemple, i want to try a traffic sign recognition or face detection algorithm. But I can't get the video image by image.
More clear or not?
perhaps this one can help you:
Barcorama
the other one I can think of would be 'Dark Ruler'
both process images from camera in some way...

Split Video with NDK for Android...

Hello,
I have to do a task, that is more specific than a pure android development. I have to create an android application with a core module written in C or C++ language, doesn't matter, to do some video processing stuff. For example, the scenario is as follows:
1. The Android application captures 10sec video clip from the camera of an Android device;
2. Pass the captured file to the core of the android application;
The core should do the following:
3. Waits for the file, gets the file and opens it;
4. Splits the file into frames - for example, if the camera captures 30fps for 10 seconds video - 300 pictures in png or jpg format;
5. Do some calculations - for example it makes a histogram of a single image and stores it somewhere (db or file, doesn't matter);
6. Returns the result to the Android Code/Java/ which will render it on the default output - e.g. Screen, Console, etc...
How can I do this? I have searched how to split the video file into frames on linux, and I found that it could be done with ffmpeg, but I never dealt with ffmpeg and video/image processing... Could you help me somehow? I don't know what to do and where to start from...
Thanks in advance!
Best Regards,
v4o4ev
Possibly OpenCV / JavaCV
i dont know the exact code but i am sure you can get histograms and stuff with it.
try looking here
http://code.google.com/p/javacv/
Pvy.
pvyParts said:
Possibly OpenCV / JavaCV
i dont know the exact code but i am sure you can get histograms and stuff with it.
try looking here
http://code.google.com/p/javacv/
Pvy.
Click to expand...
Click to collapse
Thank you! The problem now is how to split the video into frames... I am searching about ffmpeg compatibilities, but for now I'm just researching... And one thing - I don't need the code, just the help to find some information about how to do it better and so on thank you so much for the reply - I will take a look now
Thanks!
Best Regards
v4o4ev said:
Thank you! The problem now is how to split the video into frames... I am searching about ffmpeg compatibilities, but for now I'm just researching... And one thing - I don't need the code, just the help to find some information about how to do it better and so on thank you so much for the reply - I will take a look now
Thanks!
Best Regards
Click to expand...
Click to collapse
In java I use the highgui classes, createframegrabber or something like that. I grab each frame and process it for item/motion detection. Then save a movie from it. Works well enough.
Sent from my Galaxy Nexus using xda premium

Using Dual-Camera to produce a stereostopic view in realtime

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

Categories

Resources