How to detect the red frame in a series of images using the webcam?

Hey, I'm a new use lab view(8.2_n_8.6).kindly ca any1 help out me in the detection of the color red in a series of frames being taken by a usb web cam.i have done the striking thing but don't know what to do now.plz help out me. Basically, I have to do the following:

(1) the camera continually does video

(2) at the time of what a red or red frame color comes through the camera, the camera is programmed, such that she will grab this red box. and display the captured image

Please hep me out.i need serious help.

I enclose a vi that is striking images and then the info n thn displyaing color red xtracting his lines intensities and wise coumn on a graph.here, I used a Gaussian surface to locate the color red.


Tags: NI Software

Similar Questions

  • How to detect the webcam feed without receiving those

    Hello!
    I am looking for a way to know when the user (everything in the room/group) begins to make look her webcam and stopped.
    I tried to add the listener to StreamManager

                protected function cameraview_initializeHandler(event:FlexEvent):void{
                    this._connectionSession.streamManager.addEventListener(StreamEvent.STREAM_RECEIVE, this.streamReceivedHandler);
                }
                protected function streamReceivedHandler(event:StreamEvent):void{
                   trace('stream received', event.name, event.streamDescriptor.groupName, event.streamDescriptor.streamPublisherID);
                }
    

    And STREAM_RECEIVE called when another user starts to appear, but the event a groupName = null and streamPublisherID is NULL too.
    I need it to give the possibility to choose the flows required to play and more low bandwidth.
    I tried to use WebcamSubsriber too, but it begins to show the right to water courses when it is received.
    What did I miss?

    You can do something wrong. You can send me a code test and where you found null so that I can run on my sides and point of any error or debug inside.

    Thank you

    Hironmay Basu

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

  • How to detect the sign of a number?

    I output which gives the number of negative or positive. My problem is how to detect the sign of the Boolean number and output? For example if the input number is negative as - 23.11 I want to output the value false and if the number is positive as 17.99 I want to output true.

    T H A N K S!

    Test if the number is greater than or equal zero.

  • How to detect the key ALT pressed in os7

    Hai,

    How to detect the key ALT pressed in Os7...

    Can I use the source for os 7 as below? ,

    protected boolean keyStatus (int keycode final, time final int) {}

    If (Keypad.key (keycode) == Keypad.KEY_ALT) {}

    ...

    Returns true;

    } else

    Return super.keyStatus (keycode, time);

    }

    and also I want to know which is the return of this method? In detail
    How to detect the other touches also?
    What are the updations or changes in the code, on os6 os7?

    KeyCode is a bit model, if you use "is" to compare you won't get accurate results, you should use the operator '& '.

    See
    http://supportforums.BlackBerry.com/T5/Java-development/detect-ALT-and-shift-key-clicks/Ta-p/444976

  • How to detect the number of created quickobjects

    How to detect the number of quickobjects created? quickobject are quickbox2d.

    Basically, I have a timer that will countdown to 4 seconds and it will create a falling ball, it will get removed when she falls down. However, I want only there so that if more than 5 bullets are in step, it will cease to create until it is less than 5 to start creating some balls again. Is there a way I can do?

    It's the timer to create the ball

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (TimerEvent.TIMER, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

    check the length of _balls_array.  If it is greater than 5, do not create another bullet:

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (IMER TimerEvent.T, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    If (_balls_array.length<>

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

  • How to detect the color pages in a PDF file?

    I use a plug-in of Acrobat C++ read/modify a PDF file.

    I need to get the total number of pages in the PDF file and the page numbers of the pages in color.

    So far, I was able to get the total number of pages using PDDocGetNumPages() with no problems.

    However, I can't find an API that lets me know if a particular page is color or not. Is there a way to do this?

    Thanks in advance!

    But what happens if there are RGB data which means black or grey (R == G == B), that means black or RGB?

    There is a code sample in the SDK to browse content in the PDF file, and then you can get the color space and color of each object.

    But you really need to do background research on the colors & spaces to achieve this properly.

    From: Sachintha81 [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Wednesday, February 8, 2012 16:57:10-0800

    To: Leonard Rosenthol [email protected]<>[email protected]>

    Topic: How to detect the color pages in a PDF file?

    Re: How to detect the color pages in a PDF file?

    created by Sachintha81http://forums.adobe.com/people/Sachintha81> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/4194889#4194889

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • How to disable the webcam on my laptop Satellite?

    Hi friends

    Experts here can tell me how to disable the webcam (do not let the cam don't turn for PRS their shown to me).

    You guys thank you very much!

    Your question is quite confusing.
    We don t know how to use the webcam.

    If you use the webcam with a specific application, then you need to check all the video options here.

    Be more specific with your problem.

  • How to get the webcam to work?

    Hello

    As I don't have a book of instruction for this computer, can someone tell me how to get the webcam to work please?
    It is supposed to be something that appears on the side of the screen, but I left the sit of mouse here for centuries on all sides and nothing. Please help me.

    Kit_e

    Hello

    I agree with the user above. The user manual you can find on your computer because it s preinstalled.

    The webcam, you can use with programs like Skype communication. You can make a video call with friends and they see the webcam image. ;)

  • How to find the webcam on my hp g56122us note windows 7

    How to find the webcam on my computer vision g56122us hp laptop? I can't get my webcam so I can make a video or take a picture. I have no idea how to do so that he could appear on my screen

    Hello

    Please use it to check & difficulty:

      http://support.HP.com/us-en/document/c02452221     

    Links for XP & Vista are here also.

    Good luck.

  • I can see the webcam on my Dell Latitude D630 laptop, but cannot make it work on Skype... This isn't seeit. How to activate the webcam to use?

    I can see the webcam on my Dell Latitude D630 laptop, but cannot make it work on Skype... This isn't seeit. How to activate the webcam to use?

    Hello markward4905

    You should be able to download the drivers from the website of the manufacturer of your web cam.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer:www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • How to detect the direction of the mouse and change of scenery?

    Hello

    I'm building a single 360 degree rotation effect using individual images and buttons front and back . I am new to AS3 and have managed to create functioning buttons... (so my code can be a little weird!)

    But now, I would also like to advance frames by clicking and dragging on the image itself (or on an invisible button sitting on top of the image).

    Although there are some threads here that have asked the same thing, I don't understand how they were answered. My code is below, and the file with that I'm practicing is located on:

    https://download.yousendit.com/MVNjeFlWSWh6NE4zZUE9PQ

    Currently if you click on the area of the image, it will move forward, but there is no code to detect the direction of the mouse, he'll just before. Can someone help me understand how to set up a simple direction detection and then use it to decide whether to move forward or backward... Thank you!!

    Stop();

    move forward 1 frame on click

    function forward(e:MouseEvent):void {}

    If (currentFrame == 15) {}

    gotoAndStop (1);

    { } else {}

    gotoAndStop (currentFrame + 1);

    }

    }

    go back 1 frame during the click on

    function back(e:MouseEvent):void {}

    If (currentFrame == 1) {}

    gotoAndStop (15);

    { } else {}

    Stop (currentFrame - 1);

    }

    }

    btn_fwd.addEventListener (MouseEvent.CLICK, forward);

    btn_bck.addEventListener (MouseEvent.CLICK, return);

    change frame on direction of mouse?

    function MouseMove(event:MouseEvent):void {}

    {

    if(event.buttonDown==true)

    If (currentFrame == 15) { }

    gotoAndStop (1);

    }else{

    gotoAndStop(currentFrame + 1);

    }

    }

    }


    stage_btn.addEventListener (MouseEvent.MOUSE_MOVE, MouseMove);

    Here's an almost identical thread, I answered: http://forums.adobe.com/thread/570903?tstart=0

  • How to detect the resource (find) information?

    Hi all

    I'm trying to detect programmatically information resource name for devices HSDIO PXI and PXI-4130.   How can I do?    System DAQmx property does not include these devices, and I can't find a way to convert a resource VISA name in name of resource HSDIO or NI DC PS formats.  I enclose a code snippet that detects resource VISA for a device 6552 name, but I can't seem to figure out how to get the name of MAX the device resource.   Both the niHsdio and the properties of 'name of the resource' OR DcPS requires that you spend a session valid in them need valid resource name andI to make...

    And no, asking the operator to launch of MAX and find the name of the resource is not an option

    Thank you

    Hello

    Modular instruments and devices devices use their own set of screws to find devices in the system. The lybrary called NOR-ModInst and i's includedin the palette of the utility with the MID drivers.

    Here is a small example that demonstrates the use of their base.

    Let me know there are questions of the amy

    Kind regards

    JC

  • How to detect the event mouseclick-control

    I am trying to relax the max property Z on the scale of a graph of intensity to be changed from the front panel.  In the VI attached, I use an increment/decrement control and just detect a value change event (without taking into account the value of the control).  It works very well, even if it's a bit of a hack.

    I want to make them much more functional.  My main question is this: How can I detect an event 'control-click '?  I intend to use this event to change the max of graphic intensity by a factor rather than an additive value.

    A second quick question: on the numerical control, is there a way I can get rid of the number in the display space and leave only the increment/decrement buttons?

    Thank you

    Allan

    Are you talking about the button increase/decrease on a digital control?  I thought you had Boolean separate to increment and decrement. It's hard.  You can't be the PlatMods when using a value change event.  You will maybe make your own controls inc/dec and update a digital indicator rather than use a digital command.

Maybe you are looking for