ActionScript 3.0 :: Background Subtraction With A Webcam

Aug 24, 2008

I am working on background subtraction with a webcam. I have an event listener for a mouse event which takes a snapshot from the webcam, then I draw the difference between what the webcam sees (video) and the still image that has been taken by the webcam on a mouse click. I want the webcam to take a picture of an empty room and then to show a silhouette of whoever walks into the room after that, but I am having trouble getting just a plain silhouette (the webcam remains in the same position as when the mouse is clicked). I have tried thresholding, but with that method I am getting detail inside the silhouette.

If anyone could just give me a plain english explanation of how the threshold object works, in particular the 'mask' parameter, that would be a huge help and also the 'draw' function, as I think that is where the key may lie!!

View 1 Replies


Similar Posts:


Flex :: Webcam Background Blur Effect?

Nov 9, 2010

I've seen this effect before, where everything is blurred except the front most object in the shot. it was possibly a flash or flex effect which worked in realtime with video and snapshots. can anybody shed some light as to what this effect was called or point to some resources?

View 2 Replies

Actionscript 3.0 :: Remove A Background Color From Webcam?

Oct 20, 2010

how remove a background color from web cam in as3?

I need to do chroma key with a web-cam in browser !

View 1 Replies

ActionScript 3.0 :: Augmented Reality - Make Background A Webcam View?

May 31, 2011

i'm trying to make an augmented reality game..my game will be composed of a main menu..and in the main menu you can either choose to start a new game,option,and exit button, what will i do to make my background a webcam view when i click the new game button??

View 2 Replies

Javascript :: Fastest Way To Do A Collection Subtraction?

Mar 8, 2010

I have two Sets. Set b is the subset of Set a. they're both very huge Sets. I want to subtract b from a , what's the best practice to do this common operation? I've written to many codes like this , and I don't think it's efficient.

[Code]...

View 7 Replies

ActionScript 2.0 :: Subtract A Value From Given Height - Ignored Subtraction

Oct 6, 2005

i'm trying to subtract a very small value from given height.

myMC._height -= .05;

it just doesn't subtract anything. so is flash ignoring to subtract it, possibly because i've too much in my flash file? then again, this works: myMC._height -= .20;

View 3 Replies

ActionScript 3.0 :: Get An Editable Datagrid To Teach Subtraction?

Aug 21, 2009

I need an editable datagrid to teach subtraction. I tried

aDg.setStyle("alternatingRowColors", ["0xF0F0F0", "0xFFFFFF"]);

View 2 Replies

Actionscript 3 :: MX:DividedBox Dynamic Panels Addition And Subtraction

Feb 16, 2012

I have a divided box that has 3 panels in it... when a certain tab in tab navigator is clicked, then the sidebar with the three panels changed. One tab might show one Panel, another tab might show two of the panels and so on.

I can turn panels invisible and hide the dividers and ever almost positions the panels right, but the dividers still exists so it's not as dynamic as I would like.

Is their an easier way to add and remove panels from the Divided box that won't take as much manual configuration and hacking to make look right?

The problem is once I hide a panel the divider still exists.

View 2 Replies

ActionScript 3.0 :: Generating Subtraction Equations That Only Return Positive Values?

Jan 21, 2010

create a random subtraction equation where the result will always be positive? For example, my current scripting will return something lilke 3-6=-3. I don't want equations like this- only postive answers

//random numbers//1.function randomNumbers(min:Number,max:Number)   var Results:Number=Math.floor(Math.random()*max)+min;  return Results;}
//2.new_mc.addEventListener(MouseEvent.CLICK, showRandomnumber);

[code]....

View 5 Replies

Flash :: Recording Live From A Webcam / Recording From User's Webcam - PHP

May 23, 2011

I want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.

View 4 Replies

Javascript :: Video With Transparent Background On Page Above Image Background?

May 2, 2010

I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?

View 1 Replies

Flex :: After Importing A PNG With Transparent Background It Shows Up With White Background

Dec 28, 2010

As the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]

View 2 Replies

CS3 - Make Background Flash Background Transparent In Dreamweaver?

Apr 10, 2009

