About capeturing image through web camera

hai to all,
i need a help .
i have captured a image through web camera.
and i want to call the image in an applet.
is there any API's are available
that all

Try this (LabVIEW Webcam Library) or consider following this guideline from NI.
Hope this helps, Guenter

Similar Messages

  • How to detect red frame in a series of images using web cam?

    hey i am a new use of lab view(8.2 n 8.6).kindly ca any1 help me out in red color detection in a series of frames being capture by a usb web cam.i have done the grabbing thing but dont knw what to do now.plz help me out. basically i hve to do the following things:
    1 )the camera is continuously making video
     2)the moment a red color or red frame comes across the camera the camera is programmed such that it will capture that red frame. and display that captured frame
    plz hep me out.i need serious help.
    i am attaching a vi that is grabbing the images and then xtracting the red color info n thn displyaing its intensities rows and coumn wise on a graph.here i have used a guassian surface to locate the red color.
    Solved!
    Go to Solution.
    Attachments:
    giving intensity of red color.vi ‏78 KB

    hey,i have made the code plz chk it and do rep soon as ma project sbmission date is very near =((
    i am snaping an image from the web cam then comparing it with the red colored jpg image made in paint.
    the jpg image is converted  to give input image to imaq match vi.but after the comparison it gives the same output.
    on the front pannel the snapped image is displayed,the red colored image that is converted in to its respective pixels is displayed and the image that is obtained after cheking the image in the draw fails vi...the pic converted to pixels is all the time displayed.and the pass/fail icon always denotes one pass led on..plz chk the code =((.
    also can u provide me some guide line for using thr hough transform for the red color detection in lab view..i dont have to import the matlab code..i have to purely make it using the lb view libraries.
    also one more request pl rep me regularly as i really need your golden piece of advice for ma success.
    thnx
    Attachments:
    picture to image(BY ME).vi ‏102 KB
    untitled.JPG ‏3 KB

  • About displaying images in web dynpro

    Hi experts,
    I hav a scenario..in which der's one table..whch has links for all images...and afta clickin on a lick..dat image will b displayed on side of it..
    Now..where from dis links wll b comin..hw r images strd in WDABAP...where from i can get da path for dis images...
    I hope u understood ma query...
    Please help me out...
    Thks and Regards,
    Runali.

    Hi Runali,
    If there are large number of images, then you need not upload all the images as MIME object in your component. You can create a context node with a context attribute of type string.
    Place an image UI element in the iview and bind its source property to that string attribute.
    Now when you click on the link in your table, populate that context attribute with the location of the image (url).
    In some of the organizations, images are stored in separate servers and there are webservices which talks to those servers. These webservices return the urls for the images. These urls can be used as above.
    Regards,
    Gaurav

  • Capture a photo or video through my web cam

    Greeting for the day to every one !!
    I am trying to provide a facility in my project that any one capture his photo or video through web cam in their own computer. Is it possible in oracle /d2k ?? if yes please help me regarding this. How can i invoke my web cam through oracle/d2k and capture the photo.
    Any one help me ..
    Avinash Pandey

    You will have to free some space up on your iPhone. Buying more iCloud storage will not increase the capacity of your iPhone. For the most part iCloud storage is for your iOS backups, documents such as iWork files and iCloud email. Aside from iTunes Match and PhotoStreams which do not count towards iCloud storage you can not store media files on iCloud. PhotoStream is not a photo backup service nor does it support video yet, it's intended use is for sharing and transferring photos to other devices.
    Not sure of your setup but chances are you have a lot of video and photos on your iPhone taking up your storage space. These should be copied over to a computer where they can be properly backed up and organize. Once organized you can transfer them back to the iPhone through iTunes. You can sync a smaller number to free space. Or since you have a copy on the computer it is now possible to delete the photos from your iPhone when have the need to make a new video. Settings/General/Usage/Photos & Camera then swipe sideways to reveal the delete button is a quick way to delete photos in the library when you need more space. Ensure you still have a backup on a PC and an external drive.

  • May I receive resolution 640*480 in image LV from WEB-camera

    Hello all
    I have
    LV7.1.1
    I received
    the image from WEB-camera.
    WEB-camera
    has resolution 640*480 but I have resolution in the Image of LV -  320*240.
    May I
    receive resolution 640*480 in LV
    With respect.
    Aleksandr

    Hello,
    I assume you have to change the settings of the camera and not the code in LabVIEW...
    Just in case, see the attached code in LV 7.1.1 that allows to change the image resolution.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    AC_Util_ResampleImage.vi ‏126 KB

  • Set resolution the web camera from Remote Panel.

    Hello all
    I want to control the WEB-camera from Remote Panel
    I created the VI and I must to set the resolution of the WEB-camera (640*480 or 320*240).
    But I couldn’t to set resolution  from Remote Panel.
    What do I do?
    Best regards
    Iskander
    Attachments:
    USB_camera.png ‏15 KB

    Dear John H.
    Thanks for the answer
    I created the VI to observe the image from WEB-camera
    When I run the VI, I must to set the resolution the  WEB-camera.
    When I run the VI on the host computer , I can do this.
    But when I run the VI on Remote Panel, I can’t adjust  the resolution of the  WEB-camera from Remote Panel and the VI are stopped
    What can I do?
    With respect
    Iskander
    Attachments:
    image.png ‏237 KB

  • Need java script to play web cams.

    What can I install that is like java script on my Samsung Galaxy tablet that will allow me to view live web cams?

    Javascript comes by default as part of Firefox. It is likely that the site with the webcam is not set to detect Firefox correctly. We cannot fix the site, contact the site owner and alert them to this problem. This assumes that it is a image based web cam and not an Adobe Flash based webcam.

  • Web cam for mac

    My grand kids have just got an e mac and have set up msn messager to talk to their friends. I thought about buying them isight web cam for them for Xmas but the are expensive. Maybe this is not a good site to ask this question but anyone know of a good alternative which is more affordable?

    The Mac version of MSN Messenger does not support video. Yahoo messenger's software supports video from Macs, and iChat supports video chatting with AIM.

  • Alternate web cam for Mac

    Hi guys, this may be only for Aussies and NZ's.
    I have a imac G5 and was wanting to get a web camera for it. The isight is way too expensive for what it is, and the logitech 400 camera is also in the $140 mark. As I don't really care about the rez and so forth, I don't really want to pay so much money. There used to be a macally one that typically sold for around $50, but I can not seem to get it in Australia any longer.
    Anyone know about any other possible web cams for mac that would be in the no-so-expensive range, and could be in Australia?
    Thanks
    Connor

    Hi Connor --
    Is this what you had in mind: http://www.amazon.com/gp/product/B0001JSSLI/104-4462944-9175107?v=glance&n=17228 2
    If you do decide to get it, or any other USB webcam, then don't forget to also get Ecamm's iChatUSBcam software.
    FWIW, I love the iSight -- I realize it's expensive, but if you use it a lot you learn very quickly to appreciate the superior picture, sound and style.
    Either way, enjoy your cam...
    -- JDee

  • Capture Web Cam image in APEX and Upload into the Database

    Overview
    By using a flash object, you should be able to interface with a usb web cam connected to the client machine. Their are a couple of open source ones that I know about, but the one I chose to go with is by Taboca Labs and is called CamCanvas. This is released under the MIT license, and it is at version 0.2, so not very mature - but in saying that it seems to do the trick. The next part is to upload a snapshot into the database - in this particular implementation, it is achieved by taking a snapshot, and putting that data into the canvas object. This is a new HTML5 element, so I am not certain what the IE support would be like. Once you have the image into the canvas, you can then use the provided function convertToDataURL() to convert the image into a Base64 encoded string, which you can then use to convert into to a BLOB. There is however one problem with the Base64 string - APEX has a limitation of 32k for and item value, so can't be submitted by normal means, and a workaround (AJAX) has to be implemented.
    Part 1. Capturing the Image from the Flash Object into the Canvas element
    Set up the Page
    Required Files
    Download the tarball of the webcam library from: https://github.com/taboca/CamCanvas-API-/tarball/master
    Upload the necessary components to your application. (The flash swf file can be got from one of the samples in the Samples folder. In the root of the tarball, there is actually a swf file, but this seems to be a different file than of what is in the samples - so I just stick with the one from the samples)
    Page Body
    Create a HTML region, and add the following:
        <div class="container">
           <object  id="iembedflash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240">
                <param name="movie" value="#APP_IMAGES#camcanvas.swf" />
                <param name="quality" value="high" />
              <param name="allowScriptAccess" value="always" />
                <embed  allowScriptAccess="always"  id="embedflash" src="#APP_IMAGES#camcanvas.swf" quality="high" width="320" height="240"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" mayscript="true"  />
        </object>
        </div>
    <p><a href="javascript:captureToCanvas()">Capture</a></p>
    <canvas style="border:1px solid yellow"  id="canvas" width="320" height="240"></canvas>That will create the webcam container, and an empty canvas element for the captured image to go into.
    Also, have a hidden unprotected page item to store the Base64 code into - I called mine P2_IMAGE_BASE64
    HTML Header and Body Attribute
    Add the Page HTML Body Attribute as:
    onload="init(320,240)"
    JavaScript
    Add the following in the Function and Global Variable Declarations for the page (mostly taken out of the samples provided)
    //Camera relations functions
    var gCtx = null;
    var gCanvas = null;
    var imageData = null;
    var ii=0;
    var jj=0;
    var c=0;
    function init(ww,hh){
         gCanvas = document.getElementById("canvas");
         var w = ww;
         var h = hh;
         gCanvas.style.width = w + "px";
         gCanvas.style.height = h + "px";
         gCanvas.width = w;
         gCanvas.height = h;
         gCtx = gCanvas.getContext("2d");
         gCtx.clearRect(0, 0, w, h);
         imageData = gCtx.getImageData( 0,0,320,240);
    function passLine(stringPixels) {
         //a = (intVal >> 24) & 0xff;
         var coll = stringPixels.split("-");
         for(var i=0;i<320;i++) {
              var intVal = parseInt(coll);
              r = (intVal >> 16) & 0xff;
              g = (intVal >> 8) & 0xff;
              b = (intVal ) & 0xff;
              imageData.data[c+0]=r;
              imageData.data[c+1]=g;
              imageData.data[c+2]=b;
              imageData.data[c+3]=255;
              c+=4;
         if(c>=320*240*4) {
              c=0;
              gCtx.putImageData(imageData, 0,0);
    function captureToCanvas() {
         flash = document.getElementById("embedflash");
         flash.ccCapture();
         var canvEle = document.getElementById('canvas');
         $s('P2_IMAGE_BASE64', canvEle.toDataURL());//Assumes hidden item name is P2_IMAGE_BASE64
         clob_Submit();//this is a part of part (AJAX submit value to a collection) two
    }In the footer region of the page (which is just a loading image to show whilst the data is being submitted to the collection [hidden by default]) :<img src="#IMAGE_PREFIX#processing3.gif" id="AjaxLoading"
    style="display:none;position:absolute;left:45%;top:45%;padding:10px;border:2px solid black;background:#FFF;" />If you give it a quick test, you should be able to see the webcam feed and capture it into the canvas element by clicking the capture link, in between the two elements - it might through a JS error since the clob_Submit() function does not exist yet.
    *Part 2. Upload the image into the Database*
    As mentioned in the overview, the main limitation is that APEX can't submit values larger than 32k, which I hope the APEX development team will be fixing this limitation in a future release, the workaround isn't really good from a maintainability perspective.
    In the sample applications, there is one that demonstrates saving values to the database that are over 32k, which uses an AJAX technique: see http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html#LARGE.
    *Required Files*
    From the sample application, there is a script you need to upload, and reference in your page. So you can either install the sample application I linked to, or grab the script from the demonstration I have provided - its called apex_save_large.js.
    *Create a New Page*
    Create a page to Post the large value to (I created mine as 1000), and create the following process, with the condition that Request = SAVE. (All this is in the sample application for saving large values).declare
         l_code clob := empty_clob;
    begin
         dbms_lob.createtemporary( l_code, false, dbms_lob.SESSION );
         for i in 1..wwv_flow.g_f01.count loop
              dbms_lob.writeappend(l_code,length(wwv_flow.g_f01(i)),wwv_flow.g_f01(i));
         end loop;
         apex_collection.create_or_truncate_collection(p_collection_name => wc_pkg_globals.g_base64_collection);
         apex_collection.add_member(p_collection_name => wc_pkg_globals.g_base64_collection,p_clob001 => l_code);
         htmldb_application.g_unrecoverable_error := TRUE;
    end;I also created a package for storing the collection name, which is referred to in the process, for the collection name:create or replace
    package
    wc_pkg_globals
    as
    g_base64_collection constant varchar2(40) := 'BASE64_IMAGE';
    end wc_pkg_globals;That is all that needs to be done for page 1000. You don't use this for anything else, *so go back to edit the camera page*.
    *Modify the Function and Global Variable Declarations* (to be able to submit large values.)
    The below again assumes the item that you want to submit has an item name of 'P2_IMAGE_BASE64', the condition of the process on the POST page is request = SAVE, and the post page is page 1000. This has been taken srtaight from the sample application for saving large values.//32K Limit workaround functions
    function clob_Submit(){
              $x_Show('AjaxLoading')
              $a_PostClob('P2_IMAGE_BASE64','SAVE','1000',clob_SubmitReturn);
    function clob_SubmitReturn(){
              if(p.readyState == 4){
                             $x_Hide('AjaxLoading');
                             $x('P2_IMAGE_BASE64').value = '';
              }else{return false;}
    function doSubmit(r){
    $x('P2_IMAGE_BASE64').value = ''
         flowSelectAll();
         document.wwv_flow.p_request.value = r;
         document.wwv_flow.submit();
    }Also, reference the script that the above code makes use of, in the page header<script type="text/javascript" src="#WORKSPACE_IMAGES#apex_save_large.js"></script>Assuming the script is located in workspace images, and not associated to a specific app. Other wise reference #APP_IMAGES#
    *Set up the table to store the images*CREATE TABLE "WC_SNAPSHOT"
    "WC_SNAPSHOT_ID" NUMBER NOT NULL ENABLE,
    "BINARY" BLOB,
    CONSTRAINT "WC_SNAPSHOT_PK" PRIMARY KEY ("WC_SNAPSHOT_ID")
    create sequence seq_wc_snapshot start with 1 increment by 1;
    CREATE OR REPLACE TRIGGER "BI_WC_SNAPSHOT" BEFORE
    INSERT ON WC_SNAPSHOT FOR EACH ROW BEGIN
    SELECT seq_wc_snapshot.nextval INTO :NEW.wc_snapshot_id FROM dual;
    END;
    Then finally, create a page process to save the image:declare
    v_image_input CLOB;
    v_image_output BLOB;
    v_buffer NUMBER := 64;
    v_start_index NUMBER := 1;
    v_raw_temp raw(64);
    begin
    --discard the bit of the string we dont need
    select substr(clob001, instr(clob001, ',')+1, length(clob001)) into v_image_input
    from apex_collections
    where collection_name = wc_pkg_globals.g_base64_collection;
    dbms_lob.createtemporary(v_image_output, true);
    for i in 1..ceil(dbms_lob.getlength(v_image_input)/v_buffer) loop
    v_raw_temp := utl_encode.base64_decode(utl_raw.cast_to_raw(dbms_lob.substr(v_image_input, v_buffer, v_start_index)));
    dbms_lob.writeappend(v_image_output, utl_raw.length(v_raw_temp),v_raw_temp);
    v_start_index := v_start_index + v_buffer;
    end loop;
    insert into WC_SNAPSHOT (binary) values (v_image_output); commit;
    end;Create a save button - add some sort of validation to make sure the hidden item has a value (i.e. image has been captured). Make the above conditional for request = button name so it only runs when you click Save (you probably want to disable this button until the data has been completely submitted to the collection - I haven't done this in the demonstration).
    Voila, you should have now be able to capture the image from a webcam. Take a look at the samples from the CamCanvas API for extra effects if you wanted to do something special.
    And of course, all the above assumed you want a resolution of 320 x 240 for the image.
    Disclaimer: At time of writing, this worked with a logitech something or rather webcam, and is completely untested on IE.
    Check out a demo: http://apex.oracle.com/pls/apex/f?p=trents_demos:webcam_i (my image is a bit blocky, but i think its just my webcam. I've seen others that are much more crisp using this) Also, just be sure to wait for the progress bar to dissappear before clicking Save.
    Feedback welcomed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hmm, maybe for some reason you aren't getting the base64 version of the saved image? Is the collection getting the full base64 string? Seems like its not getting any if its no data found.
    The javascript console is your friend.
    Also, in the example i used an extra page, from what one of the examples on apex packages apps had. But since then, I found this post by Carl: http://carlback.blogspot.com/2008/04/new-stuff-4-over-head-with-clob.html - I would use this technique for submitting the clob, over what I have done - as its less hacky. Just sayin.

  • Tecra M11-17V with Windows 7 - Web Cam image is very grainy

    Hi,
    Yesterday my webcam (built into the laptop) worked perfectly, today it doesn't....
    Whenever I use it now, the image is very grainy, almost like a tartan pattern of criss-crossing lines, but I can still just about make out myself in the background. Movement and sound are still being recorded, just the image is strange.
    Please help! Has anyone else had this happen? Is this something I can fix myself, or is it a hardware problem? I have had this laptop about 3months, from brand new, and this is the first problem I've had...
    Many thanks,
    Dom

    Hi Paolo,
    Thanks for the tips, but I'm afraid my camera is still out of action....
    I've double checked that the protective lens film has been removed, and I've disabled/re-enabled the camera device, updated the camera driver, and completely reinstalled all the camera software to no effect. I've also ruled out conflicting software issues, as the problem persists for both skype calls and the laptop's face recognition software used when logging into my account.
    The frustrating thing is that the fault happened suddenly halfway through a skype call. It was working perfectly on minute, and broken the next (seemingly irreversible.... fingers crossed). I had used skype for a mammoth 3hr call the night before, but I hope that wouldn't have "burnt out" the brand new camera...
    Do you, or anyone else, know if sounds like a physical problem? Are web cam hardware faults common? I have never dropped the laptop, though it does commute with me on the train into work everyday...
    When I first got the laptop, the inbuilt fingerprint scanner didn't work very accurately until I updated the driver software. Is it common for faults to suddenly appear when drivers become "out of date"? Any chance these problems could be related?
    Thanks again for your help,
    Dom

  • Hp TrueVision HD web cam does not work. The light will come on but no image appears in the window.

    Hi.
     I have an HP Pavilion dv7 6178us Entertainment PC I just bought it last week. My operating system is Windows 7 Home Premium Service Pack 1 64 bits.
    The problem I have is that yesterday I install Skype in the computer and realized that the HP TrueVision HD web cam does not work. The light right next to the web cam will light up but no image will appear on the screen.
    I have checked the software that  I have in the computer for the webcam and the program is CyberLink YouCam BE version 3.5.
    But the web cam does not work. The light right next to it will turn on when I activate Cyberlink, Skype or Messenger but no actual image will come out in computer screen. The computer is fully updated BIOS, Windows 7 and HP.
    But the web cam is not working. Could you help me fix this problem?
    Best regards:
    JEIO71

    I have a pavilion dv6 notepad. it's about a year old.
    about a month ago internal webcam truevision hd stop working.
    Called hp tech. they sent a box for me to ship the laptop.
    they hp tech attempted to correct the problem via internet
    did not work.
    wanted me to do a restore to factory setting i stopped him there.
    Webcam detected in device manager.
    the webcam light come on but no image.
    I actually see the back drop through the image space.
    running windows 7, fully updated.
    I found many comments on the web about the webcam connector disconnecting.
    But if it was the case with my computer, the webcam would not be detected.
    Many other comments suggests to do a restore to factory setting but \i read also that
    does not work often.
    I read many comments where disappointed clients believe hp should update
    the software but the driver is actually microsoft dating back to june 2006.
    Is it possible it's  a hardware problem, ie webcam is burned out.
    I have received a box to sent it and know they will do a system restore.
    Don't feel to go that way.
    Many comments refers to hp making an effort to get a driver update.
    ps I decided to purchase a logitech webcam, works perfectly.
    What else can I do to fix this problem.
    Can hp send me another internal webcam.

  • 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.

  • Satellite S70-A-11H web camera image quality is not good

    Hi,
    Running windows 8.1 which came with the laptop.
    New out of the box.
    As per title.
    I find the image quality of the camera image to be very grainy, poor color etc.
    When I start the web camera using the search bar on the right, it starts using the Microsoft application, when you scroll down to settings all that is available under settings/options is Photo aspect ratio, Grid lines, Location info.
    I have been in touch with Toshiba Tech support who advised to do a Laptop refresh, which I did.
    This made no difference.
    After which they asked me to find the Toshiba web camera application on the laptop, this should have been in the Program Files folder in the Toshiba folder.
    This application does not exist on my laptop.
    The tech checked the same model laptop that he had available, which I was told when he selected the web camera, it opened using the Toshiba Web camera application, not Microsoft.
    I have looked at other Toshiba laptops with web cameras, and found the image quality to be better. Unable to get to settings as these laptops were on display and in demo mode, hence locked down to some extent.
    I can't believe that a web camera in this day and age for this value of laptop to have such poor image quality. My digital camera from 10year ago has better image quality.
    I have checked through the laptop, and I do not have this application installed.
    I have checked for updated drivers and software for my laptop, and cannot find this application to be applicable for my laptop. Drivers etc appear to be up to date.
    I would like to know, do other users of this S series have any issue of camera image quality.
    When the camera is selected what application is being used, Toshiba or Microsoft.
    Is Toshiba web camera application applicable to Windows 8.1, as I cannot see it listed for 8.1
    Does this sound like a hardware fault or a application/software issue.
    Any direction or help on this matter would be appreciated, as I am getting to the point of returning this laptop for a refund.
    Thanks in advance.
    D.
    Yes, I have tried using the FORCE!

    > The tech checked the same model laptop that he had available, which I was told when he selected the web camera, it opened using the Toshiba Web camera application, not Microsoft.
    The Toshiba webcam application is available for Win 7 system but the Win 8 and Windows 8.1 system use the own Microsoft webcam application.
    > I have looked at other Toshiba laptops with web cameras, and found the image quality to be better.
    Different Toshiba notebooks are equipped with different webcams.
    Satellite S70-A-11H was equipped with a *0.92 mega pixel webcam*
    A Satellite A660 for example was equipped with an _1.3M mega pixel webcam_
    So there is a difference in webcam resolution

  • Corrupted image in applet from web cam

    Hi there I created a little webcam server application that listens to port 8080 for requests, then displays an image. The image is jpeg encoded frame grabbed from a logitech web cam using the java media framework. I got the code from this forum.
    I have tried it across a 56kb modem on four different computers. On three the applet displays the images without problems. On the fourth the image is corrupted like it didn't receive all the data.
    Anyone have any idea why this occurs in one and not the others
    Here's some of the source
    The applet just uses getImage( http://[host]:8080 )
    and media tracker with a thread sleeping for a second
    public class WebCamServer extends JFrame
         // class variables
         private HttpServer webserver;
         private int port = 80;
         private ServerSocket server;
         private ImageIcon gfr;
         private Color backcolour = new Color( 255, 255, 255 );     
         private Player player = null;
         private MediaLocator ml = null;
         private JPanel campanel = null;
         public boolean active = false;
         public Buffer buf = null;
         public VideoFormat vf = null;
         public BufferToImage btoi = null;
         public Image img = null;
    public WebCamServer()
              // initialise Frame with this heading and font
              super( "eyespyfx - Web Cam Server" );
              setFont( new Font( "Verdana", Font.PLAIN, 12 ) );
              // initialise web server
              startServer();
              // set up ServerSocket to listen for requests on port 8080
              try
                   server = new ServerSocket( 8080 );
              catch( IOException e )
                   System.err.println( "Server Socket Error" );
                   System.err.println( e.getMessage() );
                   shutdown();
              // set frame icon to gfr.gif
              gfr = new ImageIcon( "gfr.gif" );
              this.setIconImage( gfr.getImage() );
              // get content pane set a layout
              java.awt.Container c = getContentPane();
              c.setLayout( new BorderLayout( 0, 0 ) );
              // create panel to hold web cam image
              campanel = new JPanel();
              campanel.setLayout( new BorderLayout( 0, 0 ) );
              campanel.setPreferredSize( new Dimension( 320, 240 ) );
              // locate web cam from JMF Registry
              ml = new MediaLocator( "vfw://0" );
              // set lightweight renderer for improved framerate
              Manager.setHint( Manager.LIGHTWEIGHT_RENDERER, new Boolean(true) );
              try
                   // create realized video player
                   player = Manager.createRealizedPlayer( ml );
                   //start player
                   player.start();
                   Component comp;
                   // display the visual component
                   if ( ( comp = player.getVisualComponent() ) != null )
                        campanel.add( comp, BorderLayout.CENTER );
              catch (Exception e)
                   System.err.println( "Exception in creating or displaying player" );
                   System.err.println( e.getMessage() );
              // add campanle to the frame
              c.add( campanel, BorderLayout.CENTER );
              // size & colour of frame
              c.setBackground( backcolour );
              setBounds( 0, 0, 0, 0 );
              setResizable( false );
              setSize( 350, 250 );
              show();
              // active set to true - means software is listening for image requests
              active = true;
         // Thread listener for image requests
         public void execute()
              // while active is true          
              while ( active )
                   try
                        // client connects
                        ClientApplet newclient = new ClientApplet( server.accept(), this );
                        // Grab a frame
                        FrameGrabbingControl fgc = (FrameGrabbingControl) player.getControl("javax.media.control.FrameGrabbingControl");
                        buf = fgc.grabFrame();
                        // Convert it to an image
                        btoi = new BufferToImage((VideoFormat)buf.getFormat());
                        img = btoi.createImage(buf);
                        // set client thread with image
                        newclient.setImage( img );
                        // start the client thread
                        newclient.start();
                   catch( IOException e )
                        e.printStackTrace();
                        System.exit( 1 );
    // ClientApplet class to manage each Client Applet as a thread
    class ClientApplet extends Thread
         // class variables
         private Socket connection;
         private PrintWriter out;
         private BufferedReader in;
         private WebCamServer control;
         protected boolean threadSuspended = true;
         public Image img;
         // constructor creates a socket on port 8080
         public ClientApplet( Socket s, WebCamServer t )
              connection = s;          
              control = t;
         // grabbed frame set as output image
         public void setImage( Image img )
              this.img = img;
    public void run()
              // image is buffered to create a 2D graphics object               
              BufferedImage bi = new BufferedImage(240, 180, BufferedImage.TYPE_INT_RGB);
              Graphics2D g2 = bi.createGraphics();
              g2.drawImage(img, null, null);
              OutputStream out = null;
              // create an output stream to the socket
              try
                   out = connection.getOutputStream();
              catch ( IOException io)
                   System.out.println("Error getting socket output stream");
                   System.err.println( io.getMessage() );
              // create jpeg encoder on output stream
              // set the image as a parameter
              JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
              JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
              param.setQuality(0.25f,false);
              encoder.setJPEGEncodeParam(param);
              // encode the image through the output stream
              // close IO connections
              try
                   encoder.encode(bi);
                   out.close();
                   connection.close();
              catch ( IOException ioe )
                   System.out.println("JPGE IO exception");
                   System.err.println( ioe.getMessage() );
              // end of thread image is served to webpage or applet
    }

    Hi,
    I don't know how to solve this problem,
    but I want to ask you how you managed to get
    FrameGrabbingControl which is not null.
    I use Logitech QickCam and everytime when I try to get a FrameGrabbingControl from the Player it returns me null?
    Can you help me?
    have you any ideas why I get null?
    WebCamLocator - is OK. If I can use it to record a video clip. But I can't take a single frame..
    Manager.setHint( Manager.LIGHTWEIGHT_RENDERER, new Boolean(true) );
    Player WebCamPlayer = Manager.createRealizedPlayer(WebCamLocator);
    WebCamPlayer.start();
    FrameGrabbingControl fgc = (FrameGrabbingControl)WebCamPlayer.getControl("javax.media.control.GrabbingControl");
    Buffer buf = fgc.grabFrame();

Maybe you are looking for

  • How do i stop ipad from joining other wifi networks

    My ipad keeps joining my neighbors unlocked guest wifi network. How can i prevent this from happening. Ipad3 with ios6. 

  • -50 "unknown error" when downloading?

    I'm running iTunes 10.6.1 (7). I have a season pass to download all new episodes of Mad Men, but today when trying to download the latest episode, I watch iTunes try for a few seconds to initiate the download (progress goes from 0K of 2GB to 180KB of

  • EC-CS - Problem with rollup in consolidation

    Hello SAP Guru, We have a manufacturing client who went live last month with a technical upgrade from 4.6C to ECC 6.  We use EC-CS and are in the middle of completing our first month-end process.  We encountered a problem during profit centers rollup

  • IFS-21030 Database Operation time out

    Hi everyone, I really need help with this one. I try to search for a folder with a certain value for a custom attribute. It ALWAYS takes a very long time, but some times it returns successfully and sometimes it gives me a "Database Operation timed ou

  • No space used by DPM shadow copy volume

    Hi, Please help me to understand more DPM shadow copies. Actually when exactly the shadow copies are getting created? Whether it is during synchronization backup or express full back up or both?  Please see the below snap. It is disk utilization repo