Skip to main content
Known Participant
November 3, 2022
Question

Camera Motion Detection in AS3

  • November 3, 2022
  • 3 replies
  • 635 views

Hi,

I'd like to try that camera motion detection. Like I want to control something

using my webcam. Is that possible to do in Animate?

If so, how do I link my webcam?

Caleb.

    This topic has been closed for replies.

    3 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    November 3, 2022

    Hi.

     

    If you Google for it, you will probably find some resources. For example:
    https://www.spikything.com/blog/index.php/2007/10/09/webcam-motion-detection-in-as3/

    https://www.leonardofranca.com/motion-detecting-webcam-with-adobe-flash/

     

    But if the results are too outdated, you can consider using the HTML5 Canvas document and searching for a good JavaScript library.

     

    Regards,

    JC

    TheOriginalGC
    Community Expert
    Community Expert
    November 3, 2022

    What is it that you want to control? Character Animator (CH) has face and body tracking capabilities.

    Known Participant
    November 3, 2022

    Oh I see. So, I'd have to use Character Animator. Okay. I'm trying to make like an interactive video game. I want the camera to detect my movement.

    Can you do Actionscript in Character Animator?

    Known Participant
    November 3, 2022

    Let me clarify. I want to make an interactive video game using my webcam.

    Is that possible?

    kglad
    Community Expert
    Community Expert
    November 3, 2022

    no, the camera in animate is a virtual camera, unrelated to any real camera (webcam or otherwise)

     

    https://helpx.adobe.com/animate/using/working-with-camera-in-animate.html