GithubHelp home page GithubHelp logo

massimobernava / proteo Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 2.0 20.11 MB

Proteo is an open-source and cross-platform scriptable platform, highly modular and with built-in support for many useful modules for serious games implementation

Home Page: https://massimobernava.github.io/proteo/

CMake 0.97% C 17.37% Shell 0.05% C++ 0.89% HTML 0.43% Lua 7.55% JavaScript 72.71% CSS 0.04%
deep-learning deeplearning serious-game serious-games blockly blazepose telerehabilitation

proteo's Introduction

Installation

Server Linux

Install the required libraries:

sudo apt install build-essential git cmake libluajit-5.1-dev libssl-dev libcurl4-openssl-dev libjson-c-dev libmicrohttpd-dev libsqlite3-dev libzmq3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libopencv-dev 

Optional install nosql ejdb2 database:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:adamansky/ejdb2 
sudo apt-get install ejdb2

Install Tensorflow Lite:

git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
mkdir tflite_build
cd tflite_build
cmake ../tensorflow_src/tensorflow/lite/c -DTFLITE_ENABLE_GPU=ON
cmake --build . -j

Clone repository and use cmake:

git clone https://github.com/massimobernava/proteo.git
cd proteo/server
mkdir build
cd build 
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. 
make

Update config.json:

{  	"version":"0.1",
	"basedir":"/usr/local/etc/Proteo/",
	"baseurl":"YOUR_LOCAL_IP",
	"port":8888,"master":1,"ssl":0,
	"server_key":"01234567890123456789012345678901",
	"client_key":"01234567890123456789012345678901",
	"ssl_key":"",
	"ssl_cert":"",
	"admin_enabled":1,"plugins":["proteo","admin","edit","deepcrimson","deepindigo"],
	"servers":[]
}

Install it as a service:

chmod +x ./install.sh
sudo ./install.sh

Client

Choose, red pill and continue to compile, blue pill and download one of the releases.

Linux

Install the required libraries:

sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev

Use cmake:

cd ../client
mkdir build
cd build 
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. 
make
cp ./proteo ../
cd ..

Update app_key in config.json:

{  
	"app_key":"01234567890123456789012345678901",
}

Start Proteo client in graphical mode:

./proteo -g -v

OSX

iOs

Android

Windows

Config

After installation, you need to configure the config.json file on the server and client.

Detail

API

A few examples. For details

Proteo is distributed under the MIT License.

proteo's People

Contributors

massimobernava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.