FaceTracker | Face tracking in live video on iOS devices | Augmented Reality library

 by   aptogo C++ Version: Current License: No License

kandi X-RAY | FaceTracker Summary

kandi X-RAY | FaceTracker Summary

FaceTracker is a C++ library typically used in Virtual Reality, Augmented Reality applications. FaceTracker has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Face tracking in live video on iOS devices
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              FaceTracker has a low active ecosystem.
              It has 157 star(s) with 54 fork(s). There are 20 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 1 have been closed. On average issues are closed in 1 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of FaceTracker is current.

            kandi-Quality Quality

              FaceTracker has no bugs reported.

            kandi-Security Security

              FaceTracker has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              FaceTracker does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              FaceTracker releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of FaceTracker
            Get all kandi verified functions for this library.

            FaceTracker Key Features

            No Key Features are available at this moment for FaceTracker.

            FaceTracker Examples and Code Snippets

            No Code Snippets are available at this moment for FaceTracker.

            Community Discussions

            QUESTION

            Sending a vector3 to script from patches is not working
            Asked 2020-Oct-23 at 10:21

            So I'm making a ball bounce in spark AR with cannon.js. Everything was working fine until I wanted to get the position of the forehead from the facetracker via the patch editor to a script.

            Error:

            ...

            ANSWER

            Answered 2020-Oct-23 at 10:21

            I've found a selution when working with cannon.js. cannon.js has a kind of update function so you can use .pinLastValue() because it does this every frame in order to update the physics.

            My code:

            Source https://stackoverflow.com/questions/64154964

            QUESTION

            Can't get FaceTracker class to work on HoloLens 2
            Asked 2020-Jul-14 at 11:23

            I'm having trouble getting the FaceTracker Class to work on HoloLens 2. As soon as I try to detect the faces with ProcessNextFrameAsync Method I get an exception of the following kind:

            System.Runtime.InteropServices.COMException (0x80004005): Unspecified error

            This is only the first part of the error message, if more information is needed, I can add that.

            See this for a minimal example.

            ...

            ANSWER

            Answered 2020-Jul-14 at 03:29

            This is an official sample show how to use the FaceTracker class to find human faces within a video stream: Basic face tracking sample. And in line 256, that is the main point to get a preview frame from the capture device.

            However, base on your code, you have created a VideoFrame object and specified the properties and format to it, but you are missing invoke GetPreviewFrameAsync to convert the native webcam frame into the VideoFrame object.

            You can try the following code to fix it:

            Source https://stackoverflow.com/questions/62814155

            QUESTION

            Java equals() seemingly returns wrong bool value
            Asked 2020-Jun-05 at 22:04

            So my app is saving the names of Bluetooth devices the user has connected to previously in SharedPreferences which is than compared to all of the names of currently paired devices so on opening the app can instantly connect to the said device. This is done by this piece of code:

            ...

            ANSWER

            Answered 2020-Jun-05 at 22:04

            The problem is a non printable and non ASCII character at the end or the beginning of the string. Please try the following script:

            Source https://stackoverflow.com/questions/62222254

            QUESTION

            Can we track face emotional like happy, sad, angry in Spark AR?
            Asked 2020-Apr-13 at 16:45

            i am newbie for Spark AR. I just learn the basic, and i wanna now that can we track face emotional like sad, happy, angry etc? Like a facetracker using javascript made by justadudewhohacks

            ...

            ANSWER

            Answered 2020-Apr-13 at 16:45

            There are some Face Gestures that are supported by Spark such as happy, smiling, surprised, kissing, etc. See here: https://sparkar.facebook.com/ar-studio/learn/documentation/reference/classes/facegesturesmodule/

            Source https://stackoverflow.com/questions/61164621

            QUESTION

            API 17: Action Bar implemented but not appear - Android Studio
            Asked 2018-Oct-07 at 12:02

            I would to implement action bar in my project. I have implemented all inside xml,main activity etc but when I run my app action bar not appear. I'm tring to use Action bar to go in another activity.java

            Could anyone help me? what's wrong in my code?

            xml main_menu

            ...

            ANSWER

            Answered 2018-Sep-13 at 09:23

            Add toolbar to your main_activity.xml

            Source https://stackoverflow.com/questions/52309424

            QUESTION

            Crop face from the CameraSource
            Asked 2017-Dec-15 at 21:57

            I am implementing the example given in google-vision face tracker. MyFaceDetector class:

            ...

            ANSWER

            Answered 2017-Apr-27 at 14:44

            frame.getBitmap() will only return a value if the frame was originally created from a bitmap. CameraSource supplies image information as ByteBuffers rather than bitmaps, so that is the image information that is available.

            frame.getGrayscaleImageData() will return the image data.

            frame.getMetadata() will return metadata such as the image dimensions and the image format.

            Source https://stackoverflow.com/questions/43632752

            QUESTION

            ios opencv filepath of cascade file
            Asked 2017-Sep-29 at 15:20

            I am new to ios. Currently I am working on an app that uses opencv facetracker. Therefore I use C++ within Objective-C. My problem is, that the contructor of the C++ class, which handles the facetracking part, needs the file location of the cascade file. The Constructor looks like this:

            ...

            ANSWER

            Answered 2017-Sep-29 at 15:20

            I have found the solution. User r4ghu was right. But it was not clear for me, where to put that lines of code. If you want to load your cascade file correctly you would have to do that before you initialize your camera. For example:

            Source https://stackoverflow.com/questions/46388567

            QUESTION

            How to save a frame using google vision face detect
            Asked 2017-Jul-17 at 09:17

            I am trying to following the google-vision face-tracker sample listed in here. I would like to know how to get the number of face detected by the application and how to save a frame to the phone memory, is it possible from the application ?

            ...

            ANSWER

            Answered 2017-Jul-17 at 09:17

            Yes, you can use the following code:

            Source https://stackoverflow.com/questions/41750441

            QUESTION

            UWP use face tracking on video playback
            Asked 2017-May-20 at 02:03

            In UWP it seems very easy to use FaceTracker on video capture from say the device camera. But I need to use it on video playback. Anyone has any suggestions how it can be done or any alternative paths to achieve similar result?

            I would like however to have the code running locally (on the same machine or on the local network server) as opposed to calling Web services and sending them thousands of frames non stop.

            *the easiest would be to: 1. convert video playback to a capture stream 2. use tracker to detect faces and also draw rectangles 3. display result as a video

            I understand step 2 is all taken care of by Microsoft. I think 3 is easy. So anyone knows how to achieve step 1?*

            ...

            ANSWER

            Answered 2017-May-20 at 02:03

            You can't convert the video playback to a capture stream, but you can get the VideoFrames from the MediaPlayer by registering a custom video effect with the MediaPlayer's AddVideoEffect method.

            The custom video effect is a class which implements IBasicVideoEffect. Its ProcessFrame method will be passed a ProcessVideoFrameContext object which contains a InputFrame you can pass to the FaceTracker and an OutputFrame which you can modify with the rectangles from the FaceTracker.

            See the custom video effects documentation for a walkthrough on creating and registering an effect in your app. For example purposes, it demonstrates applying the effect to a MediaComposition clip rather than to a running MediaPlayer, but the same effect class can be used in both places.

            Source https://stackoverflow.com/questions/43792052

            QUESTION

            Using Python to rearrange .txt rows and columns
            Asked 2017-May-07 at 22:33

            I am a very novice coder who needs help combining and rearranging a lot of .txt data. I have 500 text files (actually there are .pts files, but that seems to be the same thing as .txt) with facial landmark coordinates extracted from photographs of people using CLM Facetracker. The output for each photo is like this (68 rows down):

            version: 1

            npoints: 68 {

            216.512 146.425

            217.526 166.783

            219.63 187.059

            (....)

            }

            which is equivalent to:

            x1,y1

            x2,y2

            I wish to rearrange it so instead all the 68 landmark coordinates are in a single row with a comma in between each:

            216.512, 146.425, 217.526, 166.783, 219.63, 187.059

            x1, y1, x2, y2

            Is there a simple way to do this? Ideally I would also like to add zeros so all landmark coordinates have the same amount of decimal places. Thanks in advance, and apologies if I am missing something super obvious :)

            ...

            ANSWER

            Answered 2017-May-07 at 17:20
            # read the data from "in.txt"
            data_list = open('in.txt','r').read().split()
            
            # format to 3 decimal places
            data_fmt = []
            for dl in data_list:
                try:
                    data_fmt.append("{0:.3f}".format(float(dl)))
                except:
                    print repr('Could not convert "{}"'.format(dl))
            
            # join the list with a comma
            data_str = ','.join(data_fmt)
            
            # write the output to a file
            with open('out.txt','w') as fout:
                fout.write(data_str)
            

            Source https://stackoverflow.com/questions/43832662

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install FaceTracker

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/aptogo/FaceTracker.git

          • CLI

            gh repo clone aptogo/FaceTracker

          • sshUrl

            git@github.com:aptogo/FaceTracker.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link