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
2 answers

Which FOCUS_MODE for OCR in Android

Which FOCUS_MODE would you recommend to capture images which should be processed by OCR afterwards? I've read the API http://developer.android.com/reference/android/hardware/Camera.Parameters.html#FOCUS_MODE_AUTO but I'm not sure which one to…
ctp
  • 1,077
  • 1
  • 10
  • 28
4
votes
0 answers

Reactjs PWA - iOS on opening Progressive Web App Second time - Camera does not work

Reactjs PWA. 1) Added site through Safari by pressing "Add To Home Screen". 2) App opens up in a standalone and can open the camera fine on first load. 3) If I move out of and back into the app, the camera is black and cannot take a photo. 4) If I…
cmcc93
  • 99
  • 4
4
votes
1 answer

Take Picture Using UIImagePickerController with Custom Zoom

I created a custom Camera Control with overlay ... Now i am zooming image by using Slider by .. imagePickerController.cameraViewTransform = CGAffineTransformScale(initialTransform, MainSlider.value, MainSlider.value); where initialTransform is…
Darshan Shah
  • 61
  • 2
  • 8
4
votes
1 answer

OpenCV: not authorized to capture video OpenCV: camera failed to properly initialize

OpenCV: not authorized to capture video (status 0), requesting... OpenCV: camera failed to properly initialize! I am using macOS Mojave in system preferences->security-> camera there is no terminal option appeared in this area. how may I invoke…
4
votes
0 answers

How to mock ImagePicker

I use this package: image picker Now, I have this line of code: File image = await ImagePicker.pickImage(source: ImageSource.camera); that I would like to mock in my test, but I can't find a way to do it.
Little Monkey
  • 5,395
  • 14
  • 45
  • 83
4
votes
2 answers

render overlay graphics into camera video

I want to make an app which takes a video from the camera, adds additional visual info (overlays) and creates a video file from it which can later be uploaded to a server. How to do that? Without prior experience with such tasks, I assume there are…
didi_X8
  • 5,018
  • 10
  • 42
  • 46
4
votes
1 answer

Resizing Resulting Camera Stream

I am trying to let a user capture an image and add it onto the screen using an Image. However, I also need to resize this image down to about half size due to memory restrictions (12x 5MP images is never good on a phone...) I am launching the camera…
Andrew M
  • 4,208
  • 11
  • 42
  • 67
4
votes
1 answer

How to change view point in openGL, c++

I have a shape and I want to view it from different locations decided in the run time. I thought that if I call gluLookAt(...) with the parameters decided, it could change the view location. But, it seems it does not. I guess I should do some…
Sammy
  • 885
  • 3
  • 13
  • 32
4
votes
0 answers

How to switch camera to YUY2 format in opencv

I'm trying to get my camera to capture video using the YUY2 format instead of the MJPEG format that it currently uses. How can I do this in OpenCV? So I've looked into the fourcc codes that are provided in OpenCV and I've tried…
nickpm21
  • 41
  • 1
  • 2
4
votes
0 answers

how to edit captured images like whatsApp? means cropping image,draw lines ,adding text , emojis and filters on captured image in flutter

Actually i have built custom camera & took picture, and drawn lines but i don't know how to add emojis on captured picture and make it movable And zoom. actually i put all emojis in string type list, List emojiUrls=[/*Urls of Emojis*/ …
4
votes
1 answer

Increase Brightness and Contrast of image after capturing from camera in Android

I am making a one application in which I capture an image from camera and make the pdf out of it. But the quality of image is poor. So I want to set the brightness and contrast of the image. Is there any way to increase Brightness and Contrast of…
4
votes
2 answers

Using RGB images and PointCloud, how to generate depth map from the PointClouds? (python)

I am working on fusing Lidar and Camera images in order to perform a classification object algorithm using CNN. I want to use the KITTI Dataset which provide synchronized lidar and rgb image data. Lidar are 3D-scanners, so the output is a 3D Point…
Doxcos44
  • 135
  • 2
  • 12
4
votes
1 answer

Is there a way I can detect text from an Image using Expo React Native?

I am working with Expo, React Native and I want to to be able to detect text from images. Is there an package i can work with to achieve this? I am using Expo camera module to snap the picture and supply the URI to the text detector I have tried…
daRula
  • 143
  • 2
  • 12
4
votes
1 answer

Hololens video stream with spatial data

I'm using the hololens and I'm trying to save a video stream with the world/projection matrices avaiable. I've been trying to just take a sequence of pictures and save the data, but I can't find a way to save the image and the matrices. When saving…
4
votes
1 answer

How can I rotate around a scene in webgl on mousedrag (emulating a camera moving around a position)

Okay, So I have been reading for the past few hours and I have managed to get the mouse drag to work on the x axis using the following matrix computation, but no luck with the y axis: where newX = new mouse X coord previousX = mouse X coord at last…
Josh Mc
  • 9,911
  • 8
  • 53
  • 66