Manipulating Webcam capture??????

Hi
I have successfully managed to capture, transmit, receive and display (using an applet) a webcam capture using jmf.
However I want to let the user to put their mouse on the applet and be able to scroll around, zoom in and out etc..
Any suggestions?

dear Fergus
My main objective is to capture / preview video using an applet and then capture a still image. save this still image to a file in users machine and then upload the file to the server at a specified folder.
this applet is a part of Student Registration system and to generate ID cards for students.
can you help me in this regards ? I have catagorized the requirements and other details. I am pasting the same here.
Video Capture Module
Objective: To capture a still image from a web page and Upload the image to specified folder on the server.
Technologies to be used: JAVA Applets, HTML & Servelets.
Synopsis: This application basically involves use of Java Media Framework. The primary objectives of this module are categorized according to the functionality.
1)     Detect the video capture device on the users machine.
2)     Preview the Live Video from the Detected Compatible Video Capture device.
3)     Ask for user to click to take a snap and save the file in users machine at some temporary location with some unique file name.
4)     Upload the file to the server at the specified path.
There are a few constraints to this application. These are identified in following according to severity of the constraint
1)     Minimal download time for the applet and supporting files.
2)     Browser compatibility with Internet Explorer 4.0 upward as well as Netscape Navigator 4.0 upward.
3)     User interface flexibility and easy to plug-in to the main module.
4)     Reusability of this module for other purposes.
There are few technological hurdles involved in doing this. These are stated below in order of severity.
1)     Detecting the Capture Device on users machine.
2)     User should not be asked to install Java Media Studio on his / her machine. Whatever the files are required should be loaded at the runtime.
3)     Making the applet compatible with both the browser technologies.
Following assumptions are being made
1)     The browsers are capable to handle applets i.e. the JVM & Java Plug-in are already installed.
2)     Video capture device Drivers are installed in the machine and the Camera is plugged in to the system.
The assumptions are prerequisite and must be met.
Details of the Sub Modules:
SM-1: Detect Video capture Device in users machine.
This involves following steps
1)     Initialize the applet and get permissions to access the system resources such as capture devices and other input devices. Having the signed applet with the required premissions can do this.
2)     Once we have the permission to access the devices we can scan various input devices and store the information in some temporary place such as cookie.
3)     If Compatible Video Capture device is found then query the Video capture device.
4)     If the Video capture device is not found then prompt user to install the Video capture device and revert back to starting the applet again.
5)     Check for the Device Capabilities. Compare that with our requirements.
6)     If things are ok then we can proceed to next step else go back to step 4.
7)     Save the device info for the future use possibly in a cookie.
SM-2: Preview the Live Video from the Detected Compatible Video Capture device.
This involves following steps
1)     Read the information from the cookie.
2)     Initialize the viewer for the Live Video.
3)     Present the live video.
4)     As a tool tip, we should suggest the user to focus the camera and adjust the camera lens to get a sharp image.
SM-3: Ask for user to click to take a snap and save the file in users machine at some temporary location with some unique file name.
This involves following steps
1)     Ask user to look in to camera straight. Not to blink eyes while picture is being taken.
2)     User should then click the snap button. As a useful tip we may also provide a keyboard short cut to capture the still image.
3)     Once the image is captured show the still image instead of the live video.
4)     Give an option to user to recapture the still image.
5)     If user feels his / her image has been satisfactorily captured.
6)     Ask for confirmation to save and upload the image to server.
SM-4: Upload the file to the server at the specified path.
This involves following steps
1)     Check for user authentication.
2)     Check for file name.
3)     Check for file size.
4)     If all above is ok then upload the image to server at the specified path.
regards
Virendra

