Tutorials

MAKAR Magic index







Abstract:

I will teach you how to use an AI tool to transform an image into motion graphic(video)  in this lecture.

Introduction:

In Harry Potter’s wizard world, The Daily Prophet is definitely the most iconic character in this magical world. It’s not an ordinary newspaper, the photo on the paper will automatically replay the scenario, such as Sirius was arrested and sentencing into the jail, and he was furious. This effect has been created with AR technique before, and there are several methods can make it happen.

This lecture will use D-ID to merge text and photo, and make the person in the photo speak the words we type in the script. This tool can also change different languages, tones, and voice style. 

We are going to use Harry Potter movie poster as the example. Please take note of the following notices: D-ID is a tool that targets human facial structure(two eyes, one noise, one mouth in the frontal face), it may not work if you chose other facial structure.


Download the source: https://drive.google.com/drive/folders/1XH2cvOhVXLsuEh77Q3BdpfSpqouIqrcc?usp=share_link

 

  1. Go to website D-ID(https://www.d-id.com/) and click Login button.

 




 

 

  1. Click the Guest 🡪 Login/Signup to register a new account.


     

  2. After login the D-ID, click the Create Video

     


 

  1. Click Add to upload the image, select the Harry Potter poster.

     



 

  1. Paste the text in the Script, and change the Language into English(United Kingdom), voice into Ryan, then you can generate the video. Plus, if you want to record your own voice, it can be upload on “Audio” selection.


     

Additional: 

The text was created by another popular AI tool “ChatGPT”, I ask ChatGPT to summarize the first episode of Harry Potter.


 

  1. Open MAKAR editor, create a new project, select AR Target, upload the Harry Potter poster as image target. In editor version 3.4, “ category” selection is necessary, otherwise, you may not be able to publish your project.

 



 

 

  1. Import the video created by D-ID into resource vault.





 

  1. Drag the video into the canvas, adjust it parallels to target image, and 

re-scale the size of video to cover the poster. 





 

 

  1. De-active the interactable of the video function and add Logic function.





 

  1. Add Blockly in Logic editor.

 




 
  1. You must close the eye of the video in the Scene objects(set the visibility of the video into False), so that the video will only appear and play when the camera see the target.

 

 



 

How to play

Click the application, type in the ID or scan the QR code to experience the AR/VR !

  1. Install MAKAR application
     

  2. Scan QRcodec or search ID: class06 

 
 

  1. Select「magic index」project,click「experience」to active and put the camera face forward the poster.