Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Camera Motion Detection in AS3

Community Beginner ,
Nov 02, 2022 Nov 02, 2022

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.

535
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2022 Nov 03, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2022 Nov 03, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 03, 2022 Nov 03, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 03, 2022 Nov 03, 2022

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

Is that possible?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2022 Nov 03, 2022

you want to make a game that utilizes a user's webcam to control the game?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 04, 2022 Nov 04, 2022

Yes I would.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 04, 2022 Nov 04, 2022
LATEST

google it.  and check @JoãoCésar's links - looks like he's already googled it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2022 Nov 03, 2022

I don't believe that there is any AS3 code that will track input from a video source.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2022 Nov 03, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines