ActionScript 3.0 :: Implementing Own Bitmap Recognition / Tracking?

May 15, 2009

I am working on an augmented reality project and I cannot use FLARToolkit because the marker I tracking is a company logo, The logo is a black T-shape with white writing inside and I cannot use any part of it to create a marker that FLARToolkit will recognise. I decided to implement my own tracking / bitmap recognition which follows the following process...

1) Convert to B&W
2) Color all possible regions in different colors
3) Find the best candidate from the colored regions

Here is the tracking code so far: [URL]. It works but it is suffering form a few problems; It's slow, sometimes a dark area is mistaken for the logo, it isn't aware of orientation, it is affected by different lighting conditions.

View 6 Replies


Similar Posts:


Flash User Recognition?

Aug 27, 2009

I have this online poker game that i play often.I'm curios now, i wxit the game, restart the browser, change my ip,and it still recognizes me next time i come to the site.If necessary i will provide a link (if it's allowed).

View 2 Replies

Speech Recognition In Flash

Apr 2, 2012

I am trying to develop a module for voice recognition that could be integrated with a pre-existing flash website. I don't need the full speech recognition functionality, but a limited set of it (only specific commands like next, go etc). I looked at some functionality available like speechapi.I did try to do a bit of flash training by myself since i got into this project. So anyway, if I have to go ahead, will I have to do this in Actionscript?

View 1 Replies

Flash - Chinese Handwriting Recognition?

Nov 15, 2009

I'm looking for handwriting recognition solution. I've found one here, which is a flash application. What's the principle of how it works? Does it make any queries to db to find the character?

View 3 Replies

Flash :: Speech Recognition With Silverlight?

Apr 30, 2010

I'm developing a web user interface to enter some information that is not very complex but needs to be loaded in real time. I think that the application could make use of speech recognition to facilitate the task.

Te core of the interface is being built with Javascript and jQuery, but can easily include a flash or silverlight component. I believe thatīs probably the way to go. I don't need to recognize everything that the user says, but only a few prerecorded commands. Also, I don't want the user to click on a button to specify the begining and the end of the spoken command. It should be detected live.

Is there anything that does this? I would be grateful if anyone tells me about a complete solution, free or commercial, as well as any advice on capturing a sound stream from the mic and process it with flash or sliverlight.

View 3 Replies

Flash :: Speech Recognition Can Be Done Through Web Browser?

Oct 26, 2010

How to implement Online Speech Recognition through a Web Browser Interface.

Is it possible to implement this without using any Streaming Server (completely browser-based application)? Without building any own plug-ins, is it possible to implement Speech Recognition using Flash ...

View 1 Replies

ActionScript 3.0 :: Packaged Class Recognition?

Jan 26, 2009

I don't know if the topic describes the problem correctly, but here's the situation:I created a folder structure so I could work with packages, which I named com/gamistry/someproject"Then I created several .as files. "EggLoader.as", "Main.as", "Egg.as"EggLoader is a class that shows a basic progress bar, and is also the Document class. It is defined as being in the package "com.gamistry.someproject". Once it's done loading the swf, it creates an instance of "Main" (not having imported anything), and passes its stage property as the only argument. This all works perfectly.

