Questions tagged [image-capture]
374 questions
2
votes
0 answers
Captured image gets distorted when saved - Android Surfaceholder HTC Desire S
I'm using the Surfaceholder and the camera to capture an image but when I do it on my HTC Desire S the captured image looks like this. This is not what it looks like in the preview-view.
It works on two of the other phones I have been testing on…

PaperThick
- 2,749
- 4
- 24
- 42
2
votes
2 answers
OpenCV Capture from Camera Results in Noisy-like Image
I am using OpenCV on an embedded target board (FriendlyARM mini6410, processor arm 1176 running linux kernel 2.6.38).
I compiled OpenCV 2.4.4 library using toolchain provided for the board, found in the ftp (pls see the website of FriendlyARM). I…

bonchenko
- 567
- 1
- 9
- 21
2
votes
1 answer
canvas.drawWindow is not a function
I am working on adding the contents of an iFrame to the canvas in order to save it as an image. I get the 'canvas.drawWindow is not a function' error in FF.
I understand that this only works with Chrome privileges - How do I enable chrome privileges…

Super_Sammy
- 33
- 4
2
votes
2 answers
Capture and save a photo in XAML/C# for a Windows store application
I'm trying to take and save a photo using a windows surface device.
I'm using the code below to take a photo and this work but I'd like to automatically create a directory on the device's local drive and save this photo there without any dialog…

Sun
- 4,458
- 14
- 66
- 108
2
votes
5 answers
Capture a div as an image
I have some div tags containing charts rendered by JavaScript. I want to export them in an image format by the press of a button. I don't know if it's possible to capture a div tag as an image using JavaScript! So there I'm asking for tips and…

MarGa
- 711
- 3
- 10
- 23
2
votes
1 answer
how do I de-interlace a camera stream?
I have an analog camera that returns "both fields interlaced" when I query its format using video4linux API. The pixel format is BGR3 (the fourcc code). I obviously need to de-interlace this stream before I can display it or process it with OpenCV. …

Andres Gonzalez
- 2,129
- 5
- 29
- 43
1
vote
0 answers
how to set image view in every fragment on viewpager?
I am trying to make an imageview of the captured image in every fragment, but it seems that when capturing an image, the preview shows in the first fragment every time, here is my code:
public static class TestFragment extends Fragment {
…

Rana Alhasan
- 15
- 1
- 5
1
vote
0 answers
Singleton class for UIImagePickerController not helping
I have a view controller in my project in which I need to click two images and show them in scaled form on the same screen. This process can be repeated after uploading both the images on the server. For taking the picture I am using…

user1097365
- 11
- 2
1
vote
1 answer
Out of memory exception in wp7
I want to make an application which captures images using the camera and stores it in the isolated storage of the phone.How ever, i am able to store 7 images in each run(i.e. each time the emulator is activated) and for the eight image that i…

user1155478
- 23
- 3
1
vote
3 answers
how to control/save images took with android camera programmatically?
i've been trying to create a camera-related app. i know that i could create it programmatically from top, but i would prefer using the one that the phone supports.
what i mean is, rather then creating the camera from 0, i would/could call the camera…

starvi
- 519
- 4
- 15
- 29
1
vote
2 answers
Full webpage screenshot from an unpublished site
I want to take a full screen shot of a webpage within the browser. The webpage is not published and is opened from my desktop. Is there any tool or way to do this?
Edit: I need to take a full screen shot of a long page, screenshot will only take…

user1060444
- 57
- 6
1
vote
0 answers
getDisplayMedia is giving "DOMException: The associated Track is in an invalid state"
I have written a code that will take the screenshot after some time interval.
The code is:
function captureScreenshot() {
if (screenStream) {
screenStream.getTracks().forEach(track => {
track.stop();
});
}
…

Syed Toheed Gillani
- 11
- 2
1
vote
1 answer
How to take screenshot of any java native application without bringing it to foreground in Java?
I want to take the screenshot of a java native application ( any framework AWT, Swing, JavaFx ) without bringing it to the foreground. Are there any framework-specific methods available for this?
I have tried using Robot class to get the…

ameer zeya
- 23
- 4
1
vote
1 answer
Python CV2 reads out-of-date frames from video stream
I am using Python 3.9 and Open-CV (cv2) to read frames from a video stream and save them as JPGs.
My program seems to run OK. It captures the video stream fine, obtains frames, and saves them as JPGs.
However, the frames it is obtaining from the…

Graeme
- 43
- 1
- 8
1
vote
1 answer
WKWebView Not Opening Camera And Gallery Using Image Capture SDK
I have problem with using identity service with WkWebView. When I need to open my camera and see permission for opening camera I see error. Also I add permissions to camera and gallery in info.plist and in configuration of webview allow…

Max Max
- 81
- 2
- 6