Git Product home page Git Product logo

freemocap's Introduction

Project Logo

freemocap

๐Ÿ“ The FreeMoCap Project: A free-and-open-source, hardware-and-software-agnostic, minimal-cost, research-grade, motion capture system and platform for decentralized scientific research, education, and training

Latest Release MIT License Contributions Welcome https://img.shields.io/badge/code%20style-black-000000.svg

2022-03-09_FreeMoCap_Clips_SHORT_compressed.mp4

How to use the pre-alpha code

We're in the process of switching over to the alpha phase of this project (v0.1.0 and on) , which use full refactor code written with help from a professional experienced software architect.

Until the new code stabilizes, you may have more luck using the pre-alpha code (e.g. v0.0.54)


INSTALLATION

Note: This will install the latest/last version from the pre-alpha phase of this project, frozen at release tag v0.0.54 here

Open an Anaconda-enabled command prompt or powershell window and enter the following commands:

  1. Create a Python3.7 Anaconda environment
conda create -n freemocap-env python=3.7
  1. Activate that newly created environment
conda activate freemocap-env
  1. Install freemocap (version 0.0.54) from PyPi using pip
pip install freemocap==0.0.54

BUG FIX - Update mediapipe with: pip install mediapipe --upgrade

That should be it!


How to create a NEW freemocap recording session

tl;dr- Activate the freemocap Python environment and run the following lines of code (either in a script or in a console)

import freemocap
freemocap.RunMe()

But COOL KIDS will install Blender (blender.org and generate an awesome .blend file animation by setting useBlender=True:

import freemocap
freemocap.RunMe(useBlender=True)

๐Ÿ‘‰ For additional, more detailed instructions (including methods to re-process recorded sessions), refer to the OLD_README.md document) ๐Ÿ‘ˆ


HOW TO RUN THE alpha GUI

NOTES

  • no promises here, friends. Work in progress lol ๐Ÿ˜‚
  • Personally, I run the gui through PyCharm, but its easier to write instructions on how to run from an anaconda prompt

Pre-requisites:

  1. Install Anaconda
  2. Install git
  3. (OPTIONAL) Install Blender - https://blender.org

Installation instructions

  1. Open anaconda enabled terminal

  2. Create a python=3.9 environment

conda create -n freemocap-gui python=3.9
  1. Activate that environment:
conda activate freemocap-gui
  1. Clone the repository (i.e. download the code from github. It'll show up in the current working directory of your terminal session)
git clone https://github.com/freemocap/freemocap
  1. Navigate into that newly cloned/downloaded freemocap folder with:
cd freemocap
  1. Install the dependencies listed in the requirements.txt file:
pip install -r requirements.txt
  1. Run the GUI by running the src/gui/main/main.py file by entering this command into the terminal:
python src/gui/main/main.py
  1. Hopefully a GUI popped up! There are no docs on usage yet, so just click and see what you can figure out ๐Ÿ˜‚

For Developers

Dev Setup

After you've done the easy install instructions, you'll be able to run our repo commands

  1. Run the "setup" command to set up your environment
task setup
  1. Run the tests to ensure that everything works appropriate
task test

Contribution Guidelines

Please read our contribution doc: CONTRIBUTING.md

Creating a new binary (may or may not work lol)

Create a new binary on your local system by running the below comand

task installer

Navigate to the /dist/ directory and you'll see the new FreeMoCap Binary there.

Related

Maintainers

License

This project is licensed under the APGL License - see the LICENSE file for details.

If the AGPL does not work for your needs, we are happy to discuss terms to license this software to you with a different agreement at a price point that increases exponentially as you move spiritually away from the AGPL

freemocap's People

Contributors

aaroncherian avatar abitrolly avatar dependabot[bot] avatar endurance avatar follower avatar jakobwelner avatar jallex avatar jonmatthis avatar kelly-phalen avatar kileyhartigan avatar nikkirostollan avatar philipqueen avatar trentwirth 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.