Questions tagged [image-capture]
374 questions
8
votes
1 answer
Capture current image from youtube live stream
I'd like to process the output of a youtube live stream every few seconds. With help from others I've come up with a solution to capture an image for processing later, but it tends to break and is much too slow:
youtube-dl --prefer-ffmpeg -f worst…

Christoph
- 1,040
- 3
- 14
- 29
8
votes
1 answer
How to change camera parameters (auto exposure, shutter speed, gain)?
I am using Matlab to capture images from 2 Point Grey Cameras (Flea2) and I would like to change some parameters of the cameras such as Auto Exposure, Gain and Shutter Speed. So far I have used these commands:
%Creating the two video input of the…

Paolo Ferraiuoli
- 122
- 12
8
votes
4 answers
java.lang.OutOfMemoryError in android while getting image from gallery in android
I am picking a picture from gallery using code
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.gallery);
Intent i = new Intent(Intent.ACTION_PICK,…

Shirish Herwade
- 11,461
- 20
- 72
- 111
7
votes
3 answers
Why does AVCaptureVideoOrientation landscape modes result in upside down still images?
I am using AVFoundation classes to implement a custom camera in my app. I am only capturing still images, not video. I have everything working but am stumped by something. I take into account the device orientation when a still image is captured and…

XJones
- 21,959
- 10
- 67
- 82
7
votes
0 answers
Changing FocusMode not working using MediaStream API in Google Chrome
In Google Chrome Browser i was able to get live feed of my connected USB Camera using getUserMedia() API. I have a slider to change the brightness value and this is working fine. I also want focusMode to toggle from continuous to manual(The camera…

vgokul129
- 777
- 12
- 31
7
votes
4 answers
dynamically created imageview in gridlayout not working
I want to set captured image to dynamically created imageview in same gridlayout but it creates a new grid layout and sets the captured image to the new gridview.
This is my mainactivity.java file
public class MainActivity extends Activity…

Ajin kumar
- 311
- 1
- 3
- 14
7
votes
1 answer
Python, OpenCV : Capture Images from WebCam
I have a Logitech C920 hooked to my PC and am trying to use it to click pictures using OpenCV.
I know that I can capture images using :
cam = cv2.VideoCapture(1)
s, im = cam.read() # captures image
cv2.imshow("Test Picture", im) # displays…

Darshan Chaudhary
- 2,093
- 3
- 23
- 42
7
votes
3 answers
How to capture a photo from the camera without intent
I want my app to be able to capture photos without using another application. The code i used :
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
File photo = null;
try
{
photo = this.createTemporaryFile("picture",…

mremremre1
- 1,036
- 3
- 16
- 34
7
votes
1 answer
Flash screen white at moment of camera capture?
I'd like to flash (and then fade out) the screen right at the moment of camera capture to give the user the indication that a picture has been taken (besides just an auditory clue).
Where would such an animation be placed? Also, how would it be…

Rohan
- 515
- 10
- 30
6
votes
1 answer
How to get a image of a panel with a combobox
I need to capture an image of panel.
The problem I am running into is that if the Panel contains a TCombobox the Text does not appear.
procedure AssignPanelImageToPicture(Panel : TPanel;Image : TImage);
var
B : TBitmap;
begin
B :=…

Robert Love
- 12,447
- 2
- 48
- 80
6
votes
8 answers
Video capture on Linux?
We need to capture live video and display easily on Linux. We need a cheap card or USB device with a simple API. Anyone want to share some experience?

epatel
- 45,805
- 17
- 110
- 144
6
votes
6 answers
how do i take picture from a digital camera attached to my computer throught USB cable using vb.net or asp.net or C#?
I am writing picture editing windows forms application using vb.net/c#. i have a client requirement to capture the photo from digital still camera attached to computer.
how can i capture a photo from USB connected digital still camera device in my…

bugBurger
- 6,950
- 9
- 32
- 39
6
votes
0 answers
Accessing the native camera app from the browser on Windows 10 devices
Taking a photo from the browser on an Android or iOS device isn't hard, as we all know. Just use a file input field and add a parameter called capture. However, as far as I know, not a single browser for Windows 10 does support that tag.
The…

André Reichelt
- 1,484
- 18
- 52
6
votes
0 answers
upload captured image to Cloudinary directly in Android
I want to capture a picture and upload it to Cloudinary directly. How can I know the name of the pic to set it at the upload statement cloudinary.uploader().upload("nameofthepic", Cloudinary.emptyMap());.
Here is my code:
public class Camera extends…

Aya Radwan
- 181
- 5
- 17
6
votes
5 answers
API for getting screen region changes?
I am writing a sort of screen-recording app for Windows and wish to know when and which regions of the screen/active window have changed.
Is there a Windows API I can hook to get notified of screen changes?
Or would I need to manually write…

CodeAndCats
- 7,508
- 9
- 42
- 60