camera

Getting duration of video taken by camera iphone sdk

Hello, I am trying to get the duration of a video taken with the camera using UIImagePickerController on the iphone, has anyone found a solution to this? Thanks Daniel ...

OpenCV Multi-thread call

I have made a program that has two threads, soon to be three, that is trying to get an image from a web cam from both threads at the same time. Is there a way to do this or is there a better way to do this? (using openCV 1.1) ...

Is it possible to take several images in a row using UIImagePicker with showCameraControls = YES

Hi everyone. Is there a way that I can capture consecutive pictures using UIImagePickerController and get rid of the screen that shows "Cancel" and "Retake". I want to be able to programmatically take consecutive pictures with shown camera controls (actually overlayed). The point of this is to use the apple`s tap focus feature which can ...

Can I get the focus area for the iphone camera?

On the iPhone 3GS, the camera is auto-focus, so, I am wondering whether I can get the focus rectangle from the iPhone camera. Anybody know about this? And also the 3GS's focus can be set manually, so, can I get some message or notification that the focus area has been changed? Thanks ...

compile for 3.0 with optional support for 3.1 API

My app uses the camera, and I added the zoom function thanks to 3.1 API (cameraViewTransform most importantly). But I want my app to run also on 3.0 (without the zoom of course). The problem is that, I cannot compile the app in 3.0 due to this line which calls 3.1 properties: CGAffineTransform initialTransform = photoPicker.cameraViewTr...

Get iPhone's camera resolution?

Is there any way to get the resolution of the iPhone's camera? Apparently the 3G has 1200x1600, and 3GS has 1500x2000, but how do I obtain these values from inside my code (without taking the picture). I need them to make some affine transform to the camera preview. I could detect if it's 3G or 3GS to hardcode these values, but it's jus...

How to encode Video from Web-Camera into H.264 in C# ?

How to encode Video from Web-Camera into H.264 in C# ? What do I need MSDN if thare is any help on this. Open Source Libs/wrappers for encoding/decoding. Tutorials and blog articles on How to do it. Some examples of of how to encode into 3GP or FLV or some thing else (whith low size) would be more than apriciated!))) ...

Android Defer to Camera

Is there a way, from within my own application, to open up the default camera app and use that to get a picture/video? I keep trying to look it up but I only ever find instructions on cloning the camera app myself (usually with very bad instructions). I know this can be done with the iPhone, I would be surprised if it wasn't possible wit...

How to show captured images in a sequence so it look like a video?

Hi, I am currently capturing diffrent images using java.... Now i want to show all these images in a sequence so that it should look like a video... How should i do this? I have been suugested that I need to use JMF.But i dnt have any idea about JMF....Can anybody help me? ...

What is The Easiest, fastest Way to capture video stream from camera with C#?

What is The Easiest, fastest Way to capture video stream from camera with C#? ...

Should I store the WIA Device or just the WIA Device ID in a C# application?

I'm working with a C# WIA application and it seems that I have two ways of accessing the WIA device 1) store the object after the initial call to Select Device or 2) store the device's id and use the manager to access the device only when I need it. I'm assuming that I can keep hold of the device object for as long as I want but I'm u...

iPhone Flickr group pool uploader

I'm trying to write an app that allows the user to take a photo, then upload it to a flickr group pool. Does anyone have any sample code that does this or can point me in the right direction? Thanks. ...

problems with initializing video preview and releasing resources on Android

Hi, I am trying to solve the problem with initializing video preview and releasing resources when the application exits. in onResume() the following methods are executed: holder.addCallback(surfaceCallback); holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); and in onPause() the following method is called: holder.removeCallba...

How to cast rays given an arbitrary camera?

I'm writing a ray tracer (using left-handed coordinates, if that makes a difference). It's for the sake of teaching myself the principles, so I'm not using OpenGL or complex features like depth of field (yet). My camera can have an arbitrary position and orientation; I indicate them by way of three vectors, location, look_at, and sky, wh...

Snapping pictures from Windows C# Canon SDK vs PTP or MTP

I am hoping to receive some general guidance on accomplishing a seemingly simple goal. I have a DSLR camera (Canon EOS 50D) and need to write an application that will tell the camera to take a picture. I also need to transfer the picture to the computer and possibly delete it from the camera's storage. A bonus would be to get a live p...

UIImagepickerController [takepicture] modal view disappears no delegate callback

Update: This has been answered. It was my own stupidity, possibly not worth reading any more of this question. lol. Question: Right so i have this UIViewController(master) subclass, it has a UIImagepickerController(camera), it also has a UIView(overlayView). Master setups the camera to be configured as a camera only with a custom cam...

XNA Matrix Camera Scale Issue in 2D Game

Hi, I followed the tutorial on http://www.david-amador.com/2009/10/xna-camera-2d-with-zoom-and-rotation/ to achieve a camera that follows my player sprite with zoom in/out functionality. however, when I zoom in/out the camera seems to either slowly move away from the sprite whilst moving, I don't think I'm setting the position right, b...

CLicking on the camera button in the android emulator

Hi, The camera button on the android emulator is disabled. I can't click on it and when I hover with the mouse the background is not blue like in the other buttons. I've tried to add "camera support - true" hardware but the button is still un-clickable. How can I click on the button? What should happen when clicking on the button? I do...

Is it possible to make persistent full-screen camera like System camera app?

I am building a custom camera app, and would like to have the camera view similar to the native camera app in iPhone. (i.e., picks videos as a non-modal view, stays in the camera view after each video taken. I found the retake and use views unnecessary). Is there any possible way to do it? Thanks. ...

iphone sdk camera overlay animation, how can stop in preview ?

Hi, I've made an animation over the camera and all works fine. I can start the camera, move the image in overlay, and save it as a picture. My problem is that in the "preview" the animation keeps on moving, and I don't know when camera enters in this mode. I don't know how to check a bool or do something that can stop overlay. Is there...