Actionscript 3.0 :: FLARManager On The Web. No Webcam?
Nov 17, 2009SO. I built an Augmented reality demo using the FLARManager. It works great locally but when I try to run it on a server the web cam won't show up.
View 3 RepliesSO. I built an Augmented reality demo using the FLARManager. It works great locally but when I try to run it on a server the web cam won't show up.
View 3 RepliesI am using Flash Builder 4 to run Lee's tutorial "Augmented Reality with FLARManager".However, upon importing the project and running, it shows the feed from the webcam but it's frozen on the first frame. I have a Logitech Quickcam Pro for Notebooks and, thinking it may be interference from the Logitech software, tried killing all Logitech-related processes but to no avail. I also tried making the project on my own and writing only the first few lines of code as the minimum requirement to get the webcam displayed (ie: everything up to about 9 minutes). Also, I'm working with FLARManager v1.0 which has some slight differences from v.6 Lee was working with for this tutorial. I'm fairly sure I've fixed these differences (in this case, the constructor for FLARManager) as specified on FLARManager's website. Here's my code:
Code: Select allpackage
{
import com.transmote.flar.FLARManager;
[code].....
Im kinda new to using class and papervision3d and FLARManager. I created a FLAR project using flash cs4 to complile the .as files What do I need to deploy this to a website...do I need to move everything that is in the org folder on the server?
View 1 RepliesI'm trying to run the example application from the FlarManager download. It worked first time using the FlarToolkit engine, but the webcam freezes if I change to the FlareNFT tracker. The only change I've made is to the onAdded function:
From this:
this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlarToolkitManager(), this.stage);
To this:
this.flarManager = new FLARManager("../resources/flar/flarConfig.xml", new FlareNFTManager(), this.stage);
When using the FlareNFTManager it compiles but freezes the camera feed. No errors are thrown, but the FlarManager event handlers are not triggered (e.g. onFlarManagerInited, onMarkerAdded, etc.).
Following leeBrimlows tutorial using flarmanager, I am wanting to make a plane clickable that is housed in a container using the InteractiveScene3DEvent.
[Code].....
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 RepliesI 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 RepliesI just test my Android 2.2 and Flash player 10.1 on HTC but cannot get webcam in swf files.
View 1 RepliesI 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.
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]....
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 RepliesI'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 Replieshas 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.
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 RepliesI 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 RepliesI 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.
Capture the webcam, how do I put more quality into the video? The video comes out very bad! Does anyone know how to better quality in webcam video? And if I put larger(1280x1024), also is very bad! Is there any way that does not happen!
The Code:
Code: Select allvar cam:Camera = Camera.getCamera();
var video:Video = new Video(320, 240);
video.attachCamera(cam);
this.addChild(video);
ok so I have the webcam in my flash movie,so you see your cam in the frame..but i was wondering if there was a code to pause the stream so you can a 'snapshot' without having to save anywhere or anything too complicated.. just literally pausing then un-pausing
View 3 RepliesI'm using the webcam to record some footage, but when I'm done, I can't seem to turn the camera off (the LED stays on) no matter what I try.
Camera.getCamera("")
netStream.close()
I've written some code for a small webcam application. It's working well within Flash, there are just some minor adjustments I'd like to make to 'fine tune' the application.Let me explain the issue:
1) I have a button on screen, to call/activate the webcam.
2) When that button is clicked, (you guessed it) it activates the webcam.
3) It also displays two new buttons on stage (Click and Cancel)
4) A warning msg pops up, asking you to Allow/Deny flash webcam access.
5) If I click Deny, the Two new buttons on stage (Click and Cancel), remain there.
So what I'd like to do, is to display Click and Cancel, only if the user allows webcam access.
Does anybody know if there is an example paid or not that combines a webcam picture capture and simple drawing app? URL...
View 3 RepliesCurrently making a music project that will, in theory, play sounds based on detected colors a webcam can see.
I'm certain this is possible in either AS 2 or 3 - but unsure exactly how.
I've searched the wonderful nets for a tutorial or an example of this being done with flash but have come up with nothing.
Is there any tutorials for detecting colors and then responding to them? (All as viewed by webcam, so in real-time).
I need help with a small flash project i'm doing. Basically the task is to detect a color via webcam, then respond to what colors it can see (using the webcam). Example Color red is held in front of camera - flash sees this, then respond by playing a sound. green and red is held in front of cam, flash can tell there is two colors, plays a sound. etc would writing the webcam video object to a BMD every frame, then getPixel that to work out the colors? I'm guessing i'd need to use colorTransform to merge all the blues, reds, greens, etc together (so it only checks for those 3) then responds if it finds them with getpixel?
is there any examples of that, or something similar i could work from? would anyone be able to give a quick write up of what this might looklike/how to do it? (havent done much programming in as3) All i need it to do is: Check video for range of colours (ie, blue, light blue, dark blue, etc, all are equal to blue, unsure how i'd do this. Was thinking Yellow, Red, Green, Blue as the 4 colours) If any of those are in the video, then respond by playing a sound. (However if yellow and blue are in the video at the same time, play a DIFFERENT tune)
[Code]...
That is the entire code for my program and when it runs, nothing happens. I know the program has access to the laptop's webcam because it can trace the name and a similar program I wrote works with the same webcam. This program doesn't even ask for permission to access the webcam so I'm rather confused.
[code]i use the code above to use webcam in my website first time the webcam setting panel will show up asking user to allow or deny the webcam access.if they choose deny but later they change their mind and want to allow the webcam access how to show the webcam allow & deny setting panel again(beside right click and select "settings..." in the menu)I was trying to setup a button and click for calling back the setting panel but failed.
View 2 RepliesI merely want to use Flash and a webcam to record video with audio, and have it stored on a server (on a regular HTTP server running PHP, not on FMS).
View 1 RepliesI've been trying to access my webcam on my macbook pro using flash cs4 in an attempt to try and use the live feed to detect levels of motion and from there use that information to alter / animate an image on the screen (idea being more movement = more change in image), however I cant seem to get my webcam to even stream out and play on a flash file.
The code I am using is:
start code
var camera;
var video;
camera = Camera.getCamera();
video = new Video(camera.width * 2, camera.height * 20);
video.attachCamera(camera);
addChild(video);
end code
And when I run the file it asks for me to grant access to webcam / microphones (which is what it should do) but it doesnt stream to the file.
I am very new to Flash and I am creating a basic webcam display right now and the image quality of the webcam is very low how can I fix this? My code is:var camera:Camera = Camera.getCamera();var video:Video = new Video(); webCam.attachCamera(camera);
View 2 RepliesI am creating a basic webcam display right now and the image quality of the webcam is very low how can I fix this? My code is:
var camera:Camera = Camera.getCamera();var video:Video = new Video(); webCam.attachCamera(camera);
I am trying to load swf file with Loader class into AIR application. The broblem is that the loaded swf can not access web cam (it can when I run it standalone). Is there any security settings I have missed.
AIR loader code:
loader = new Loader(); loader.name = "moduleLoader";loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
[Code]....