Build Face Filter in Three.js

share link

by kandikits dot icon Updated: Jul 31, 2023

technology logo
technology logo

1-Click Kit 1-Click Kit  


AR Face Filter has been very popular recently, especially with the rise of social media apps. It can create an AR experience by overlaying virtual objects. 


The technology is similar to the one used by Facebook camera effects OR Snapchat selfie lens to add filters to their photos and videos but has its own unique style and capabilities.


kandi kit provides you with a fully deployable Face Filter for Insta & Snapchat. The source code included so that you can customize it for your requirement.

Deployment Information

The jeelizFaceFilter library added in this section is primarily used to create Face Filter using threejs project. The entire solution is available as a package to download from the source code repository.

Follow the below instructions to deploy and run the solution.

  1. Download, extract and double-click the kit installer file to install the kit.
  2. After the successful installation of the kit, press 'Y' to run the kit.
  3. To run the kit manually, press 'N' and locate the zip file 'jeelizFaceFilter-master'.
  4. Open the folder in Visual Studio Code.
  5. Run the command npm install and npm run dev.
  6. Once server starts, navigate to the respective localhost port. 7. Now, you will experience Augmented Reality in your own Environment.


Click on the button below to download the solution and follow the deployment instructions to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your Face Filter App.

Troubleshooting

  1. While running batch file, if you encounter a Windows protection alert, select More info --> Run anyway
  2. During kit installer, if you encounter a Windows security alert, click Allow

For a detailed tutorial on installing & executing the solution as well as learning resources including training & certification opportunities, please visit the OpenWeaver Community

Development Environment

Visual studio code IDE is used for this development. It becomes easy and simple to develop an interactive UI with Visual studio code.

vscodeby microsoft

TypeScript doticonstar image 147328 doticonVersion:1.79.2doticon
License: Permissive (MIT)

Visual Studio Code

Support
    Quality
      Security
        License
          Reuse

            vscodeby microsoft

            TypeScript doticon star image 147328 doticonVersion:1.79.2doticon License: Permissive (MIT)

            Visual Studio Code
            Support
              Quality
                Security
                  License
                    Reuse

                      AR Libraries

                      Three.js is the open-source web framework used to develop augmented reality (AR) projects.


                      Web-based augmented reality (WebAR) is the most advanced technology that allows users to access AR experiences directly from their smartphones.

                      aframeby aframevr

                      JavaScript doticonstar image 15445 doticonVersion:v1.4.2doticon
                      License: Permissive (MIT)

                      :a: Web framework for building virtual reality experiences.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                aframeby aframevr

                                JavaScript doticon star image 15445 doticonVersion:v1.4.2doticon License: Permissive (MIT)

                                :a: Web framework for building virtual reality experiences.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          three.jsby mrdoob

                                          JavaScript doticonstar image 92637 doticonVersion:r153doticon
                                          License: Permissive (MIT)

                                          JavaScript 3D Library.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    three.jsby mrdoob

                                                    JavaScript doticon star image 92637 doticonVersion:r153doticon License: Permissive (MIT)

                                                    JavaScript 3D Library.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              AR.jsby AR-js-org

                                                              JavaScript doticonstar image 4613 doticonVersion:3.4.5doticon
                                                              License: Permissive (MIT)

                                                              Image tracking, Location Based AR, Marker tracking. All on the Web.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        AR.jsby AR-js-org

                                                                        JavaScript doticon star image 4613 doticonVersion:3.4.5doticon License: Permissive (MIT)

                                                                        Image tracking, Location Based AR, Marker tracking. All on the Web.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  Kit Solution Source

                                                                                  JavaScript doticonstar image 2410 doticonVersion:3.0doticon
                                                                                  License: Permissive (Apache-2.0)

                                                                                  Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            jeelizFaceFilterby jeeliz

                                                                                            JavaScript doticon star image 2410 doticonVersion:3.0doticon License: Permissive (Apache-2.0)

                                                                                            Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      Support

                                                                                                      If you need help using this kit, you may reach us at the OpenWeaver Community.

                                                                                                      See similar Kits and Libraries