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

iOS camera facetracking (Swift 3 Xcode 8)

I am trying to make a simple camera application where the front camera can detect faces. This should be simple enough: Create a CameraView class that inherits from UIImage and place it in the UI. Make sure it implements…
KazToozs
  • 43
  • 4
4
votes
1 answer

Interpolate camera movement along an arc of circle

In my scene, i have a camera defined through a position and a target in 3d space. Given the center C and two points Pold and PNew, both at a distance of R from the center, how can i interpolate the cameras position in arbitrary amount of steps on…
sum1stolemyname
  • 4,506
  • 3
  • 26
  • 44
4
votes
0 answers

Programmatically zoom OrbitControls

I'm having a hard time figuring out how to zoom an OrbitControls with Three.JS. I have looked through the source many times and I can see methods called dollyIn() and dollyOut() but I can't access them from my own code. I have tried the method .zoom…
vaid
  • 1,390
  • 12
  • 33
4
votes
1 answer

About getParameters failed (empty parameters)

I'm trying a camera capture application with SurfaceView. The application's overview is It can detect Face in realtime (on camera view). It can store the movie. I'm using android.media.MediaRecord class for saving the movie. myRecorder = new…
yn1043
  • 528
  • 2
  • 11
  • 24
4
votes
0 answers

YUV NV21 byte array -> rgb array -> renderscript filter -> YUV NV21 byte array

I'm looking to get a YUV format from the camera preview, change it to an rgb byte array, apply a Renderscript filter to it (for example a Grayscale one) and revert it back to a YUV byte array. I have the first part covered, but I can't find an…
Tiago
  • 71
  • 1
  • 5
4
votes
3 answers

My Application get crashed for Barcode Scanning in above iOS 9.3 version

Hi I am trying to develop app for 1D and 2D Barcode scanning, it works well in iOS 9.3 and Xcode 7.3 but when I am trying to run same application in iOS 10 and Xcode 8.2 application get crashed on below line. Please help on it. [_session…
Yogesh Raut
  • 180
  • 11
4
votes
1 answer

Can I use homography to project camera image points to the ground (2D plane)?

My problem is quite simple yet I struggle to solve it correctly. I have a camera looking towards the ground and I know all the parameters of the shot. So, using some maths I was able to compute the 4 points defining the field of view of the camera…
Delgan
  • 18,571
  • 11
  • 90
  • 141
4
votes
1 answer

Square image capture with react native

I want to customize the default camera to somewhat like instagram camera. How can I ensure that the images captured by my application is always in square shape?
atitpatel
  • 3,104
  • 1
  • 24
  • 34
4
votes
3 answers

Ios swift camera image picker rotate issue

func imagePickerController(_ picker: UIImagePickerController, didFinishPickingImage image: UIImage, editingInfo: [String : AnyObject]?) {} Image retrieved from above code will rotate image 90 degree any solution?
Chavda jaydeep
  • 332
  • 3
  • 9
4
votes
1 answer

Remove iPhone 4 double flash when taking photo?

There doesn't seem to be much documented on the flash API and how to alter it when using the camera so I'm hoping someone has already played around with this. Essentially I want to add camera functionality to my app but remove the double flash (I…
bijanv
  • 147
  • 1
  • 1
  • 10
4
votes
2 answers

Why Picture Rotate after taking Pic from android:hardware:camera api

I am using android:hardware:camera API to make custom camera . i have done to make the camera but problem is that after taking picture from camera the pic save in rotated form.I am using Surface View for the Camera . this is Camera setting function…
4
votes
1 answer

Android EXIF data Image from Camera or Gallery lost

I need to read some Exif properties of an Image (taken with the Camera or picked from the Gallery). Here is how I launch the Camera: Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); File file = new File(myObject.getLocalUrl()); …
Ale
  • 2,282
  • 5
  • 38
  • 67
4
votes
2 answers

Camera2 full screen preview and image capture

I am using the sample code for Camera2, and I was wondering how I can make the preview and captured image in full screen? This SO question seems to solve it in video mode, but I can't find any solution for image captures. The sample fragment has a…
Kæmpe Klunker
  • 865
  • 1
  • 10
  • 27
4
votes
3 answers

Show Camera in two window at the same time

My main window is creating another window displayed on a second screen ApplicationWindow { id: mainWindow property var customerUi Component.onCompleted: { customerUi = customerWindow.createObject() if…
BlueMagma
  • 2,392
  • 1
  • 22
  • 46
4
votes
1 answer

Face Tracker CameraSource Android: How to brighten front camera quality?

Face Tracker app based on Google Vision Face Tracker. By default, Face Tracker use rear/back camera, but I want to detect faces with front camera. This is the code for CameraSourcePreview that google vision provide: package…
1 2 3
99
100