This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"Marcin Zielinski", | |
"position":"Senior Android Developer", | |
"address":"Krakow, Poland", | |
"email":"kmarcinzielinski@gmail.com", | |
"phone":"(+48) 600 624 175", | |
"avatar":"https://gist.githubusercontent.com/mzielu/f07f822f14158479bf63c438a5115808/raw/199a9d11f83df5924349dd396a8486a9551a4148/profilowe.png" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainTestActivity extends Activity implements CameraBridgeViewBase.CvCameraViewListener2 { | |
FaceDet mFaceDet; | |
boolean isWOrking = false; | |
private static final String TAG = "OCVSample::Activity"; | |
private static final Scalar FACE_RECT_COLOR = new Scalar(0, 255, 0, 255); | |
public static final int JAVA_DETECTOR = 0; | |
private int learn_frames = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
public class LookingAround : MonoBehaviour | |
{ | |
public HeadLookController headLook; | |
//private float offset = 1.5f; | |
void Update(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.tzutalin.dlibtest" | |
> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | |
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> | |
<!-- CAMERA --> | |
<uses-permission android:name="android.permission.CAMERA"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EyePoints { | |
public double left; | |
public double right; | |
public double top; | |
public double bottom; | |
public EyePoints(double left, double right, double top, double bottom) { | |
this.left = left; | |
this.right = right; | |
this.top = top; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DirectionResultEvent { | |
double verticalAngle; | |
double horizontalAngle; | |
public DirectionResultEvent(double verticalAngle, double horizontalAngle) { | |
this.verticalAngle = verticalAngle; | |
this.horizontalAngle = horizontalAngle; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CameraFrameEvent { | |
CameraBridgeViewBase.CvCameraViewFrame inputFrame; | |
public CameraFrameEvent(CameraBridgeViewBase.CvCameraViewFrame inputFrame) { | |
this.inputFrame = inputFrame; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HeadPoseServiceEvent { | |
EyePoints rightEye; | |
EyePoints leftEye; | |
public HeadPoseServiceEvent(EyePoints rightEye, EyePoints leftEye) { | |
this.rightEye = rightEye; | |
this.leftEye = leftEye; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GazeServiceEvent { | |
Point leftIris; | |
Point rightIris; | |
public GazeServiceEvent(Point leftIris, Point rightIris) { | |
this.leftIris = leftIris; | |
this.rightIris = rightIris; | |
} | |
} |
NewerOlder