camera

What do the Android camera zoom numbers mathematically represent?

I'm trying to write a basic augmented reality app in Android, but I'm running into some trouble doing platform-uncoupled calculations because I don't know how to interpret the zoom levels on Android. The zoom levels range from 0 - params.getMaxZoom(), but I can't find any documentation about what those zoom levels actually mean (for...

convert camera position

I have a function from an external lib which takes the following camera parameters: x,y,z coordinates for "center of orbit" x,y,z vector from "center of orbit" to "camera direction" orbital radius camera roll How can I calculate these parameters from the ones I got: position vector view vector zoom min/max rotation angle decline an...

iPhone UIImagePickerController: show camera preview on top of openGl viewport

Hi, i've a question about UIImagePickerController class reference, in photo-camera mode. I'm developing an OpenGl game. I should add to game photo-camera features: game should open a window (say for example 200x200 pixels, in the middle of screen), that display in real time a preview of photo-camera IN FRONT OF GL VIEWPORT. So photo-ca...

XNA - Getting mouse coordinates with a 2d Camera system with rotation/zoom/translation

I have a 2d Camera with this translation matrix: Transform = Matrix.CreateTranslation(new Vector3(-Position.X, -Position.Y, 0)) * Matrix.CreateRotationZ(Rotation) * Matrix.CreateScale(new Vector3(Scale, Scale, 0)) * Matrix.CreateTranslation(new Vector3((GraphicsDevic...

Problem in Capturing image in Android?

Hi, I know there is a issue in Android that the camera do not return full sized image. I am able to get the full sized image by saving that image and then deleting it. Now, the issue comes of when we test on various devices. I have tested on Nexus one and app runs perfectly in that, but in HTC EVO the crashes when taking a picture since...

Custom View that takes & delete a Camera Picture

Hi I am trying to create a Custom View that takes as well as deletes a picture and looks like the following: Following operations a view can perform: Take a picture (by clicking on the No Image Available sign) -- works Delete a picture (by clicking on the red cross) -- works Preview a picture How do I create a listener to find ...

Sample Camera Functionality in IPhone Application

Hai Can any one suggest me how to work with camera functionality in iphone simulator? Thanks Basanth ...

getting ios 4 camera exposure data during live capture

Hi Ive searched everywhere and havnt managed to find an answer to this question so I thought Id ask it here. Im currently using the AVCaptureVideoDataOutput to and CaptureOutput to get frames from the camera in real time at 30fps. I have left the default settings of autoexposure and auto focus etc. I want to be able to query the camera...

PhotoLibrary/Camera does not activate on in iPhone app

I've this method for opening the photoLibrary/camera in my view controller. But nothing happens when I call it (both simulator and device). I've implemented the delegate methods. No errors/warnings. I'm missing something? - (IBAction) doButton { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.del...

IPhone UIImagepicker with camera showing camera roll thumbnail like default camera app?

Hello, im working in iphone's camera app, using UIImagePicker to launch the camera. Everything goes well, just a need to use the default controls showed in the camera app in iphone(little thumbnail from the last pic in camera roll and take photo buttons) and its animation(take and send the picture to the left bottom thumbnail), not defau...

Displaying Camera footage through a web service / web site - How?

I would like to somehow feed by camera feed through a web service / site to be viewed over the web. Can someone please point me in the right direction? I have C#, ASP.NET, Silverlight, and WCF experience already. How does one hook into cameras? ...

camera application in windows form

Hello; Basically, i want to write a windows form program like any other webcam's control program in c++ for a custom camera. this camera has some API like grab pictures and etc. i have never done a camera application before, so i am a bit confused. for the "preview" function like other webcam softwares, is it like just polling the...

How to properly release an AVCaptureSession

I'm using the AV Foundation classes to capture the live video stream from the camera and to process the video samples. This works nicely. However, I do have problems properly releasing the AV foundation instances (capture session, preview layer, input and output) once I'm done. When I no longer need the session and all associated object...

Get camera inside my skybox

So I am working on a homework assignment and I have managed to create my skybox and it looks correct, the only problem is that my camera is outside the skybox. I tried the command gluLookAt thinking maybe that would focus me into the box, but it didn't work. Here's the code that I have now. If anyone could let me know what I'm doing...

iPhone SDK Photopicker sample - impossible to add a subview!

That's pretty simple to test and explain. If you get the PhotoPicker sample, and you add a UILabel to the timedPhotoFire:timer method, like this: - (void)timedPhotoFire:(NSTimer *)timer { //ADD THIS LABEL HERE UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(200, 180, 50, 30)]; [label setText:@"Hello!"]; [self...

Starting Video Camera with Intent

I am writing a very small app that just opens the camera app ready for video. I am able to get my code to work on an Android 2.2 emulator, but it will not work on my device, Motorola Droid 1 stock 2.2 FRG22D. Any ideas where I went wrong on this code? public class StartVid extends Activity { /** Called when the activity is first creat...

Iphone - Load image from camera roll to UIImageView without UIImagepicker

Hello. Is it possible to load the last photo from camera roll to UIImageView without using a UIImagepicker? I mean retrieve the path to the file or something like that. Thankz :D ...

IP Cameras - How to see their data/video?

I've never worked on the field of IP Cameras, so I am not sure where to start. I am thinking of a project where I can connect a city's cameras that are linked from local businesses like convenience stores, banks, schools, etc. I have been a software developer for many years and have never tackled this problem space and would like to ...

Can we use Opencv to get live video stream over the internet? How to do that?

I tried giving cvCreateCameraCapture an URL of the camera viewing on internet. However, I can't get any video playing. I am writing in C language. ...

DirectX C# Camera: Calls to RotateX/Y/Z(float) render screen black.

I wanted to create a camera class, to allow for some simple camera controls. I only have OpenGL experience, so naturally I tried to imitate what I knew from there. Well, that failed miserably. I run the following function just before I start drawing my world objects. public void Align() { Matrix theMatrix = r_device.GetTransform(...