Similar Messages

  • Problem with webcam capture

    Dear all,
    Using the Peter Parente's "webcam capture" library (Webcam Continuous Capture.vi), I faced some problems. In fact instead of showing for example one 320*240 picture it displayed some smaller pictures with some other parts of the picture indicator left blank(black).
    What's the problem. Any help would be appreciated.
    Regards

    Hello Smal,
    I did a search for this library and it looks like it was developed some time ago.  The FAQ on the download page seems to indicate that you need to make sure that your acquisition parameters in Windows and LabVIEW need to match in order for this to work properly.  There was also a data type change between Vision 6.1 and 7.0 so that could be related, but it sounds more likely it is something else.
    If your camera is DirectShow compatible and you have Vision, you can try IMAQ for USB.  This, like Peter Parente's Library, is not actively being developed or supported by National Instruments Applications Engineers, but you may have some more luck, assuming you are using more recent versions of LabVIEW and Vision.
    If there is a problem with a specific VI, please try to narrow down where the problem is occurring.  You may be able to post an image that might indicate how the library is failing.
    I hope this helps!  Good luck with your application.
    Regards,
    Angela
    Applications Engineer

  • Webcam capture

    I am using Logitech Quickcam Pro 9000 on my computer and I am
    trying to capture an image size of 533x280. I know it is a non
    standard size. The camera does seem to capture the image at that
    size, but it seems to truncate a lot of the image compared to
    another size that I capture for a different application, the size
    of which is 352x288, which is a standard CIF.
    I have two question based on this observation
    1. if I am streaming the bigger image (with details
    truncated) to FMS, does it transmit more pixels than the truncated
    image that appears on my screen. In short does it transmit more
    than 533x280x30 fps.
    2. Can webcams capture any size (within its outer bounds of
    course) or do they capture only standard sizes that are closest to
    the requested size. Does it make a difference in performance of the
    webcam?
    Thanks

    I would suggest you look at USTREAM. http://www.ustream.tv/
    You can use this free web service to record and broadcast webcam streams from your own computer (or someone else's).
    You can save the streams as an FLV file and then download the FLV to your own computer for editing.  If your bandwidth is reasonable (e.g. 300 kbps) and you use a good quality web cam such as the Logitech C910, which is full HD, you should be able to get excellent video.
    I'm currently using all of this to stream my daughter's wedding tomorrow.

  • Webcam capture works fine in JMFStudio, not in Eclipse

    Hi all,
    I search the forum, but can't find any answer !
    I'm trying to capture a webcam using JMF Performance Pack on XP64.
    I can read the webcam in JMFStudio, but when using some code to do it, for instance in eclipse, it says :
    java.io.IOException: Could not connect to capture deviceI tried with several code, some snippets found on this forum, some found on other, but the problem is always the same.
    My webcam is well detected in the DeviceManager list.
    What should be done to capture a video in my own class, knowing that this capture works well in JMF Studio ?
    Thanks in advance,
    PsyKo

    For some reason your codes might me trying to connect to the wrong device.
    Go to JMF - > JMF Registry -> Capture Devices and check the "name" of your webcam. For example, it could be something like "vfw:Creative WebCam NX (VFW):0"
    Then, go to the code you are using and add the device "manually".
    I dont know if that�s the problem, but you can try it.

  • Simple Webcam Capture to JPG

    I cannot figure this out.
    All I want to do is write a simple program that will take a still capture from my webcam and save it as a JPG. I don't need any kind of GUI or drawing to the screen. I will be using it in a batch script to take a picture and upload to my website at a fixed interval.
    I have been messing around with it for a long time and have had no success. Here is some code I wrote just now that won't work. I have imported things while trying different pieces of code, but I never took any of them out. That's why I import so many things.
    As you can see, I throw the NoPlayerException and CannotRealizeException. I do not understand why I get these. Also, when I run the program the light on my webcam turns on so I know it's connecting at some level. The file saved test.jpg is not a capture but rather a black square. Is my error in getting the image from the webcam or in writing it onto the BufferedImage so I can the write it to the file?
    Any help would be appreciated.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import com.sun.image.codec.jpeg.*;
    import javax.imageio.ImageIO;
    public class wc
         public static Player player = null;
         public static CaptureDeviceInfo di = null;
         public static MediaLocator ml = null;
         public static Buffer buf = null;
         public static Image img = null;
         public static BufferToImage btoi = null;
         public static void main(String[] args) throws IOException, NoPlayerException, CannotRealizeException
              String str = "vfw:Microsoft WDM Image Capture (Win32):0";
              di = CaptureDeviceManager.getDevice(str);
              ml = di.getLocator();
              player = Manager.createRealizedPlayer(ml);
              player.start();
              FrameGrabbingControl fgc = (FrameGrabbingControl)
              player.getControl("javax.media.control.FrameGrabbingControl");
              buf = fgc.grabFrame();
              btoi = new BufferToImage((VideoFormat)buf.getFormat());
              img = btoi.createImage(buf);
              BufferedImage bi = new BufferedImage(160, 120, BufferedImage.TYPE_INT_RGB);
              Graphics2D g2 = bi.createGraphics();
              g2.drawImage(img, null, null);
              File f = new File("test.jpg");
              ImageIO.write(bi, "jpg", f);
    }

    I have a question posted about this code, slightly modified in this thread:
    http://forum.java.sun.com/thread.jspa?threadID=5310154&tstart=0
    Would you check it out, I made a new thread because its not strictly related to this post.

  • Webcam Capture Picture Tool

    I want to write a program in VB 2010 that can capture photo using a webcam, and directly saves it to the database. Someone please help me. Thanks! 

    Hi,
     Here is a small code a made a while back that uses the capCreateCaptureWindowA API to capture a webcam and save pictures when the Save Picture button is clicked. You can test it out by creating a new form project and adding 2 buttons and 1 picturebox.
    Name one of the buttons (Button_SavePicture) and the other (Button_SetSizeColor). The picturebox i left as the default name (PictureBox1). In the Button_SavePicture click event you will want to change the path to where the images are saved or you will get
    an error there. As far as saving it to a database i will have to leave that up to someone that knows about using them. There is also this LINK
    where there is a few links to other ways using DirectShow and maybe more.
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim cWnd As IntPtr = IntPtr.Zero
    Dim devId As Integer = 0 '0 will be the first capture device found
    Dim picnumber As Integer = 0
    Dim tmppic As String = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Temp.dib")
    Private Const WS_CHILD As Integer = &H40000000
    Private Const WS_VISIBLE As Integer = &H10000000
    Private Const WM_USER As Integer = &H400
    Private Const WM_CAP_DRIVER_CONNECT As Integer = WM_USER + 10
    Private Const WM_CAP_DRIVER_DISCONNECT As Integer = WM_USER + 11
    Private Const WM_CAP_SET_PREVIEW As Integer = WM_USER + 50
    Private Const WM_CAP_SET_PREVIEWRATE As Integer = WM_USER + 52
    Private Const WM_CAP_SET_SCALE As Integer = WM_USER + 53
    Private Const WM_CAP_SAVEDIB As Integer = WM_USER + 25
    Private Const WM_CAP_DLG_VIDEOFORMAT As Integer = WM_USER + 41
    <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Ansi)> Private Shared Function SendMessage(ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As Integer, ByVal lParam As String) As IntPtr
    End Function
    <DllImport("avicap32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> Private Shared Function capCreateCaptureWindowA(ByVal lpszWindowName As String, ByVal dwStyle As Integer, ByVal x As Integer, ByVal y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hWndParent As IntPtr, ByVal nID As Integer) As IntPtr
    End Function
    <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> Private Shared Function DestroyWindow(ByVal hwnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
    If Not cWnd.Equals(IntPtr.Zero) Then
    SendMessage(cWnd, WM_CAP_DRIVER_DISCONNECT, devId, Nothing)
    DestroyWindow(cWnd)
    End If
    If System.IO.File.Exists(tmppic) Then System.IO.File.Delete(tmppic)
    End Sub
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    cWnd = capCreateCaptureWindowA(devId.ToString, WS_VISIBLE Or WS_CHILD, 0, 0, PictureBox1.Width, PictureBox1.Height, PictureBox1.Handle, 0)
    If Not SendMessage(cWnd, WM_CAP_DRIVER_CONNECT, devId, Nothing) = IntPtr.Zero Then
    SendMessage(cWnd, WM_CAP_SET_SCALE, 1, Nothing)
    SendMessage(cWnd, WM_CAP_SET_PREVIEWRATE, 66, Nothing)
    SendMessage(cWnd, WM_CAP_SET_PREVIEW, 1, Nothing)
    Else
    MessageBox.Show("Error connecting to capture device. Make sure your WebCam is connected and try again.")
    cWnd = IntPtr.Zero
    Me.Close()
    End If
    End Sub
    Private Sub Button_SavePicture_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_SavePicture.Click
    SendMessage(cWnd, WM_CAP_SAVEDIB, 0, tmppic)
    Dim bmp As New Bitmap(tmppic)
    Dim saveas As String = "C:\TestFolder\MyPic_" & picnumber.ToString & ".jpg"
    picnumber += 1
    bmp.Save(saveas, Imaging.ImageFormat.Jpeg)
    bmp.Dispose()
    End Sub
    Private Sub Button_SetSizeColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_SetSizeColor.Click
    'Shows a dialog window to choose the size and color depth of the image that the webcam is capable of using.
    SendMessage(cWnd, WM_CAP_DLG_VIDEOFORMAT, 0, Nothing)
    End Sub
    End Class

  • Webcam capture under MacOS

    Hi,
    is is possible to capture video from a webcam under MacOS? Under Windows and Linux it works finde with their performance packs, but under MacOS I have to use the "Cross-platform Java" version...
    Thanks
    Alexander Miehlke

    enderwiggin wrote:
    So it turns out that so many of these cameras update at such a slow rate (or are dead/static) that the system (which only captures most of these cameras once every 30 minutes) does end up downloading duplicates. That does surprise me since I would have expected thermal noise to change some pixels.
    When I originally wrote this I had it saving the images to disk and then checking them, but it was almost impossible to delete the file successfully if the image was determined to be a duplicate. I don't understand this. I don't see how having a duplicate file can in any way influence a 'delete'.
    >
    Rather than save in a ByteArrayOutputStream why not just compare the bytes in the buffer just read with those on the disk. I'm up for trying anything at this point, but I'm having a hard time figuring out how to go about this.Since after every buffer read you know how many bytes have just been read, using a RandomAccess file you can read that number from the file and compare them. If they are different then you change to just writing the new byte directly using the RandomAccess file.
    Ideally, what I need is to read the image into just an array of bytes that I can compare against the last image and then write to disk. Which, as you are finding out, does not scale. Reading the whole of a file into memory is rarely a good idea.
    I'm turning around and passing the array of bytes to another method by way of out.toByteArray() to do the check. By the way I'm limiting the number of simultaneous captures to 10, which works well it seems for most of the program's operation. So put the requests for capture into a priority queue and then process the queue using a finite pool of tasks.
    >
    As a note, I've already tried bumping up the JVM's allocated memory with no luck.... although that would've been a pretty poor long term solution anyways.Yep. If I have to allocate more memory then my solution is poor.

  • Webcam Capture AS2 CS5

    Hey everyone! I'm attempting to use a webcam to capture images (which this does ok) and then overlay the images over eachother with a low opacity.
    The images will be of a users face, each time a new user takes a picture the new face will be overlayed over the old one.
    The first problem is, no matter how much I alter the alpha levels, it does not affect the opacity of the bitmap, I know this is probably simple but I'm fairly new to actionscripting!
    Also the next step is figuring out how to get the image to stay there once the next one has been taken. I was wondering am I right in thinking of dynamically creating a new movieclip for each bitmap taken and changing the alpha of the movie clip. Would this work as a solution of both problems?
    Many thanks for any help!
    [CODE]import flash.display.BitmapData;
    import com.adobe.images.JPGEncoder;
    var snd:Sound = new camerasound();
    var bandwidth:int = 0;
    var quality:int = 100;
    var cam:Camera = Camera.getCamera();
    cam.setQuality(bandwidth, quality);
    cam.setMode(320,240,30,false);
    var video:Video = new Video();
    video.attachCamera(cam);
    video.x = 20;
    video.y = 20;
    video.alpha = 10;
    addChild(video);
    var bitmapData:BitmapData = new BitmapData(video.width,video.height);
    var bitmap:Bitmap = new Bitmap(bitmapData);
    bitmap.x = 360;
    bitmap.y = 20;
    addChild(bitmap);
    capture_mc.buttonMode = true;
    capture_mc.addEventListener(MouseEvent.CLICK,captureImage);
    function captureImage(e:MouseEvent):void {
    snd.play();
    bitmapData.draw(video);
    save_mc.buttonMode = true;
    save_mc.addEventListener(MouseEvent.CLICK, onSaveJPG);
    save_mc.alpha = 10;
    save_mc.alpha = 10;
    function onSaveJPG(e:Event):void{
    var myEncoder:JPGEncoder = new JPGEncoder(100);
    var byteArray:ByteArray = myEncoder.encode(bitmapData);
    var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
    var saveJPG:URLRequest = new URLRequest("save.php");
    saveJPG.requestHeaders.push(header);
    saveJPG.method = URLRequestMethod.POST;
    saveJPG.data = byteArray;
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE, sendComplete);
    urlLoader.load(saveJPG);
    function sendComplete(event:Event):void{
    warn.visible = true;
    addChild(warn);
    warn.addEventListener(MouseEvent.MOUSE_DOWN, warnDown);
    warn.buttonMode = true;
    function warnDown(e:MouseEvent):void{
    navigateToURL(new URLRequest("images/"), "_blank");
    warn.visible = false;
    warn.visible = false;[/CODE]

    enderwiggin wrote:
    So it turns out that so many of these cameras update at such a slow rate (or are dead/static) that the system (which only captures most of these cameras once every 30 minutes) does end up downloading duplicates. That does surprise me since I would have expected thermal noise to change some pixels.
    When I originally wrote this I had it saving the images to disk and then checking them, but it was almost impossible to delete the file successfully if the image was determined to be a duplicate. I don't understand this. I don't see how having a duplicate file can in any way influence a 'delete'.
    >
    Rather than save in a ByteArrayOutputStream why not just compare the bytes in the buffer just read with those on the disk. I'm up for trying anything at this point, but I'm having a hard time figuring out how to go about this.Since after every buffer read you know how many bytes have just been read, using a RandomAccess file you can read that number from the file and compare them. If they are different then you change to just writing the new byte directly using the RandomAccess file.
    Ideally, what I need is to read the image into just an array of bytes that I can compare against the last image and then write to disk. Which, as you are finding out, does not scale. Reading the whole of a file into memory is rarely a good idea.
    I'm turning around and passing the array of bytes to another method by way of out.toByteArray() to do the check. By the way I'm limiting the number of simultaneous captures to 10, which works well it seems for most of the program's operation. So put the requests for capture into a priority queue and then process the queue using a finite pool of tasks.
    >
    As a note, I've already tried bumping up the JVM's allocated memory with no luck.... although that would've been a pretty poor long term solution anyways.Yep. If I have to allocate more memory then my solution is poor.

  • Webcam capture & save as JPEG image

    Hi,
    I'm creating an application to capture image via webcam using directshow. I've managed to capture the stream using samplegrabber.
    the problem is when I save the grabbed image to a JPEG, the colors are incorrect.
    provided the link of the captured image from the webcam http://www.filefreak.com/pfiles/44160/test2.jpg
    the right hand side of the image should be brown colored, not blue as in the picture.
    I've also test to save as a bmp image, the color are ok.
    this is how i save the grabbed webcam frame into a jpeg file
    sampleGrabber->GetCurrentBuffer(&bufferSize, (long*)frameBuffer); 
    //save into jpeg 
    struct jpeg_compress_struct cinfo; 
    struct jpeg_error_mgr jerr; 
    JSAMPLE * image_buffer=NULL; 
    FILE * outfile;      
    JSAMPROW row_pointer[1];     
    int row_stride;  
    cinfo.err = jpeg_std_error(&jerr); 
    jpeg_create_compress(&cinfo); 
    if ((outfile = fopen("test2.jpg", "wb")) == NULL) { 
            fprintf(stderr, "can't open %s\n", "test2.jpg"); 
        return; 
    image_buffer = (unsigned char*)frameBuffer; 
    jpeg_stdio_dest(&cinfo, outfile); 
    cinfo.image_width = videoWidth;      
    cinfo.image_height = videoHeight; 
    cinfo.input_components = 3;      
    cinfo.in_color_space = JCS_RGB;      
    jpeg_set_defaults(&cinfo); 
    jpeg_set_quality(&cinfo, 255, TRUE ); 
    jpeg_start_compress(&cinfo, TRUE); 
    row_stride = videoWidth * 3;     
    while (cinfo.next_scanline < cinfo.image_height) { 
        row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride]; 
        (void) jpeg_write_scanlines(&cinfo, row_pointer, 1); 
    jpeg_finish_compress(&cinfo); 
    fclose(outfile); 
    jpeg_destroy_compress(&cinfo); 
    //end save jpeg 
    Thanks.
    Regards

    Hi,
    Thanks
    for participating on the MSDN Forum! I think your question is mainly related
    with DirectX, but not Visual C++ Language. Thus, I suggest you post your
    question on the microsoft.public.win32.programmer.directx.video newsgroup, there you find DirectX experts and your
    question should be answered in no time.
    The people there will have enough experience with DirectX to give you the best
    advice or answer!
    http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.win32.programmer.directx.video&lang=en&cr=US
    Thanks! Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • No audio from second Channel using Webcam Capture with ASIO source

    I am trialing elements version 10 as I am looking for a capture / recording / editing solution for making music videos. I want to be able to record from my webcam and also record two audio streams silmutaneously.
    I am using a logitech webcam pro 9000 and a line6 Ux2 Audio recording Sound device. The UX2 is an ASIO compatible device that allows two streams to be recorded; in my case guitar and Microphone for voice. I am able to do this in ASIO comaptible audio editing software.
    So I have tried selecting the Audio device settings prior to starting a capture but each time I start a capture the audio device reverts to standard windows Realtek audio device. I then select the Line6 Device in the capture window and procede to record but I only get video and one audio channel. Is there a way to record live from webcam AND get both audio channels using ASIO driver?
    Cheers
    Greg

    Only if your camcorder records in stereo. Otherwise, you will only get one channel of audio and you will need to use the Fill Left or Fill Right audio effect to spread the audio across both.

  • I need you help with webcam capturing

    HIi everyone. I'm new to Java and most recently JMF , I working on a project that involves capturing images on a webcamera.I will appreciate it if anyone has a working code and steps that I can study to guide me through, I'm running late and I need to get it done.
    Hope to hear from you soon.
    THanks a lot
    Toni

    i believe that this is the only upgrade for you ...
    http://ati.amd.com/products/radeonx1900/RadeonX1900G5/index.html
    i could be wrong, it has been known to happen ...

  • Webcame Capture Problem

    Hello,
    I am trying to take pictures from webcam throw Labview , Labview can detect the camera but the problem is that it doesn't capture and display the picture
    I have installed the IMAQ USB driver and I have tried 3 types of webcames but the same broblem is present
    I have used the Labview webcame Library,
    and also the example attached
    Can any help me solving this Problem ?
    Thank you
    Mar-Q
    Attachments:
    Acquire a USB Camera Image 1.vi ‏73 KB

    Hi qurrr,
    Your VI worked fine on my system with my Creative Live! USB camera without requiring any modifications. Are you getting any errors when you try to access your camera?
    Are your USB cameras DirectShow compliant? They need to be in order to access them using IMAQ for USB (for example, is the "USB Camera" string indicator you have on the front panel filling in with the name of your camera OK?).
    Another possibility is that your are disabling the "snapshot" property of the Image Viewer on your front panel, but in the VI you posted it was still enabled properly. If it was disabled, then when you dispose of the image, it would clear the image display because they would both be pointing to the same space in memory. Please take a look at the following KnowledgeBase articles to see what I mean there:
    KB 3NDH344Y: IMAQ Image Display Indicator Changes Throughout Execution of VI
    KB 3NRFH84Y: Image Display Refreshing in LabVIEW
    To ensure your image display would be updated before your dispose is called, you could change your simple VI to be like the screenshot I've included, where you put the display indicator in a flat sequence with the IMAQ USB Close VI, so that you force it to get called before the IMAQ Dispose VI.
    Message Edited by VGA CD-ROM on 02-27-2008 03:10 PM
    Regards,
    Vijay S.
    National Instruments
    Attachments:
    display_in_sequence.gif ‏8 KB

  • HP Pavilion dv7-4087cl True Vision Webcam Capture?

    Hello,
    I have a new HP notebook that meets all the system requirements for using Premiere CS5.5 and it has an integrated HD webcam that I cannot seem to capture with using any of the adobe products. I saw a thread that on location recognizes the webcam like it does on mine as well but that it is just a glitch and that in order to capture with a webcam it would have to connected via usb or firewire. I don't think this is totally accurate though because the MediaSmart software that comes with the PC captures and overlays effects and such just like you would be able to do if you had it set up right in premiere after effects onlocation etc. I was just wondering if anybody else has also tried to do this and got it to work?
    I work in a professional studio and use the same software with professional equipment and I understand that your project settings need to be set up correctly in order to capture in premiere. ex: installed an AJA breakout card and after the install premiere has a preset for capturing with the device. So my question would be is there a way to set the HP MediaSmart Webcam up to be a capture device? I guess I could always capture with MediaSmart and then import to premiere but that's lame and I want to make my own effects and things around the facial recognition and stuff. Any help would be greatly appreciated.
    Thanks, Joe

    Thanks for the feedback, however, I am not a rookie here and I and I am not having a problem with codecs at all, and yes I can bring footage in and edit it easily, I love using premiere. Also I have no problems hooking up a usb webcam or dv cam and capturinging, it's only the internal cam I have an issue with. I know it is prefferred to have a raid set up with high speed drives and all but if you check it's not required, that's the main reason I use premiere and not some clunky old school system like Velocity HD  Here is what it says in the specs "
    7200 RPM hard drive for editing compressed video formats; RAID 0 for uncompressed"

  • Native webcam capture width / height

    the native width and height capture always seems to be 128x128.  how can i change this?  it's taking a square crop from the camera and publishing that as the stream. 
    also, i don't quite understand what resolutionFactor is doing.  what are the three native width and height values?  does setting resolutionFactor=3 for a 128x128 capture translate to a 384x384 resolution?  no matter what i set resolutionFactor to, when i check the stream coming in the nativeWidth/nativeHeight is always 128x128.
    can you help me clarify this?
    Specifies the resolution factor of captured data; ResolutionFactor values range from 1 (lowest resolution) to 10 (highest resolution). Resolution factor gets multiplied by the native width and height of captured camera. We provide three native width and height values based on aspect ratios. That width and height when multiplied with this factor, gives the resolution.

    Hi Adam,
    If you look at the source code of StreamManager.as in the player 9 source we provide, we have three set of values for native width/height. I will copy them here
    @private
              public static const AR_PORTRAIT_W:Number = 144;
    @private
              public static const AR_PORTRAIT_H:Number = 112;
    @private
              public static const AR_STANDARD_W:Number = 128;
    @private
              public static const AR_STANDARD_H:Number = 128;
    @private
              public static const AR_LANDSCAPE_W:Number = 160;
    @private
              public static const AR_LANDSCAPE_H:Number = 96;     
    By default, we use the standard values for nativeWidth and nativeHeight i.e. 128 and 128. When you specify a reslotion factor, the native width and height doesn't change but the capture width and height is multiplied by the factor in
    camera.setMode(StreamManager.ARSTANDARD_WresolutionFactor, StreamManager.AR_STANDARD_H resolutionFactor, _fps);
    So, if you are setting resolution factor as 3 it will do for standard      
    _camera.setMode(1283, 1283, _fps); though the native width and height remains the same.
    If you want to change them, you need to override the createMyStream function in WebcamPublisher.as and change the nativeWidth and nativeHeight( the code is same for 9 and 10, so even If you are using player 10 swc, you can refer to 9 source of this function), but you don't need to do the native width and height, just changing the resolutionFactor should change the capture width/height for you.
    Please refer to updateSettings and createMyStream functions in the source code of WebcamPublisher.as for further clarity.
    Hope this helps.
    Thanks
    Hironmay Basu

  • Webcam capture/save without $3600 NI-Vision

    I would like to use the NI-IMAQ drivers to capture a picture for a test system but my company won't purchase the vision module.  I can't blame them at $3600 per license!  There are some VIs that use system DLLs but they require .net programming, which I am not familiar with.
    Is there any way to use IMAQ without parting with all that cash?

    Hey Brock,
    Andrey is right. The NI Vision Acquisition Software 8.6.1 and the IMAQdx driver that it contains now supports USB cameras (as long as they are Direct Show compliant). With this software, you would be able to acquire images and save them to file. The IMAQdx driver still requires a license. However, because the Vision Acquisition Software does not include any of the machine vision and image processing algorithms, it has a lower price tag. Check out the Release Notes to be sure that this software will work with what you have now.
    Hope this helps.
    -Ben
    WaterlooLabs

Maybe you are looking for

  • Check the Freight order locked status in TM 8.0

    Hi All, Is there any method to check whether the Freight order is locked for processing, other than the messages obtained when the Freight order is called for update and it returns a message, the Order is locked and cannot be processed. Also can you

  • Solaris 10 installation issue

    Hi, I have tried to install solari 10 many time but it fails. it goes throught the installation process and copies over the files then when i reboot and load solaris 10 from the menu it get to the stage where it asks if it want to override the nfs do

  • Old computer - slow transfers for sata

    hi all, I've set up a linux box with very old stuff. I'm talking about a Pentium II 350 MHz on a Asus P5B, 192 MB RAM. Though I have some new disks, with which I am experienceing slow transfers and I would like to know some advices on what could I do

  • Mountain Lion FREE update for MacBook Pro Retina 2012

    Hello, looking for an honest support.. I bought my Macbook Pro Retina 2012 on this 15 July 2012 from Apple's authorised premium reseller of Bangladesh (Executive Machines Ltd.).. I just knew & saw yesterday that Mountain Lion was published & it is FR

  • Unable to discover Why No Join Predicate

    Please help me, I have this query: select pc.Val,         PC2.Valstring as valstring,         pc.ValString as MessageType,         pc2.Val as Port from dbo.tblproperty            p with(nolock) inner join dbo.tblpropertycfg  pc with(nolock) ON p.pkPr