capture

How to caputure an Bitmap created from a Windows Forms control to a BitmapSource?

Hello. I want to caputure an image of a control which is an ActiveX imported control and display that image in WPF. The reason I do not use the windows forms host is that it is too slow (i want to create a list with these activex controls) : so far i have: public Bitmap CaptureCtrl(Control ctrl) { // Ein neues Image mit...

iPhone - Using Display Recorder with integrated camera?

Hi, I want to use the app Display Recorder by Ryan Petrich to demonstrate my app. My app is using the camera image picker. When Display Recorder is enabled / activated the image picker always returns the last image that was taken before Display Recorder was activated. So I'm guessing that the screen recording blocks the camera to set th...

How can I capture date information from a rails form?

Hi all, I followed a few rails tutorials online, and it seems that to capture a date, I'd use date_select helper. But for some reason or another all the other data is captured in the database (SQLite3) except for the birthday. Any idea what I'm doing wrong? Here's the code for the form in my view: <% form_for :user, :url => {:contr...

AVCaptureDevice inheritance

Hello, Is there a way to create a subclass from AVCaptureDevice? , because i want to supply my own set of images to the export session to create a quick time movie. if there's another way to do so , please let me know. Best regards John ...

Android - capture screen of phone as a movie

Hello, for the documentation of a project I would like to record the screen of my Nexus One as a movie or at least in form of a lot of images, which I can convert into a movie. Is that possible? Is there an app for it? For the moment I only know about this screen capture functions in the SDK's tool directory. ...

sound capture using c# issue

I have developed a sound capturing winform application using NAudio 1.3 on c#. The idea is to capture streaming songs through sound card. It is working perfectly fine on windows xp. But On vista and windows7 machine if there is no sound driver installed it also take mic voice with it which is a big issue(i have checked it on dell lapto...

Is there any function in OpenCV or Emgu CV desktop capture options? (addons, libs, classes)

Is there any function in OpenCV or Emgu CV desktop capture options? (addons, libs, classes) So I know we can capture camera in a very easy way, is there any option for desktop capturing that way? ...

python opencv: no image

Hi all, I am trying to capture from a Sony Handicam DCR-HC38, running the code below, and passing [-1 .. 3] to the CaptureFromCAM function. The code runs, but I get no image. Do I need to "wrap" the camera somehow? Skype recognizes the camera, but python/opencv won't. I'm running Windows Vista if that helps any. import cv cv.Named...

Authorize and then Capture programmatically using Authorize.Net in Magento

Can anyone help me in getting the Authorization and the Capture steps (code) using Authorize.Net? It seems that everyone knows how to use both at the same time, however, there is no explanation as how we can do that into spearate steps, the Authorize first and the Capture after that (using a trasactionID). ...

Capture a video frame to a bitmap

I'm using Microsoft.DirectX.AudioVideoPlayback.Video class to play a video file and I would like to capture some frame to a bitmap. The only export feature of this class is the RenderToTexture method and it accepts a Direct3D device as a parameter. Someone know a simple way to obtain a System.Drawing.Bitmap from this method? ...

Capturing mouse/keyboard events outside of form (app running in background)

Hi guys, I have an app that runs in the background (minimized/task tray). I need to be able to detect mouse activity (clicks, move) as well as keyboard activity. What is the best way to do this given the constraint that my window is not "focused" ? ...

Can I use an OR in regex without capturing what's enclosed?

I have used RegExp before but am far from an expert... I'm reading up right now for a project, but am running into an issue. I'm using rubular.com to build my regex, and their documentation describes the following: (...) Capture everything enclosed (a|b) a or b How can I use an OR expression without capturing what's in it? So if...

What is the Linux/X11 (and Mac OS X) equivalent to Win API SetCapture() function?

On Windows you can "capture" the mouse to continue receiving mouse events even when it goes outside the window's client area. Here the SetCapture() documentation: http://msdn.microsoft.com/en-us/library/ms646262(VS.85).aspx I would like to know what is the equivalent function in Linux (X11) and Mac OS X (Cocoa). ...

Using a video file instead of iPhone camera

Hi guys Yesterday I posed the question of why the Apple WWDC 2010 samples for the iPhone camera dont work in the iphone simulator, http://stackoverflow.com/questions/3383928/iphone-video-access-samples That question was answered promptly. However as a follow up question I would like to know how to use video frames from a video file that...

How can I capture the stdout from a process that is ALREADY running

I have a running cron job that will be going for a while and I'd like to view its stdout. I don't know how important the fact that the process was started by cron is, but I figure I'd mention it. This is on OSX so, I don't have access to things like... /proc/[pid]/..., or truss, or strace. Suggestions of executing with IO redirection ...

C# Regex Replace weird behavior with multiple captures and matching at the end of string?

I'm trying to write something that format Brazilian phone numbers, but I want it to do it matching from the end of the string, and not the beginning, so it would turn input strings according to the following pattern: "5135554444" -> "(51) 3555-4444" "35554444" -> "3555-4444" "5554444" -> "555-4444" Since the begining portion is what u...

How, using regex, can I capture the outer HTML element, when the same element type is nested within it?

I'm trying to capture certain parts of HTML using regular expressions, and I've come across a situation which I don't know how to resolve. I've got an HTML fragment like this: <span ...> .... <span ...> ... </span> ... </span> so, a <span> element into which another <span> element is nested. I've been successfully using the followin...

How to Capture and manage requirements from a statement of work (SOW)

Can anyone gives us tricks, uses case, book and any other ressources for how to Capture and manage requirements from a statement of work(SOW). ...

Mozilla Firefox programmatic screen capture

Hi, I'm interested in writing javascript that will programmatically perform a screen capture of what is viewed in the browser, and save the file to the hard disk. I'd like to be able to type in a list of keywords, and use a search engine's api to programmatically view the page, and take a screen capture. My first question is, does this...

How do I create a GUI to existing JMF example?

Hi, my goal is to make a GUI for this little app, that I copied from the JMF guide I downloaded from Oracle website. The code capture 10s of audio from the mic and saves it in a file called foo.wav. But it won't work when I try to make a GUI to it and I don't know what I'm doing wrong. So please, tell me what's wrong. NewClass: packa...