Capturing an image

hey guys
first of all i am sorry for my broken english i'll do my best....
o.k so.. i am a first year college student and i got a little task...
first i need to take a single snapshot from my webcam
secondly i need to take the image as a 2d array and search 4 the highest value
my achievements till now are'nt the best i managed to detect the webcam and get the medialocator
i downloaded the jmf guide from java sun site (too big for me.... for now! i didn't undestood it so good)
i need a little guidance . how i can take the snap shot???
if some one knows a good tutorial ???
this is what i got so far can somone help me with that code
CaptureDeviceManager webcam = new CaptureDeviceManager();
          CaptureDeviceInfo webinfo = autoDetect ( );
          MediaLocator weblocate= webinfo.getLocator();
          try {
               Processor p = Manager.createProcessor(weblocate);
               p.realize();
               p.start();
               p.close();
               DataSource websource=p.getDataOutput();
          } catch (Exception e) {
               // TODO: handle exception
          }i am getting this error
java.io.IOException: Could not connect to capture device
java.io.IOException: Could not connect to capture deviceNati
Edited by: NatiK on Jul 18, 2008 8:45 AM

With this you will learn a lot more than just taking a picture. Modify this one to reach your goal.
See ya                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • "Unable to capture window image"

    if I select a window to be screenshot, I get this error:
    Your screen shot can’t be saved.
    Unable to capture window image.
    (shortcut: cmd-shift-4 and then space)
    It seems to be new in Lion. Never had that problem before. And regular screenshots seem to work fine (cmd-shift-3).
    Thanks for any help! ~ Kai

    Thanks Davide ...
    I created com.apple.screencapture.plist with Terminal and restarted the Mac.
    The first couple of window screenshots worked on a Chrome browser window (command-shift-4, then space bar). But it did not work on other app's windows (Finder, Carousel).
    Then I switched back to Chrome and I didn't work there too anymore. Crazy thing is that now it works on Finder windows. Very very strange.
    All this is only true for capturing a whole window content (command-shift-4, then space bar)
    ~ Kai

  • Camera - Torch 9800 - Unable to capture the image

    Hey everyone!
    Had a torch 9800 for 18 months now and always been working fine... until today.
    I went to use the camera and it all seemed to open up fine but instead of seeing what the lens sees the screen was black. The centre focus [ ] was there and I could zoom back and forth just a black screen. 
    When I click for a photo I get a message " Unable to capture the image "
    I have searched the web and found nothing conclusive. Battery pulls, a full wipe and installation of the o/s have made no difference to it's lack of function.
    Does anyone out there have a suggestion? 

    I am having the exact same issue.  I also tried rebooting, taking out the battery and sim card and cleaning out the back, alas no difference.

  • Deployment Workbench - how to capture an image after customisation?

    I have deployed Vista to a machine using WinPE (Created through Workbench) and chose the option when deploying "Prepare for capture"
    I then customised Vista - in this case removing the Fax applications and ran Sysprep with OOBE, Generalise and Shutdown.
    In workbench I created a new task sequence 'Standard Client Replace task sequence' which seems to be the right task to capture an image.
    When selecting the task when booting the machine with WinPE, it forces me to capture the user data - I cannot select 'Do not save data and settings'
    I must be doing something wrong!
    What I want to do is:
    Deploy Vista
    Install some apps manually i.e. not using a task sequence
    Capture the image
    Deploy to machines
    How can I do this using Workbench? Thanks.

    Hi,
    Thank you for the reply.
    I suggest referring to the following article:
    Creating a Computer Image
    http://technet.microsoft.com/en-us/library/bb977918.aspx
    If you select “Capture an image of this reference computer” on the “Specify whether to capture an image” page when running Deployment Wizard, it will sysprep and capture the system for you automatically.
    If you would like to
    “Install Vista and prepare for capture
    Install my own applications WITHOUT using task sequences
    Capture the OS”,
    I am afraid that you do not need to use MDT (you cannot perform a LTI without running Task Sequences). You can do this by only using WDS.
    1.   Install and configure the WDS Server.
    2.   Add the default Windows Server 2008 boot image to the WDS Server.
    3.   Create Capture Boot Image and add it to boot image in WDS Server.
    4.  Create a reference computer (install the operating system, applications, and make any other changes)
    5.  Sysprep.
    6.  PXE boot the reference computer into capture image on the boot screen and then capture the image (If non-PXE supported, make a discover image to boot)
    7.  Upload the captured image to WDS server.
    8.  Clients can PXE boot and install Windows (If non-PXE supported, use a discover image to boot).
    Hope it helps.
    Tim Quan - MSFT

  • How to capture an image from a clip

    Hi,
    Is there a way to capture an image from a movie clip using iMovie 06?
    I would like to save some frames from the vedio footage as photos.
    Any help will be greatly appreciated. Thank you.
    New Mac User
      Mac OS X (10.4.5)  

    Hi iMac User:
    Yes-you can save a single frame from iMovie by selecting the File-->Save Frame As option. From there it will ask you where and in what format you want to save it.
    Just be aware that the quality won't be perfect because it is taken from a video clip.
    Sue

  • How to capture an image and save it using action script

    Hello,
    I need to know if is posible to capture an image or a screen region and save it using action scrip.
    Somebody know how to do it ??
    Thanks

    you can capture an image using the bitmapdata class and getPixel().  you can then save that to a bitmap using server-side code like php.

  • How to capture an image from my usb camera and display on my front panel

    How to capture an image from my usb camera and display on my front panel

    Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
    Christian

  • Capture an image using the web camera from a web application

    Hi All,
    Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
    I have a similar requirement like this,
    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
    3) Upload the Image to the server from the temporary location.
    Please share the details like, what can be used and how it can be used etc...
    Thanks,
    Suman

    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
    3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
    All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
    Alternately, you might want to look into Adobe Flex for this particular application.

  • How to capture an image with the camera axis

    Hi,
    I have an camera axis. I can receive the video. Now I try to capture an image, for example when I push the button take. I do the .vi but I confused between the different Method.
    SaveCurrentImageave the current Image
    GetImage:Gets the data corresponding to the image currently being
    displayed.SetImage:Adds an Image to the Clipboard in the Bitmap format
    That I search is to know if to capture image and saving when I push an button  I need to put all Icons so SetImage after Getimage and SavecurrentImage.
    I put my .vi.  
    Attachments:
    Capture_image.vi ‏11 KB

    Hello,
    Did you download the kit sdkfor using the axis media control active X:
    http://www.axis.com/fr/techsup/cam_servers/dev/activex.htm
    Did you test the sample and did you test with another language?
    Regards,
    Nacer M. | Certified LabVIEW Architecte

  • Capturing an image to use for PXE boot

    I'm using Windows Deployment Services in conjunction with Windows Deployment Terminal (Windows Server 2008) to capture an image from one of our workstations to use as a PXE boot image for future computers. I've created the capture image and PXE booted
    to that image, which brings up the "Image Capture" wizard. After capturing the image, I created an install image in WDS using the same .wim file. After trying to PXE boot, the workstation yet again brings up the "Image Capture" wizard.
    I then right clicked the image under Boot Images (in WDS) and selected "Create Discover Boot Image." A loading window pops up, but always ends with an error saying something to the extent of the image doesn't have WDSClient Binaries. Does anyone
    know what this is or how to fix this? Or even if I'm going about it the right way? If anyone has any advice, I'd appreciate it.

    Hi,
    Yes, you can.
    Here are the rough steps:
    1. 
    Install and configure the WDS Server.
    2. 
    Add the Windows 7 boot image to WDS.
    3. 
    Create a Capture Boot Image and add it to Boot Image.
    4. 
    Create a reference Windows 7 computer (install Windows 7, Office and other applications as you like)
    5. 
    Sysprep the Windows 7 computer.
    6. 
    PXE boot the reference Windows 7 computer into capture image on the boot screen and then capture the image.
    7. 
    Upload the captured image to WDS server.
    8. 
    PXE boot clients, choose the captured image to install the system.
    Please refer to this link
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/be3af7db-b71b-4b14-b166-fef83cde0ac6/deploy-windows-7-from-waik-with-some-application-added?forum=winserversetup
    I had the similar problem couple of years back
    UMESH DEUJA MCP,MCTS,MCSA,CCNA

  • When I am trying to package my artwork in Adobe Illustrator CC, it is not capturing my images and fonts. How do I make sure my linked photos and fonts are captured?

    When I am trying to package my artwork in Adobe Illustrator CC, it is not capturing my images and fonts. How do I make sure my linked photos and fonts are captured?

    Not all fonts can be packaged depending on their licensing. Some fonts are set to not allow packaging. For those you would have to manually locate them on your computer and add them to the folder where the packaging occurred.
    For the images have you checked the "copy links" option?

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • Need to capture multiple image paths for responsive design when only one will be displayed at a time

    I'm new to CQ and am having enough trouble following the documentation on image components as it is (why is there no master reference for all this?). I have a requirement where we need to capture three versions of an image and put the URLs into three attributes of a tag. The appropriately sized image will be selected via JavaScript based on the browser/device capabilities. I need to know how to capture those images when seemingly only one at a time can be dropped onto the page. Or perhaps there is a more CQ solution to this.

    Hi,
    You need to customize image component. I mean selected image is a asset in the repository and each asset by default has 3 rendtion generated when the image is uploaded in the dam.
    For example when you upload image.jpg file into the DAM, standard workflow is launched and after a while inside the repository (see paths) are created following renditions:
    /content/dam/project/image/image.jpg/jcr:content/renditions/cq5dam.thumbnail.140.100.png
    /content/dam/project/image/image.jpg/jcr:content/renditions/cq5dam.thumbnail.319.319.png
    /content/dam/project/image/image.jpg/jcr:content/renditions/cq5dam.thumbnail.48.48.png
    This process can be customized by changing /etc/workflow/models/dam/update_asset.html workflow and modifing "Thumbnail creation" step by adding in the Process tab -> Arguments field new values for new rendition. So for example if you add there [400,400] new rendition will be created in the path
    /content/dam/project/image/image.jpg/jcr:content/renditions/cq5dam.thumbnail.400.400.png
    Next step is to customize jsp for image component. Using path to the drag and dropped image from a component attributes you can easily take all renditions iterating on the /content/dam/project/image/yourimage.jpg/jcr:content/renditions node and then set paths to all renditions in the tag attributes. Then like you wrote using js you can select proper rendition.
    I hope that it hepls you.
    Regards,
    Adam

  • Image Capture Boot Image Fails with 0xc000000f

    I am trying to capture a Windows 8.1 Enterprise (with Update) x64 installation using WDS, but the Capture Image fails to load. I used the boot.wim from the Windows Server 2012 R2 (with Update) ISO to create a boot image in WDS and then a capture image from
    it. After I press F12 and the progress bar finishes the following message appears:
    This only happens when I boot the capture image - the original boot image that I imported in WDS boots normally. I also tried with the Windows 8.1 (with Update) boot.wim, but the issue reoccurs. This is a Hyper-V VM on Windows Server
    2012. Is this a problem with the recent update?

    Hi,
    We’re currently experiencing exactly the same issue. Also a fully-updated Server 2012R2 (with the recent KB2919355 update) machine.
    So far, I found two other posts with exactly the same issue:
    1) http://wp.secretnest.info/?p=1474
    2)
    http://community.spiceworks.com/topic/472581-wds-capture-image-winload-exe-corrupt-or-missing
    According to these posts it seems like the issue occurs after the first time a capture image based upon a Windows 8.1 or Server2012R2 boot.wim is created.
    What I’ve tried so far is removing the server role, deleting the WDS store, rebooting the server and start over with a Windows 7 boot.wim. The normal boot.wim starts ok, but the created capture image doesn’t.
    So the process of creating the capture boot image did ‘something’ in a way the new boot.wim differences from the old boot.wim. To find out what, I first mounted the new .wim file to see if winload.exe is actually there – it is both in
    system32 as well as systen32\boot. So my second guess was that the Windows Boot Manager cannot find the windows loader, because of an incorrect declaration of disks in the BCD store.
    I used BCDEDIT to show the differences between the working and non-working boot images:
    Windows Boot Loader
    identifier {1d214c07-6892-401c-a762-04647ad38560}
    device ramdisk=[boot]\Boot\x64\Images\boot.wim,{b321afc0-8a23-4
    961-85dd-a10f3c46473f}
    description Windows 7 Boot Image
    osdevice ramdisk=[boot]\Boot\x64\Images\boot.wim,{68d9e51c-a129-4
    ee1-9725-2ab00a957daf}
    systemroot \WINDOWS
    detecthal Yes
    winpe Yes
    Device options
    identifier {b321afc0-8a23-4961-85dd-a10f3c46473f}
    inherit {68d9e51c-a129-4ee1-9725-2ab00a957daf}
    ramdiskmcenabled No
    ramdiskmctftpfallback Yes
    -- Second - Non Working disk --
    Windows Boot Loader
    identifier {872352a0-0ad9-46f6-8612-1aed71ea8534}
    device ramdisk=[boot]\Boot\x64\Images\boot-win7-capture.wim,{7a
    b86a3a-3651-4f50-a748-34f3e784158c}
    description Windows 7 Capture
    osdevice ramdisk=[boot]\Boot\x64\Images\boot-win7-capture.wim,{68
    d9e51c-a129-4ee1-9725-2ab00a957daf}
    systemroot \WINDOWS
    detecthal Yes
    winpe Yes
    Device options
    identifier {7ab86a3a-3651-4f50-a748-34f3e784158c}
    inherit {68d9e51c-a129-4ee1-9725-2ab00a957daf}
    ramdiskmcenabled No
    ramdiskmctftpfallback Yes
    So the ID for the osdevice is the same, and only the device is different, but mentioned correctly under Device options (as far as my knowledge goes in this subject). I hope there will be a solution anytime soon.

  • Capture Pictures/Images from Video

    Hello All,
    I am just getting warmed up in these forums here. I wanted to know if you could capture still images from video clips and if they are Kodak clear. I have a couple of family videos that I would like to have pictures taken from and framed. Does anybody know much about this?

    <[email protected]> wrote in message <br />news:[email protected]..<br />> Thats interesting. I had talked to a representative from Adobe and I was <br />> told it would be crystal clear of a photograph! That includes after the <br />> image being deinterlaced...<br /><br />It will be "clear."  However, the clarity of a picture is a function of the <br />original video and the resolution.  Standard definition digital video is 720 <br />x 480 pixels for a total of 345,600 or, roughly, 1/3 of a megabyte.  This is <br />very low resolution compared to what a good digital still camera can <br />produce, i.e. 4-8 megabytes.  A high-definition frame will contain 1,920 x <br />1,080 pixels, totaling 2,073,600.  A 2 megabyte frame will produce a <br />reasonable 4 x 6 photograph.

  • I need to just capture an image

    I am useing SCCM 2012 R2 for my OSD and I need some help.  I have a computer that has everything I need on it.  When I do a build and capture task it will format the drive and put a exitsing image on it then capture that one.  I need help
    to just capture the image I want.  I know sccm 2012 will install software but, we have software that can't be installed that way.  I have read some posts that say you can use AIK but, I have looked at that and I don't see how.  Any help that
    you can give will be great.

    It is super easy to capture a reference image using Capture media or manually via DISM or Imagex.exe.
    Technet: http://technet.microsoft.com/en-us/library/bb694129.aspx
    Guide for 2007 (still applies to 2012):
    http://blogs.technet.com/b/ptsblog/archive/2011/01/26/capture-a-windows-174-image-from-a-reference-computer-using-capture-media-for-it-pros.aspx
    A few others:
    http://www.windows-noob.com/forums/index.php?/topic/5070-how-can-i-capture-an-image-using-capture-media-in-configmgr-2012/
    http://gerryhampsoncm.blogspot.com/2013/02/sccm-2012-sp1-step-by-step-guide-part.html
    Daniel Ratliff | http://www.PotentEngineer.com

Maybe you are looking for