Questions tagged [cameracapturetask]

30 questions
5
votes
1 answer

How can we lock the camera screen orientation during the camera capture process?

Our camera takepicture takes around 10-15 seconds (due to custom camera hardware). What I need is during this process of 10-15 seconds, I would not want the user to change the screen orientation. I have placed the takepicture call in doInBackground…
3
votes
2 answers

CameraCaptureTask in Windows Phone 8 - auto saves to camera roll

I have an existing application developed for Windows Phone 7, which uses CameraCaptureTask. The captured image is returned back to the app, which will be processed for grayscale conversion. While testing the same app (same binary to be precise) in…
Senthil
  • 357
  • 2
  • 9
2
votes
1 answer

Saving Photos (CameraCaptureTask) to Isolated Storage - OutOfMemoryException

I would like to save a photo, taken within my App(using CameraCaptureTask), to the isolated storage. The current Problem is the consumption of RAM, which always leads to an OutOfMemoryException. This also happens when I am loading the picture into…
Daniel Abou Chleih
  • 2,406
  • 2
  • 17
  • 31
1
vote
1 answer

How does one get the dimensions of an image from a stream (without rendering it)?

I'm doing the standard CameraChooserTask dance. In my callback, I'd like to get the dimensions of the captured photo. I tried using BitmapImage, as below, but since the BitmapImage isn't part of the render tree, I don't think it actually does any…
i_am_jorf
  • 51,120
  • 15
  • 123
  • 214
1
vote
0 answers

Get Uri from CameraCaptureTask or PhotoChooserTask Using OriginalFilename

In Windows Phone 8, I want to persist the location of a picture returned by either the CameraCaptureTask or the PhotoChooserTask. They have the same API so any answer which matches one of them works on both. When delivering an image, they deliver…
Peter
  • 5,193
  • 1
  • 21
  • 41
1
vote
2 answers

OpenCV 2.4.3 camera capture not working on Ubuntu 12.04

I am trying to execute the following program using openCV 2.4.3 on Ubuntu 12.04 LTS. But I get "camera not initialized as the output" Can anybody help me. here is the code: include include "opencv2/imgproc/imgproc.hpp" include…
user891558
  • 23
  • 1
  • 3
0
votes
1 answer

Windows Phone 7 Taking Photo

I am developing Windows Phone 7 application (7.0) and want to take photo without using CameraCaptureTask. There will be a button on main screen and it will take photo by clicking it instantly. Any solution?
0
votes
1 answer

Need help using the CameraCaptureTask

i am trying to create a simple demo application that does the following: i have a button at MainPage.xaml (with Name="btnCamera") and an image control (with Name="photo") and when i press the button i want to start the camera task, capture a photo…
Giorgos Manoltzas
  • 1,590
  • 5
  • 20
  • 32
0
votes
0 answers

Crashlytics android 11 device crash on capturing photo and opening gallery

I had an app that is working fine in the below version of android while doing the operation on the Android 11 version for gallery and camera capturing pics the app gets crashed. it is showing me an error on the below code. I am doing here getting…
0
votes
0 answers

Unable to capture Video from Laptop Webcam using OpenCV

I wrote some code to generate a live feed from my laptop webcam. I'm using the openCV library for Python 3.7 with Pycharm. This is my code: import numpy as np import cv2 cap = cv2.VideoCapture(0) while True: #capture frame by frame ret,…
0
votes
1 answer

How to change frame resolution opencv python

i'm new to openCv, i just wrote a little program in python for a real time camera capture. I wanted to change the frame size in px, from the standard 640x480 to 1280x720. My Logitech camera has a HD resolution (720p) so i know that that's not a…
0
votes
1 answer

Change the name of a video recorded with CameraCaptureUI [C++]

I am using C++ and XAML to develop an UI application. There is a point in the execution that I use a CameraCaptureUI to record a video. The code looks like this: CameraCaptureUI^ dialog = ref new CameraCaptureUI(); …
0
votes
0 answers

c# emgu camera capture and mem leak?

I have following code in C# using emgu to camera capture: //video capture private Capture videoCapture = null; //takes images from camera as image frames private Image videoCaptureImageFrame; private Image
Przemo
  • 183
  • 2
  • 11
0
votes
1 answer

WP8 - Batch upload images to azure storage

I'm trying to upload image to azure blob storage from my windows phone 8. I'm using CameraCaptureTask and the codes below work fine for me to upload image into azure storage. But, is there any way to upload multiple images at once? private void…
0
votes
1 answer

SensorCore with CameraCaptureTask

In our WP 8.1 application, we're using the SensorCore SDK to collect some information about movements of the user, and we use the CameraCaptureTask too. When we launch the task with CameraCaptureTask.Show(), the application crashes, sometimes before…
Christophe Gigax
  • 2,511
  • 4
  • 21
  • 36
1
2