Then the Main class starts running, and attempts to create an instance of "Egg", not having imported anything just like the previous example. It attempts to pass the single argument (defined as floor:int in Egg's constructor), but for some reason I get a compilor error 1136 "Incorrect number of arguments. Expected 0."It furthermore seems to know of none of Egg's public functions. Has anybody come across something like this before? Perhaps I am misunderstanding the purpose of packages?I've tried importing com.gamistry.someproject.*, but to no effect. If I explicitly define the myEgg instance as a "com.gamistry.someproject.Egg", and then call the new operator as a "new com.gamistry.someproject.Egg( floor )", the error disappears, but the program still does not execute as expected. No instance is visibly created on the stage, as it was when I was working with the exact same code base from the root package.Here's code samples (I omitted a lot of irrelevant code):

ActionScript Code:
package com.gamistry.someproject {
import flash.display.MovieClip;

[code].....

View 1 Replies

ActionScript 3.0 :: Speech Recognition In FLASH?

Jan 31, 2011

can some guide me that how i can make speech recognition software in flash, for e.g if i speech letter "A" than letter A appear on page and start animated, this is my project i need help.

View 5 Replies

ActionScript 3.0 :: Scrollbar & Mp3 Player With ID3 Tag Recognition

Feb 2, 2008

[URL] Scrollbar & Mp3 Player with ID3 tag recognition

View 6 Replies

ActionScript 2.0 :: Voice Recognition In Flash

Jun 24, 2011

is that possible that flash can develop voice recognition application? if user says "A" then flash can call movieclip "A", or in the application e-learning, user just say "next" then the application going to the next page.

View 1 Replies

ActionScript 3.0 :: Realtime Audio Recognition In Flash?

Sep 20, 2009

i am currently working on a audio visualizer in flash but is stuggling to get flash to detect sound off my onboard sound card. Is it even possible now with flash 10? Something like an audio fft but in flash.

View 4 Replies

ActionScript 3.0 :: Gesture Recognition - Comparing Two Similar Ones

Jun 17, 2010

Has anyone worked on gesture recognition? I want to know how to proceed on comparing two similar gestures. E.g. : If A draws a circle on the screen, B should draw the same and the program should compare both the circles.

View 2 Replies

Actionscript 3 :: Object & Shape Recognition From Webcam?

Aug 29, 2011

I need to create an application to get input from a webcam or camera connected to a computer and detect certain 3d objects.I could do this from a .3ds file or something else? I'm not quite sure.I am pretty sure it is possible with flash as3? I have been looking into openCV but i can't find any examples of this kind of thing.

View 2 Replies

ActionScript 2.0 :: Dynamic Text Character Recognition?

Nov 11, 2007

Is there a way for flash to return a specific character from a string into dynamic text.

Example:

Code:
var headline = "kirupa"
character.text = 5th letter of headline
trace(character.text);

Then it would output the letter p, because it's the fifth letter.

View 1 Replies

Image Recognition Via Webcam / Augmented Reality With Flash

Oct 3, 2010

URL..which should be recognized via a webcam. So this image is the original which should be included into the swf. If a person show this image in the webcam, an overlay of a video should added and played (augmented reality).How can I do this? I found FLARToolkit, but it is not possible because I need a black border which the original image does not has.Are there other libraries which have this functionality?

View 2 Replies

Flex :: Hand Gesture Recognition With Camera Video

Jun 30, 2011

I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in every frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by mistake.

View 2 Replies

Android :: Adobe Native Extensions - Voice Recognition

Dec 12, 2011

currently I am coding a android mobile app in Flex with the Flash Builder. I am tring to get the Voice Recognition of the Android Platform working but it seems to be complicated. I managed to write a Native Extension that at least displays the Android style voice recognition that asks for speech input. I found out that for the android system the speech input dialog represents an activity where you can wait for the activity's response and overwrite the onActivityResult function. And there is the problem. Since I have to call the Activity "Voice Recognition" in the FREContext the response of the Voice Recognition Activity gets lost.

[Code]...

View 1 Replies

Flash - Voice Recognition Library (Respond To Simple English)

Feb 20, 2012

I'm after a Voice Recognition Library in ActionScript. I need to the software to be able to respond to simple english responses only. Yes & No type of responses.

View 2 Replies

ActionScript 2.0 :: Flash8 MovieClip Recognition - Change A _root.mc.speed Property

Dec 30, 2009

I have two movie clips on stage, each with the same code, I have another movie clip that comes along and interacts with the two of them and changes properties to its speed and such. The problem is, it only seems to work one at a time, for instance I can't have both of the movie clips changing its speed, it works with one and then ignores the others code. *EDIT* I just ran a trace on the two mcs, I can confirm both of them know when the main one hits it, but because I'm trying to change a _root.mc.speed property in each one, it only accepts one of them and ignores the other for some reason :S If I use different properties in each it allows that.

View 5 Replies

ActionScript 3.0 :: Speech Recognition Program In Flash To Teach A Foreign Language?

Jan 6, 2010

Has anyone ever developed a speech recognition program in flash to teach a foreign language?

View 0 Replies

ActionScript 3.0 :: Alphabet Recognition Game - Randomly Choose A Movieclip To Play The Sound

Mar 16, 2011

I am trying to develop a simple game for kids in which an Alphabet will be spoken and the kid will have to choose the correct alphabet being displayed on the screen. What I have tried to do is that I have saved each of the sound in a seperate movieclip.

how can I develop the code that randomly choose a movieclip to play the sound and then when the kid click on the correct alphabet, it adds the point and if wrong alphabet is clicked, it gives error.

View 6 Replies

ActionScript 3.0 :: Bitmapdata.hitTest - Bitmap 'emptyBitmap' With Bitmap Data Created

Feb 3, 2009

I'm cutting my teeth in actionscript 3 on a game that has a character running through a world. So, I have set up my Hit Testing by using the bitmap data hit test method, since I figured my world is going to be destructible - it'd be nice to update the level and then redraw it and have the character interact with the new change. (That works beautifully) I am however; a bit confused as to how I have my hit Testing set up. I've been messing around with it, and it works for now - but I'm not sure why.. currently, I have a character set up by using a class I built and using a series of animations I created. So, this character has a walking and falling animation, etc. This is a movie clip.

Then there's a bitmap 'emptyBitmap' with bitmap data created - however; I never really added this as a child to the character. This is sized to the dimensions of my character. My level is created as a movielip, then it's drawn to a bitmap - when the level movieclip is changed, the bitmap redraws, and that's how this updates.

[Code]....

View 1 Replies

ActionScript 3.0 :: Use The BitmapData Property Of A Bitmap And Pass It To The Constructor Of A New Bitmap Object?

Aug 20, 2009

I know the topic of "duplicating" movieclips is a hot issue with the new virtual machine. Luckily, I understand the implications. I only am [currently] interested in duplicating a Bitmap. See, I load an image from an URL using 'flash.display.Loader.load', which is a non-blocking operation in Flash Player.However,I may use multiple copies of the loaded image (which is reported to be a Bitmap, naturally) in the display list at the same time.Hence, I naturally do not want to load the image from an URL every time, because I don't want to wait for a non-blocking call to complete. Nor do I need to - I mean one copy is already loaded, so it should be possible to just "duplicate" it, right?

My idea is to do use the bitmapData property of a Bitmap and pass it to the constructor of a new Bitmap object. I have not tried the following in action, but I want to hear whether any of you did and if the following would not work, what would:

Code:

var original_bitmap: Bitmap;
var copy_of_original_bitmap: Bitmap = new Bitmap(original_bitmap.bitmapData);

LiveDocs mention that the BitmapData being passed to a Bitmap constructor is "being referenced", which to me might suggest it cannot be used twice? There is also the BitmapData::clone() method, which I am not sure is applicable here or not.I know this is a lot of talk instead of just trying this out, but I test so much Flash Player code daily just to see "what works" (which should be documented instead by Adobe),

View 4 Replies

Flex - Function To Redraw Bitmap On Sprite Without Passing In Said Bitmap?

Feb 22, 2011

If I have a BitmapData that's already been drawn onto a Sprite. Is there a way to redraw the BitmapData onto a Sprites Graphics object without having to invoke beginBitmapFill and passing in the same BitmapData?

View 1 Replies

ActionScript 3.0 :: Drawing From Bitmap To Bitmap Overrides Earlier Graphics?

Dec 29, 2010

I'm working on a game, and to keep performance good, instead of addChild'ing 50 new sprites to the stage every second, I decided to have each player draw to their own bitmap, and then to the 'master' bitmap. This introduces an issue though: the second player would override all data the first player has put into to bitmap...My basic debugging proof of concept:

Code:
// bitmap test

import flash.display.Bitmap;
import flash.display.Bitmap;[code]......

View 1 Replies

ActionScript 3.0 :: Copying A Rotated Bitmap Into A Bigger Bitmap?

May 9, 2011

I have a bitmap which has several frames (packed along the horizontal axis). In order to render them I copy it to the backbuffer (larger bitmap) as follows:

Actionscript Code:
public override function copyToBackBuffer(db:BitmapData):void{ if (active)  var drawRect:Rectangle = new Rectangle((currentFrame-1) * frameWidth, 0, frameWidth,

[code].....

View 5 Replies

Actionscript 3 :: Update A Portion Of A Bitmap With A Pixelbender Instead Of The Whole Bitmap?

Feb 17, 2012

In pure AS3, I have a pixelbender and a large bitmap. The pixelbender is configurable with a distance parameter to affect only a small area of the bitmap. The problem is that the pixelbender is executing over the whole bitmap. What would be the best way to update only the effected region of the bitmap? Given this config:

[Code]...

View 1 Replies

ActionScript 2.0 :: Bitmap Font Text Drawn To Bitmap

Oct 8, 2006

Is there a way to write a bitmap font right into the bitmap being desplayed? Mabey better worded: myBitmap.draw(image, t) draws a picture is there a way to draw text? I'm stuck even if its just a work around in some way I would like to know... (the current work around i have in my head is writing it in a movieclip turning that into bitmap data and drawing it... esentially creating a prototype answering my question... but a built in way would be easier probably).

View 2 Replies

Actionscript 3 :: Bitmap Too Big - Limitation Is In Bitmap And Loader?

Mar 30, 2011

In AS3, I am loading a png from a zip file (nochump's zip library through ByteArray to Loader). The png can be up to 45k pixels wide but only 120 tall. This creates a problem in flash, as images can only be ~8000 pixels wide. A possible solution would be to split the images into 6 columns somehow. This would probably need to be done in the ByteArray state, because the limitation is in Bitmap and Loader.

View 2 Replies

ActionScript 3.0 :: Draw Bitmap Instead Of Export Bitmap?

Nov 5, 2009

I'm using Sandy to animate some objects in 3D. What I currently do to images which are EXPORTED in the library, I want to do to some bitmaps that I create using the DRAW technique. But it wont work :-(

CODE FOR 'CREATED BITMAP' :
ActionScript Code:
var bData:BitmapData = new BitmapData(myObject.width,myObject.height);
bData.draw(mask5);

[Code]....

Sandy doesn't seem to treat the 'created' bitmap the same as those that are exported from the library.

View 0 Replies







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