Track of the position of a specific color using the webcam

Hey guys, I'm desperately need assistance. I am extremely new vision LabView module and have found dealing with the last part of my main project. I am using a Microsoft lifecam to follow a green circle that is attached to an object. My goal is to be able to press a button (Boolean) and freeze an image, this image for only a certain color output of the filter and highlight the shape. And then once the image has been frozen, store a bitmap and overlay on a video stream in real time to try to recreate the position. Seems fairly complex and I know that I am deeply in above my head, but what I really need is a video output real time, then the output position of when an object there. I search for long on different methods people have used and not found much that applies to what I'm trying, probably because of my lack of experience with the program. I joined my current vi and a picture of what looks like the filter. Thanks a lot for your help in advance!

See the attached example.  I just used the particle analysis stage to find the position of the colored object, then superimposed an oval in the same position on the live stream.  I hope that this will put you on the right track.

Tags: NI Software

Similar Questions

  • Use video limiter first to meet the specifications of broadcast specific "color difference".

    Hello

    I received form specific color of broadcast and I'm not clear on how the units of translate video limiter of the Prime Minister. For my current project, I was asked to keep the difference of color component as follows:

    Positive max: 350 mV

    MV Black 0.0

    Negative Max:-350 mV

    How these numbers translate into first video limiter saturation % Min/Max settings? Smaller secondary question - how translate in scope Lumetri YUV Parade IRE units?

    Thanks for your time

    What they do they mean?

    UH... with a degree of difficulty? I never saw a "specific list" of what the numbers in the video limiter translate, so no help with that.

    shooternz or SAFEHARBOR11 might have some thoughts here and perhaps RameezKhan could help tech... but for that kind of specific thing, running ScopeBox on another installation of the monitor is that most colorists do to check this kind of thing. It is designed to give you good numbers of techniques & such.

    Neil

  • Get the GPS Position in a specific interval

    Hi BB-Devs,

    I m developing a BB10 application where I use the GPS location Services.

    I need to update my current position in a specific interval.

    First of all:

    In the corrugation Simulator, everything works fine. My position will be refreshed every x seconds.

    Yesterday, I deployed my application with debugging token to my Z10.

    It seems the app works.     BUT:

    When I change my position, the new position will not be updated as in the Simulator :-(

    In my console log, I see that my function is called every x seconds.

    Here is a code snippet of the function that is called in the intervall:

    function setAktPosition() {
        //First test to see that the browser supports the Geolocation API
           if (navigator.geolocation !== null)
           {
              var options;
              navigator.geolocation.getCurrentPosition(setAktPositionSuccess, setAktPositionError, options);
           }
           else {
              alert("HTML5 geolocation is not supported.");
           }
    }
    
    function setAktPositionError(error)
    {
       alert("An unexpected error occurred [" + error.code + "]: " + error.message);
    }
    
    function setAktPositionSuccess(position)
    {
       //Extract information about the users current position:
       var time = position.timestamp;
       var coordinates = position.coords;
    
       //Retrieve geographic information about the GPS fix:
       ap.valueLat = coordinates.latitude;
       ap.valueLon = coordinates.longitude;
       ap.valueAlt = coordinates.altitude;
       ap.valueSpeed = coordinates.speed;
       //var acc = coordinates.accuracy;
       //var altAcc = coordinates.altitudeAccuracy;
       //var head = coordinates.heading;
       refreshMap();
    }
    

    That's how I got to call this function in a specific interval:

    aktiv = window.setInterval("setAktPosition()", intervallInSec);
    

    However - the works of the intervall-function-call - but my application still get the top position - no update of position when changing my situation :-(

    Corsica, I did this in my config.xml file:

    
       access_location_services
    
    

    My application has requested when starting fist approvals of the location. I also checked this in the settings of the device of my Z10.

    Are there problems with the GPS location services in the webworks for BB10?

    Or is it not possible to achieve?

    I will be happy if anyone has any advice for me :-)

    Thank you very much!

    Lars.

    Try changing the options to activate enableHighAccuracy

    https://developer.BlackBerry.com/HTML5/APIs/positionoptions.html

  • Specific color object will not come to the front.

    I created a logo in Illustrator and saved as an AI. When placed in an inDesign document, one of the objects in the logo goes to the rear and refuses to come to the front. If I copy and paste the logo from Illustrator into Indesign is the same question. If I use a different color for the object in the logo and brings him to the then it works, but if I try to change the color to what I want in inDesign it automatically sends to the back and refuses to manifest. If I recreate the Logo in inDesign and use specific color, I need, it sends the object to the back. In addition, there, it's not transparent or blending modes applied to all the.

    I'm puzzled!

    Screenshots?

    If the file is set to overprint?

  • Losing track of the motion Tracker

    Hello

    I am new to AE and just running a few simple tests with the motion tracker.  I use in all sorts of trouble on something, I think should not be that big of a deal.

    Here's an example - I tried the simple black dots or multiple on a well-lit hand.  Regarless of tracker settings, the number of track points, or the size of the tracker it ALWAYS loses quite significant track (see image below).

    tracker test.jpg

    What I am doing wrong?

    Much appreciated!

    I don't know what your action items. I followed the hands before and it takes about a quarter of an inch in a point or a triangle for a track. There are simply not enough of contrast on the stroke of the AE to find something to follow. Here's what I did with the position, rotation, scale. It should work as long as the fingers remain open. Note the size of the area of caterpillars and the details involved.

    These little black dots are all just too small. You need about 200 to 400 pixels of detail to get a good lead. Your points are only about 12 pixels. It's too small of a sample in order to get an average. Here's the view at the pixel level.

    Imagine how this single dark pixel in the middle of the shooting will dance when the needle moves. Here's the same shot moved pixel of only 1/2.

    You can see how the data is different. There is no way that a tracker, a tracker, could hold a specific sample on such a lens changing.

  • Specific color blur

    Is it possible to jam a range of specific colors at first?  Curved and three way color corrector RGB have an option of color correction secondary where you can dial in your color range you want to select, which is great!

    But is it possible to do the same thing with a blur? I want to choose a certain range of colors, skin tones in my case - and just blur that extend.  You probably already figured out why, but I have to do, is soften skin that is a little rough and I like to keep the project out of AE if possible.

    Well, you're already on the right track...

    V1: Your original video clip

    V2: Another copy of the clip + matte key Track Matte Luma and Video set 3 + blur of your choice

    V3: A third copy of the clip + CC effect of your choice with CC secondary isolate color/saturation you want to blur and mask the output value

    See where I'm going with this?

  • Script that allows you to select a specific color coded layer?

    Hi guys, is anyone know how to find a layer in the layers palette using its color code?

    I did this action for Photoshop for stacking of layers on top of each other, basically, it aligns one

    layer to another, regardless of their position and their size. Here's a demo, how it works: http://vimeo.com/13713886

    Action research the target layer through its specific name, using a script simple .jsx. In this way, the order of the layers in your document is not serious. However I don't want to rely on the layer or appoint action and thought that it can find the layer via color coding

    http://www.vertexbee.com/pics/adobeForum01.jpg

    I would be really happy if someone can write a script that will search through all the layers in the layers palette and select the color coded one.

    Thank you.

    Sorry about that, it won't work in CS2, if you don't have games of layers it should work...

    var doc = activeDocument;
    for(var a = 0; a		   
  • Message error "WMP cannot extract one or more tracks from the cd."

    I am running Windows 7 64-bit version of Windows media player 12, Firefox version 28.I changes the format in Windows media player

    WMA (Windows Media auto) for Mp3.When, I insert the cd (tried various) tracks appear in the library, and when I select RIP

    It goes through the process of the extraction of each track. When I try to drag in sync payne, I get a red circle with a red line in the Center

    and and are not deposited in the payne. The error message is THAT WMP is unable to extract one or more tracks from the cd. I tried the convenience store of wmp and

    other suggestions to other positions, but without success. Can you help me?

    Kind regards.

    Terence,

    I only see the answer from here-

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/unable-to-rip-audio-CD-using-the-media-player/93c279f7-89ae-4a7c-B7EA-fdc7785ed335

    Let us know if you need help.

  • How to change a different color-specific colors in Illustrator javescript

    Hello

    How to change a different color-specific colors in Illustrator javescript

    Of (Scolor specific)

    C:85

    Y:50

    M:0

    K:0


    To (wasnother color)

    C:50

    Y:100

    M:0

    K:0

    Screen Shot 2016-02-13 at 6.41.04 PM.png


    I'm sure of if statement in the code change could be cleaned.

    but this should work for you.

    function reColorSelection(){  
    
        var col = new CMYKColor;
        col.cyan = 50;
        col.magenta = 100;
        col.yellow = 0;
        col.black = 0; 
    
        var oldCol = [];
        oldCol.C = 85;
        oldCol.M = 50;
        oldCol.Y = 0;
        oldCol.K = 0;
        oldCol.tolerance = 1;
    
        var sel = app.activeDocument.selection;
        for(var i=0; i < sel.length; i++){
            if(sel[i].typename === "CompoundPathItem"){
                for(var j=0; j< sel[i].pathItems.length; j++){
                    modify(sel[i].pathItems[j]);
                }
            }
            modify(sel[i]);
        }  
    
        function modify(obj){
            if(obj.fillColor.cyan >= (oldCol.C-(oldCol.tolerance/2)) && obj.fillColor.cyan < (oldCol.C+(oldCol.tolerance/2))
                && obj.fillColor.magenta >= (oldCol.M-(oldCol.tolerance/2)) && obj.fillColor.magenta < (oldCol.M+(oldCol.tolerance/2))
                && obj.fillColor.yellow >= (oldCol.Y-(oldCol.tolerance/2)) && obj.fillColor.yellow < (oldCol.Y+(oldCol.tolerance/2))
                && obj.fillColor.black >= (oldCol.K-(oldCol.tolerance/2)) && obj.fillColor.black < (oldCol.K+(oldCol.tolerance/2))){
                    obj.filled = true;
                    obj.fillColor = col;
            }
        }
    }
    reColorSelection();
    
  • How can I synchronize a new track to the audio spectrum, effects and audio amplitude logo

    Hello!

    How do I paid recently a graphic designer to create a sound model for my music on youtube channel, but the problem is that I do not know how to synchronize a new track to the audio spectrum, the effects and the logo of the audio amplitude (pumps logo to the sound of the track that he gave me in the layout) but I would like to synchronize it instead of a new track at all. [Please help:]

    Click on the tab "LOGO of MOUNTAIN" or double-click the color icon in the Panel layer to open the publication.

    Import the audio file in the project Panel.

    Click on the new audio file in the project Panel to highlight.

    Click on the 'old' audio file in the Panel layer to select it.  (they are both put in evidence now)

    Now, hold down the 'Alt' key and then drag the new audio file of the project on the old audio layer panel in the layer panel.

    Doing it this way will automatically do all necessary connections to the old file to the new file.

    Or... you could just drag the the new audio tracj in the Panel layer compositions 'sound '.

    Select the solid layer that has the applied Audio Spectrum effect.

    Then in the Audio Spectrum effect setting pane, find the list at the top of "Audio Layer" drop-down list, click the menu drop-down and select the new audio layer.

  • Is there a quick way to change a specific color in an image without masking or select an object?

    Is there a quick way to change a specific color in an image?  I mean, for example, slecting an object in the image and change the color of the object which may involve masking, etc..  What I want is a quick way to change the bokeh or part of the bokeh from an image to a nicer color.  Maybe something like help of the color picker to choose a specific color in the image and to be able to change all the colors with this exact value (hexadecimal number)?  Not sure if I explained it very well.  But I'm looking for something more specific while playing with the color sliders - I want to be able to choose the exact color for areas of interest of my image.

    The description you give is something that Photoshop does, but Lightroom does not.

    You can use Lightroom to brush an area to have some white balance, but this seems different from what you are trying to do (and it is not "fast" anyway)

  • How can I find when we use a specific color?

    I have a document that shows that three distinct colors are used: black, 541U of Pantone and Pantone 7544 M.  Using the separations preview, I can see (and disable) black and Pantone 541U, so I don't know what elements are using these colors.  No matter what I do, I can't see, or find item that uses the M-7544.

    I tried to use the "Delete unused" action script, and the color remains, so there must be SOMETHING to use it on the page, but I can't find it, can't select.  There is only one work plan and a single layer, so it is not on a hidden layer.

    Is there a command in Illustrator CS6 (Windows version) where I can select all objects used by a specific color, so that I can delete these objects?  If not, how can I get rid of this color?  I need to get rid of it before sending it to our platemaker, otherwise the platemaker will show that the plate automatically, wasting money.

    Claire,

    How about creating two objects and apply the M 7544 as line color one and fill color to the other, and then have each group selected, then select > same > stroke color / Select > same > fill color?

    Which should display all objects using whatever it is, so you can remove the or whataver you decide to do with them.

  • Is it possible to limit an image to 256 specific color?

    I've been at this for hours with no luck, so maybe someone here can help me out...

    What I try to do is to open the image and change the color mode so that it will limit the colors in the image for specific colors I selected (and edit existing colors in the image for closest matches you in the colors that I've specified). The closest solution to you, I have found is by selecting the colors indexed, choose a custom Palette and entering the hex values for the colors, I want to be used in the image. The problem is that the indexed color option limited to 256 colors and the color scheme, that I need to access includes 454 specific colors. Is there an option that gives me the same result as indexed color, but allows me to specify more than 256 colors?

    Any help with this would be greatly appreciated.

    You can use trace Illustrator.

    Illustrator:

    "To control the colors in a trace.

    Create a swatch library that contains the colors you want to use in the follow-up. (See to create libraries of nuances).

    Make sure that the Swatch Library is open, and then click the tracing Options dialog button in the control palette. Otherwise, choose the command object > trace > tracing Options.

    Select the swatch library name from the Palette menu, and then click Trace. »

    I don't think that the number of samples is limited to 256. for example the Pantone Coated (maybe an older version)

    contains samples of 1142. That said, the vectorization can handle so many shades must be tested.

    By the way: the number of plates spot is limited (28, or more)

    An application:

    http://docs-Hoffmann.de/casamunsell24062012.PDF

    Cordially - Gernot Hoffmann

  • How can I add more than 2 audio tracks on the same blade?

    Well, I'm just trying to include more than 2 audio tracks on the timeline. The audio tracks to be included in the project are around 10, but whenever I simply drag and drop a new track on this specific slide, which already has 2 (1 said track 1 (music video) and the other just track 3) I get a message asking me if I want to change the audio for this slide. Help!

    Hello

    Any individual slide can have only one "track". This is normally where will the audio narration. But if you want more than one audio clip to play, you can get there by inserting an object such as a box to highlight, configure it as basically invisible by setting alpha good value and cerebrovascular accident. Then by adding audio to the highlight box.

    Add a second box to highlight if you want a third clip to play. Repeat if necessary.

    See you soon... Rick

  • Action to change specific colors

    I am creating an action to change two specific colors in the files of different logos of ~ 300 (.ai and .eps). I just Photoshop so I guess that there is a way to create a droplet of an Illustrator Action, but that is a different issue.

    The colours are Pantone 143 and 287 that have to be changed to 143 you and 287 U, respectively.

    Here are the steps that I think I need to save for my action:

    • Unlock all layers
    • Add new colors to the Board of swatch
    • Select all layers
    • Recolor art... (Edition-> Edit colors-> redefine colors work... This step is not recorded?)
    • Save file

    The problem is that the step to redefine is not saved. Can someone explain what I should do to create this action correctly?

    JavaScript is the answer. I found this somewhere a little while back. This script changes Pantone 133 to 101. It can be modified to apply to all other Spot colors.

    This script requires that the new color and old color exist in your Swatches palette before running it.

    #target illustrator
    
    var docRef = app.activeDocument;
    with (docRef) {
              var replaceColor = swatches.getByName('PANTONE 101 C').color;
              for (var i = 0; i < pathItems.length; i++) {
              with (pathItems[i]) {
                        if (filled == true && fillColor instanceof SpotColor) {
                                  if (fillColor.spot.name == 'PANTONE 133 C') fillColor = replaceColor;
                        }
                        if (stroked == true && strokeColor instanceof SpotColor) {
                                  if (strokeColor.spot.name == 'PANTONE 133 C') strokeColor = replaceColor;
                                  }
                        }
              }
    
              for (var j = 0; j < stories.length; j++) {
                        with (stories[j]) {
                                  for (var k = 0; k < characters.length; k++) {
                                            with (characters[k].characterAttributes) {
                                                      if (fillColor instanceof SpotColor) {
                                                                if (fillColor.spot.name == 'PANTONE 133 C') fillColor = replaceColor;
                                                      }
                                                      if (strokeColor instanceof SpotColor) {
                                                                if (strokeColor.spot.name == 'PANTONE 133 C') strokeColor = replaceColor;
                                                      }
                                            }
                                  }
                        }
              }
    }
    

    More answers can be found here, like how to unlock everything.

    http://forums.Adobe.com/community/Illustrator/illustrator_scripting?view=discussions

Maybe you are looking for