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
29
votes
6 answers

Choose camera in file upload in cordova application on android without using cordova camera

So i made a cordova app, i added android platform and made a simple html with an imput field I have added
pjensen68321
  • 521
  • 1
  • 5
  • 15
28
votes
3 answers

Detecting heart rate using the camera

I need the same functionality as the application Instant Heart Rate. The basic process requires the user to: Place the tip of the index finger gently on the camera lens. Apply even pressure and cover the entire lens. Hold it steady for 10…
ellenpage
  • 281
  • 1
  • 4
  • 5
28
votes
4 answers

Android camera resulted image should be rotated after the capture?

I'm writing an Android application that uses the camera. I'm setting camera display orientation to 90, my activity is in a portrait orientation: camera.setDisplayOrientation(90); I'm getting a well oriented preview picture, but the resulting image…
GetUsername
  • 1,057
  • 5
  • 18
  • 29
28
votes
5 answers

Android EXIF data always 0, how to change it?

I have an app that captures photos using the native Camera and then uploads them to a server. My problem is that all the photos have an EXIF orientation value of 0, and this messes up the display elsewhere. How can I change the EXIF orientation? I'm…
Cbas
  • 6,003
  • 11
  • 56
  • 87
28
votes
3 answers

iPhone 4 Camera Specifications - Field of View / Vertical-Horizontal Angle

Does someone know the field of view values for the new iPhone4 camera? I'm doing some AR app's, and I want to know the horizontal and vertical angle of the rear camera. Thanks!
mguellsegarra
  • 465
  • 1
  • 5
  • 11
28
votes
3 answers

Understanding the libGDX Projection Matrix

Over the past few weeks I've been attempting to learn the libGDX library. I'm finding it hard, especially for my first endeavor toward game development, to comprehend the system of Camera/viewport relationships. One line of code that I've been…
user3059686
  • 423
  • 2
  • 5
  • 10
28
votes
3 answers

Camera Preview Stretched on Few Android Devices

I am making custom Camera like "SnapChat" for a Android app but camera preview is stretched on Few devices like(Moto g second generation , one+ one) but not on(Samsung s3, Samsung s4). I have use the following reference Camera display / preview in…
Sandeep Vishwakarma
  • 566
  • 1
  • 5
  • 17
27
votes
9 answers

Android crashing after camera Intent

I have an app published and one of the fundamental features is to allow the user to take a picture, and then save that photo in a specific folder on their External Storage. Everything seems to be working fine, but I've gotten two reports now that…
Jade Byfield
  • 4,668
  • 5
  • 30
  • 41
27
votes
3 answers

Use USB Camera on Android application

I need to display a video transmitted by an USB Camera connected to my tablet on Android 3.2. How can I do this? I can't use the tablet's camera, because my tablet is fixed on board.
neoffreeman
  • 271
  • 1
  • 3
  • 4
27
votes
3 answers

Processing Android camera frames in real time

I'm trying to create an Android application that will process camera frames in real time. To start off with, I just want to display a grayscale version of what the camera sees. I've managed to extract the appropriate values from the byte array in…
NavMan
  • 345
  • 1
  • 5
  • 10
27
votes
3 answers

Exif data TAG_ORIENTATION always 0

I need to know the orientation of an image from the gallery (taken by the camera). My initial approach was to use MediaStore.Images.Media.ORIENTATION which was working for my Droid 1. While testing on the HTC Thunderbolt that phone only saves 0 to…
sgarman
  • 6,152
  • 5
  • 40
  • 44
27
votes
1 answer

Flutter live streaming

I am trying to build a mobile app which streams video from the camera of the device and sends it live to a server. Also, the mobile device should be able to play live video received from the server. I am building the app in Flutter, but can't seem…
Nikolay Nikolov
  • 473
  • 1
  • 6
  • 8
27
votes
8 answers

How to square crop a Flutter camera preview

I'm trying to take square pictures in my app. I'm using the camera package and I'm trying to display a centre square-cropped version of the CameraPreview widget. My goal is to show the central square of the preview (full width), with an even amount…
Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
27
votes
3 answers

Face Detection in Android?

I am currently working on an experimental camera app. I'm looking into implementing face detection at the moment and am currently weighing up my options. I have considered the OpenCV port available for Android and using their face detection…
James
  • 271
  • 1
  • 3
  • 3
27
votes
4 answers

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

I need to be able to have AVCaptureVideoDataOutput and AVCaptureMovieFileOutput working at the same time. The below code works, however, the video recording does not. The didFinishRecordingToOutputFileAtURL delegate is called directly after…
user346443
  • 4,672
  • 15
  • 57
  • 80