I've designed a Flash site in CS3 using Action Script 2.0 that has a main flash movie sorta floating in space over a gradient background. I want the gradient background to re-size with the browser, so I thought that the easiest way to do this would be to delete the gradient background in Flash and instead recreate the background in Dreamweaver using the repeat background option and then make the Flash movie's background transparent. (I hope I'm making some amount of sense here).

I've found a few tutorials on how to do this, but so far I just get a white background instead of transparent. I've tried choosing "Transparent - Windowless" under Window Mode on the HTML tab in Publish Settings. And I've tried selecting the movie from within DW and clicking the parameter button and adding a "wmode" parameter with "transparent" as its value.

View 2 Replies

ActionScript 3.0 :: Printing A MC With White Background, Not Stage Background?

Dec 10, 2008

trying to print a movieclip with a white backgroundwhile keeping the stage background black.The movieclip,printResults_mc has a white rectangle in the bottom layer, 850pixels x 1100 pixels. The following function scales printResults_mcto the printers printable area but because isimpossible to predict the aspect ratio of the printable area someblack background always leaks out. I tried making the whitebackground 20 pixels larger than I need (870 x 1120) and thensetting a crop rectangle in addPage of (10,10,850,1100), no luck,the black stage background just fills in the area outside the crop.A simple solution would be to temporarily set the stage backgroundcolor property to white, print, then set it back to black, but I

View 1 Replies

ActionScript 3.0 :: Background Caches And Flashes On New Uploaded SWF As Background

Aug 2, 2010

When I click on the next button that loads a another swf the background from the previous swf flicks on the screen.click on the attached link URL..[code]I would like the "current_ plan.swf" to load so that the over lays (no so much on the views but more in the LIVING MASTER.We are creating this for both touchscreen and web(the link is the working touchscreen version hence the files being large).[code]

View 7 Replies

Professional :: Background Scrolling - Attach The Trees To The Background?

Nov 19, 2010

I have converted a large background image (much larger than the stage) into a Movie Clip.  I did this so I can make it scroll as the player traverses to the edge of the scene.This appears to make the player free to roam the entire background image.I have a tree symbol with a class attached to it that blocks player movement.Here is my problem:

When I drag and drop instances of the tree symbol onto the background, the trees are stationary and do not scroll with the background.I do not want to have to implement code to make the trees scroll when the background does.I was wondering if there was a way to simply attach the trees to the background so that if the background moves, the trees move with it and appear to be part of the background as if they were drawn into it.It is convenient for me to be able to drag and drop as many trees as i need to block certain routes on the background from the player.I tried writing code to make the trees move but it was only working for the very last tree that I added to the scene.

View 8 Replies

Scaling Background / Whole SWF Object Without Tiling Background

May 15, 2009

I really don't know much about flash or swf files but in updating my portfolio I came across Polaroid gallery. I have managed to update the background jpeg with my own picture and remove the fade effect. However in the original program the background was tileable so when seen in a full screen browser looked fine. As my picture is not tileable I would like to know if it is possible to scale the background or the whole swf object without tiling the background.

View 1 Replies

Image As Background / Resizing / Scalable Background

Jul 24, 2009

I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.

View 4 Replies

Background Controlled By Navigation (Dynamic Background)?

May 26, 2009

create an effect that loads a fullscreen background image that changes according to the navigation selection. The background will be replaced everytime the navigation is activated

View 1 Replies

ActionScript 2.0 :: Corresponding Background MC Come To The Top Of The Pile Background?

Dec 11, 2007

I have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the stage. On a press of each button I would like the corresponding background MC to come to the top of the pile of backgrounds, then fade in above the previous background. The background that was previously on top, needs to stay next-to-top.If the corresponding background is already at the top of the pile, then nothing needs to happen.

At the moment I am using swapDepths(1) which brings the target to the top no problem, but it may also send the previous top layer MC way down the pile.This is what I'm doing at the moment:

on (release) {
if (_root.BG.colour2.getDepth()<=0) {
_root.BG.colour2._alpha = 0;[code].....

View 14 Replies

No Webcam In Player 10.0.32.18?

Aug 7, 2009

I noticed I can't see my webcam anymore when I publish an exe file. There comes no dialog and I can't see the webcam picture. I even can't click the Preferences menu in the context menu.

View 1 Replies

Professional :: Use Webcam In *.swf On Smartphone?

Sep 15, 2010

I just test my Android 2.2 and Flash player 10.1 on HTC but cannot get webcam in swf files.

View 1 Replies

Flash :: Interface That See A Webcam?

Jun 24, 2011

I don't need to stream anything. Just wanting to look at a webcam using Flash. Hopefully be able to control (zoom) a Logitech cam on Mac os 10.6+.
 
It will be a screen I share in Connect. The video pod in connect is not what I want.

View 1 Replies

Flash :: Webcam Stream To CDN FMS

Dec 16, 2010

I don't have my own Flash Media Server. I can however use the Highwinds CDN. They run FMS on their CDN. When you schedule a live event, Highwinds gives you two urls: the "server" and "stream name". Examples:

[Code]....

View 2 Replies

Actionscript 3 :: Two Webcam At Same Time?

Feb 1, 2011

Is this possible to stream two webcam at same time in flash !?I want to use one to track a person from top and one for face detection ?!I just wonder am i able to use two webcam at same time in as3 or as2 !?

View 1 Replies

Php :: Add Webcam Capabilities To My Site?

May 25, 2011

I'm trying to allow users to take pictures with their webcams and save it. How can this be done? I am looking for something similar to Facebook or dailybooth in terms of their UI. I know smoe PHP/jQuery but I'm also wondering how I could save the pictures once "taken"?

View 1 Replies

C# :: Jquery Webcam Plugin With Asp.net Mvc 3?

Feb 25, 2012

has anyone gotten this [URL]..to work with aps.net mvc 3? I can't seem to decode the image, using the WebImage class or BitmapImage. I've tired to do this with Silverlight, but I'm really unsure on how to upload the image. I do not need to save the image, I just want to process it, what im really looking to do is read a bar-code via web app.

I just can't seem to find a good guide to uploading an image from Silverlight or flash to my MVC app.

View 2 Replies

ActionScript 3.0 :: Get My Webcam To Take A Snapshot Using It?

Nov 16, 2008

Currently working on a school project that requires me to use AS3 to display a webcam, and create a button that will take a snapshot and place it beside the video display.[code]...

View 2 Replies

ActionScript 3.0 :: Saving A Webcam Still To JPG Via PHP?

Dec 11, 2008

I am capturing a webcam still and saving in a BitmapData variable. I want to then pass the BitmapData to a php script where I can save it to a folder.

View 2 Replies

ActionScript 3.0 :: Webcam Bounding Box?

Jun 9, 2010

I am currently in the middle of creating a project which essentially uses Flash as a type of augmented reality system. The idea behind it is that a webcam input will capture a users hand which is placed on a white pedestal (esstially creating a complete white backbround in contrast to the hand). Create a bounding box around the hand so that objects will only move in the space taken up by the hand.

The problem I am having is wondering which functions i should use to create a bounding box that will select the space that the hand is taking up in the webcam input. I have seen the function GetColorBoundsRect but it only seems to focus on one colour and it seems to be a static function instead of one that will need to constantly create the bounding box if it moves. This isn't just a motion dection but will need to detect the hand even if it isn't moving.

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved