A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Can action script analyse images

  1. #1
    Member
    Join Date
    Apr 2014
    Posts
    63

    Can action script analyse images

    If I were to make an app and have this app take a picture then is AS capable of analysing/reading pieces of that image?

    Sandman

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    With AS you can access all the image data and manipulate it however you like. What do you mean by analyze?

  3. #3
    Member
    Join Date
    Apr 2014
    Posts
    63
    I want to be able to extract numbers that are present on an image. Say I take a picture of a row of numbers then I want to be able to single them out. Don't know if AS can do this

  4. #4
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    Yes. You should use somebody else's code or a server software to do it though.

  5. #5
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You use the BitmapData class: getPixel() for example. Check here:
    http://help.adobe.com/en_US/FlashPla...itmapData.html
    - The right of the People to create Flash movies shall not be infringed. -

  6. #6
    Member
    Join Date
    Apr 2014
    Posts
    63
    Thank you very much Cancerinform. I see you can target colours from the bitmap, height, etc although is there a built in feature that you know of which can target numbers from the bitmap image? On the URL you sent i didn't see anything like that ...

  7. #7
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    No. You have to code it yourself. Flash is just a programming tool. You can use flash to do what you want to do.

    There are other people who have coded facial recognition in as3 so you can do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center