Questions tagged [camera]

In the real world, a camera is a device that takes physical or digital photos. In the virtual world, it is used to aim at virtual objects and or move through a virtual scene.

Physical Camera

A camera is a device that records images that can be stored directly, transmitted to another location, or both. These images may be still photographs or moving images such as videos or movies.

A digital camera is a kind of camera that takes video or still photographs by recording images on an electronic image sensor. Most cameras sold today are digital, and are incorporated into many devices ranging from PDAs and mobile phones to vehicles.

An Internet protocol camera, or IP camera, is a type of digital video camera commonly employed for surveillance, and which unlike analog closed circuit television (CCTV) cameras can send and receive data via computer network and the Internet.

A webcam is similar to an IP camera, but is normally connected directly to a computer via fast physical connection (USB, FireWire, etc).

Virtual Cameras

Much as real-life cameras provide a view of a scene in the real world, a virtual camera system provides a view of scene in virtual worlds. In 3D video games, a virtual camera system aims at controlling a camera or a set of cameras to display a view of a 3D virtual world. These virtual camera systems are often used in video games, where their purpose is to show the action at the best possible angle; more generally, they are used in 3D virtual worlds when a third person view is required.

Cameras in Computer Vision

An important application for cameras in the context of programming is in the field of computer vision. In particular, development of algorithms and code for the purpose of recognition, motion analysis, scene reconstruction, image restoration and so forth. The camera parameters, calibration and references to other cameras are significant factors in these algorithms.


References

14695 questions
4
votes
1 answer

OpenGL move object and keep transformation

I've a object, which is transfomred (rotated at 45deg on the Y axis). The target is to move (translate) the object on the x and y axis and keep the transformation effect as it is. Its very hard to explain, so I made a picture: I know the concept…
Met
  • 103
  • 1
  • 1
  • 7
4
votes
1 answer

Swift Playground iPad cameras access

In the last update notes for the Swift Playground app for the iPad I saw that the cameras would be accessible through the playgrounds. For testing purpose I've therefore created a playground to access my iPads back camera. As reference I've used…
Fabian
  • 492
  • 6
  • 20
4
votes
0 answers

Turning on Front and Back Flashlight at same time

I am working on an Android app that can turns on both Front & Back flashlight at the same time. The app works on some phone (mine, Moto Z Play) but doesn't seem to work on many others (Samsung Galaxy J5, Moto Z2 Play, etc). When the user turns on…
Hashir Baig
  • 2,162
  • 15
  • 23
4
votes
0 answers

Android Camera record opengl filter

I am building an application that will use a live filter on the camera's preview and I need to record a video of this filtered preview. I have already checked the following: Graphika CameraCaptureActivity, have a preview with a filter but the…
Harrys Dim
  • 71
  • 7
4
votes
1 answer

Reverse fisheye radial distortion using Field of View model

Let's suppose I have this distorted image taken from a fisheye camera with 185º FoV. Image taken from Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1541-1545, Shanghai, China, March 2016. I want to…
Santiago Gil
  • 1,292
  • 7
  • 21
  • 52
4
votes
2 answers

How to add audio input to AVCaptureSession only when recording without interrupting video preview?

I'm struggling with an issue: I have AVCaptureSession with preview layer and I also want to provide haptic feedbacks when user taps on buttons. If I add audioInput to my AVCaptureSession then I'm not able to produce haptic feedback at all. I tried…
Dan Karbayev
  • 2,870
  • 2
  • 19
  • 28
4
votes
1 answer

Depth from stereo camera with different focal length

I am working on stereo camera depth estimation. However, for particular purpose, I need to use two camera with different FOV and focal length. After a lot of Google research, I know that I can still calibrate the two camera and rectify them to…
4
votes
4 answers

How to Fix capturing images with front facing camera mirrors image, AVFoundation,Swift

How to Fix capturing images with front facing camera mirrors image? SnapChat seems to fix it as well as WhatsApp and Instagram , how can i? i would really love to find a solution for this... its quite of annoying...Thanks ahead I have seen Always…
RandomGeek
  • 303
  • 5
  • 20
4
votes
2 answers

RenderTexture to Texture2D is very slowly

We develop an application on Unity3D which shall take the image from the screen and transfer it to Texture2D. We have difficulties with performance on everage (feeble) devices. The code is given below. We do a screenshot, then we read pixels…
4
votes
1 answer

How to make a resolution independent camera preview on android?

I'm making an android 1.6 app that uses phone's camera. In order to do this app resolution independent, I need to set a compatible aspect ratio for previewing camera on a SurfaceLayout. In 1.6 sdk there is no way to get supported sizes for the…
histeria
  • 352
  • 1
  • 4
  • 14
4
votes
1 answer

C++ Opencv Calibration of the camera with different resolution

My camera has different resolutions 1280*480 640*240 320*120 I have used the algorithm of Opencv3 to calibrate the camera with the resolution of 1280*480 and I have got the camera matrix (fx fy cx cy)and the distortion matrix (k1 k2 p1 p2 k3)for…
Meng
  • 89
  • 1
  • 7
4
votes
0 answers

Is there a way to capture video continuously in ReactNative, and storing the last N seconds when stopped?

I would like to know how to solve this scenario in an android/ios device with React Native. In a soccer match, your favorite team could make a goal. When viewing the match on TV (preferrable real-time) you could have replays. However, it could be…
Luis Masuelli
  • 12,079
  • 10
  • 49
  • 87
4
votes
2 answers

how does first generation iPhone camera video?

There are some apps that let the first generation iPhone record video with a reasonable quality. My question is, which api do those apps use? Do they use custom code for compression to mpeg? And how do they gather so many images per second from the…
Dominik Seibold
  • 2,439
  • 1
  • 23
  • 29
4
votes
2 answers

I want to restart camera source after it is stopped in the same Activity

I made an application for barcode detector so I used SurfaceView to handle camerasource. After camera detects barcode and returns its value I make it to stop. There is no function to restart the camera source and surface view on any event just one…
Abdulwahid
  • 337
  • 3
  • 14
4
votes
1 answer

I want to use an overlay for the UIImagePickerController, but I want the shutter animation

I am using the UIImagePickerController with an overlay view so I can have some custom controls. I notice that when the user clicks the "Capture" button and I call [imagePicker takePicture], the shutter animation doesn't occur. The effect is that I…
ZaBlanc
  • 4,679
  • 1
  • 35
  • 38
1 2 3
99
100