Skip to content

Instantly share code, notes, and snippets.

View Wessi's full-sized avatar

Wessi Wessi

View GitHub Profile
"C:\Program Files\Java\jdk1.8.0_161\bin\java" -Dmaven.multiModuleProjectDirectory=C:\Users\Wessi\Documents\AMP\amp@AMP\amp-2.13.1.3\amp "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\lib\idea_rt.jar=51380:C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.1 -DserverName=local -Djdbc.db=12345 clean
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.devgateway:amp:war:2.13-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.devgateway:amp:${buildVersion}, C:\Users\Wessi\Documents\AMP\amp@AMP\amp-2.13.1.3\amp
@Wessi
Wessi / webcam_face_pose_ex.cpp
Last active July 20, 2017 10:23
Code that extracts the 68 point landmarks from dlib
#include <dlib/opencv.h>
#include <opencv2/highgui/highgui.hpp>
#include <dlib/image_processing/frontal_face_detector.h>
#include <dlib/image_processing/render_face_detections.h>
#include <dlib/image_processing.h>
#include <dlib/gui_widgets.h>
#include <fstream>
using namespace dlib;
using namespace std;
@Wessi
Wessi / convertScript.sh
Last active July 13, 2017 12:37
Script to resize collected frames and convert all frames into videos
#!/bin/bash
# script to resize collected frames and convert all frames into videos
echo "Convertion started... "
#
#cd dlib/examples
#mkdir build
#cd build
#cmake ..
#cmake --build . --config Release
__author__ = 'Wesagn Chemma'
import cv2
# load the image and convert it to grayscale
cap = cv2.VideoCapture(0)
# OS is Ubuntu 14.04.3 LTS \n \l
mkdir tmp && cd tmp
git clone git@github.com:chaos84/skeleton_tracker.git
wget http://openni.ru/wp-content/uploads/2013/01/OpenNI-Linux-x64-2.1.0.tar.zip
wget http://ilab.usc.edu/packages/forall/ubuntu-13.10/NiTE-Linux-x64-2.2.tar.bz2
# wenwei@wenwei-VirtualBox:~/tmp$ ll
# total 190164
# drwxrwxr-x 3 wenwei wenwei 4096 Oct 27 11:15 ./