Questions tagged [image-capture]

374 questions
4
votes
1 answer

wpf capture and image from webcam using aforge

I'm creating wpf application and implementing a webcam to my project. Here is how I tried to capture images from usb webcam. public partial class CameraWindow : Window { VideoCaptureDevice LocalWebCam; public FilterInfoCollection…
user7899755
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
1 answer

Saving an Image to Photos Folder In hololens App

I'm attempting to capture a photo inside my hololens app. It seems to be working but saving the image to an obscure place that I cant access or view. I want to save it to my pictures library Described here I think. Or where should i save the image…
CsharpBeginner
  • 1,753
  • 8
  • 38
  • 68
4
votes
2 answers

Recommendations for a Python library that can capture still images from a Flash/HTML5 video?

Part of a web application I am developing requires the ability to capture still images from a Flash or HTML5 video playing with in a browser. Is there a Python library out there that could help me along with this task? UPDATE Actually, users of…
pylonicon
4
votes
1 answer

What is the state of TWAIN on the Macintosh today?

I'm currently working on a project where we want to interface with TWAIN scanners on both the PC (Windows) and the Macintosh. On Windows, we basically have everything squared away and the code works successfully with the vast majority of…
Tom Kidd
  • 12,830
  • 19
  • 89
  • 128
4
votes
4 answers

How can I optimize my screencasting utility?

I'm developing a screencasting utility in C++. It basically captures desktop frames and creates an AVI file. The algorithm is as follows: Create a thread: this->m_hThread=CreateThread(NULL,0,thScreenCapture,this,0,NULL); Capture desktop in…
Zafer
  • 2,180
  • 16
  • 28
4
votes
2 answers

Detect if image was taken with front camera

I have an Android app that allows a user to upload a profile picture using their camera. The problem is, when the user takes a photo with the front facing camera, the image stored on the phone is mirrored. I am able to mirror the image back to it's…
codingViking
  • 171
  • 3
  • 8
4
votes
2 answers

Upload Picture Form Fails On Mobile Chrome

I'm building a mobile webapp, in which pictures from the user's phone play a significant part. I've got this form, in which a user can upload a picture taken from his mobile phone into the app's DB. I'm using CodeIgniter's upload class in order to…
Tom Granot
  • 1,840
  • 4
  • 22
  • 52
4
votes
3 answers

Grab picture from web cam in WPF Application?

I am using web cam in WPF application. I am using Expression Encoder for video capture. for video capture I have created Job and its working properly. While I want to get picture with same resolution as video is. for this I am using ffmpeg to…
4
votes
1 answer

C#: capture screen from Windows service

i have to capture screenshot of Desktop after every one second. in Winform application it is running fine. but after moving the code to Windows Service it is not capturing the screenshot. Any idea why it is not doing so? here is the code public…
Mohsan
  • 2,483
  • 6
  • 47
  • 62
4
votes
1 answer

How can I capture an image in Android and have it show up in the gallery?

I was capturing images before that were showing up in the gallery, but now they are not and I can't figure out why. Here is my code: ContentValues values = new ContentValues(); …
user189350
4
votes
2 answers

cvCaptureFromCAM() / cvQueryFrame(): disable automatic image correction?

I'm using the two OpenCV functions mentioned above to retrieve frames from my webcam. No additional properties are set, just running with default parameters. While reading frames in a loop I can see that the image changes, brightness and contrast…
Elmi
  • 5,899
  • 15
  • 72
  • 143
4
votes
1 answer

Android: How to capture image without showing preview

I am using the following code to capture the image in Android Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(cameraIntent, 100); After capturing an image, its showing a preview and asking…
M S
  • 3,995
  • 3
  • 25
  • 36
4
votes
3 answers

How to take a screenshot from an video playing through MPMediaPlayerController in iPhone?

Can anybody help me in this? I want to get an screenshot from an video playing through MPMediaPlayerController. What i have tried so far is:- -(void)viewDidLoad { NSURL *tempFilePathURL = [NSURL fileURLWithPath:[[NSBundle mainBundle]…
3
votes
3 answers

Command prompt hide/remove while taking screen shot

I have the following code to create the screenshot, but the only issue I am facing that it opens the command prompt and make user to close it, can I hide/remove this command prompt? private const int TIMEOUT = 30000; private const string TMP_NAME =…
Zerotoinfinity
  • 6,290
  • 32
  • 130
  • 206