Free Motion Capture for Everyone πβ¨
TypeScript
I don't know man.
jon matthisd78cb5b408bf
diff --git a/.codecov.yml b/.codecov.ymlnew file mode 100644index 00000000..4ac1b0af--- /dev/null+++ b/.codecov.yml@@ -0,0 +1,10 @@+# show coverage in CI status, not as a comment.+comment: off+coverage:+ status:+ project:+ default:+ target: auto+ patch:+ default:+ target: autodiff --git a/.coveragerc b/.coveragercnew file mode 100644index 00000000..aa9e0b9b--- /dev/null+++ b/.coveragerc@@ -0,0 +1,13 @@+[run]+source =+ freemocap+[report]+omit =+ */python?.?/*+ */site-packages/nose/*+ # ignore _version.py and versioneer.py+ .*version.*+ *_version.py++exclude_lines =+ if __name__ == '__main__':diff --git a/.flake8 b/.flake8new file mode 100644index 00000000..6406dbc8--- /dev/null+++ b/.flake8@@ -0,0 +1,10 @@+[flake8]+exclude =+ .git,+ __pycache__,+ build,+ dist,+ versioneer.py,+ freemocap/_version.py,+ docs/source/conf.py+max-line-length = 115diff --git a/.travis.yml b/.travis.ymlnew file mode 100644index 00000000..b3a31efd--- /dev/null+++ b/.travis.yml@@ -0,0 +1,48 @@++language: python+python:+ - 3.7+cache:+ directories:+ - $HOME/.cache/pip+ - $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853++dist: bionic # use Ubuntu 18.04++env:+ global:+ # Doctr deploy key for jonmatthis/freemocap+ - secure: "XP8R3/9jzF71gUJVzg49XcPDKc5lvME0X3iOFf3dKii8IVyvBFM0bc5JBVIPwV7nVJQTHCX0AGEdZSAjT85ie+EoTSm1smD1tHx0gfPJRXfHm6AXXQch7l4kDs9LpEY8S30DVgXiQdgQKTlcl8bwNl4gCpWLG8mclJoQ9hF4OyTkPBsutUjcIiB2Jp8v02CBqXNK0/dQ7dzZzLuu8UK4IwLp80yLK7WVEQGBGF/h+X4eWelRgxpXDHbtLf/OF/YunJYm6bNNXBZnaBHSL9xbmztvn7UWB9gCoJ/9afj2enGesQqlO1pHB7Zmsmz3KsNQjPADQWdd1CXN9nGGceTn7CP0Mfph6hIFnD38nBD7OWwnV3jCKpBCCYXGmc+qwBm0Drbx/wnZOiOxYS3ih+aD4Zkh9FocPwYoKq+U9/urHxtmOxjy0N+aDR3WlzjdAbTybgyX15KCjYpXHSSHG3IIP7NuFnlyRN86XKNLREsFoZvhA0kGqKrZnPojC0OZYyZ7tJl9Plho2GSt66MArJYg8npH5ELV8S/UehlG9PGMZiyvaih1Y5gJqYWddRMBuVy4y4jPQD0FIc53qJeuXBzWLUH2TyJ97zzX5Ri9gwl8Ayr+60XjWel9mNowHLsN18IkqwLfNXElCRgli3L/1iB+LEAmDlpLNp5DnoHzM0qcBKw="++# Setup virtual frame buffer for GUI tests+services:+ - xvfb++before_install:+ # Upgrade pip to latest version to avoid problems.+ - pip install --upgrade pip++install:+ # wxPython Linux wheels are downloaded separately+ # https://wxpython.org/pages/downloads/+ - pip install -U+ -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04+ "wxPython < 4.1"+ # The versions of numpy that come pre-installed are often too old and+ # can cause problems. Upgrade it.+ - pip install --upgrade numpy+ # Install this package and the packages listed in requirements.txt.+ - pip install .+ # Install extra requirements for running tests and building docs.+ - pip install -r requirements-dev.txt++script:+ - coverage run -m pytest # Run the tests and check for test coverage.+ - coverage report -m # Generate test coverage report.+ - codecov # Upload the report to codecov.+ #- flake8 # Enforce code style ('relaxed' line length limit is set in .flake8 config file).+ - set -e+ - make -C docs html # Build the documentation.+ # Publish the documentation+ - if [ "$TRAVIS_BRANCH" = "main" ]; then pip install doctr; fi+ - if [ "$TRAVIS_BRANCH" = "main" ]; then doctr deploy --built-docs docs/build/html .; fidiff --git a/AUTHORS.rst b/AUTHORS.rstnew file mode 100644index 00000000..4b5a4472--- /dev/null+++ b/AUTHORS.rst@@ -0,0 +1,15 @@+=======+Credits+=======++Maintainers+----------++* Jonathan Samir Matthis <[email protected]>+Aaron Charian @aaroncherian++Contributors+------------+++None yet. Why not be the first? See: CONTRIBUTING.rstdiff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rstnew file mode 100644index 00000000..bf5e9f42--- /dev/null+++ b/CONTRIBUTING.rst@@ -0,0 +1,104 @@+============+Contributing+============++Contributions are welcome, and they are greatly appreciated! Every+little bit helps, and credit will always be given.++You can contribute in many ways:++Types of Contributions+----------------------++Report Bugs+~~~~~~~~~~~++Report bugs at https://github.com/jonmatthis/freemocap/issues.++If you are reporting a bug, please include:++* Any details about your local setup that might be helpful in troubleshooting.+* Detailed steps to reproduce the bug.++Fix Bugs+~~~~~~~~++Look through the GitHub issues for bugs. Anything tagged with "bug"+is open to whoever wants to implement it.++Implement Features+~~~~~~~~~~~~~~~~~~++Look through the GitHub issues for features. Anything tagged with "feature"+is open to whoever wants to implement it.++Write Documentation+~~~~~~~~~~~~~~~~~~~++The FreeMoCap Project could always use more documentation, whether+as part of the official The FreeMoCap Project docs, in docstrings,+or even on the web in blog posts, articles, and such.++Submit Feedback+~~~~~~~~~~~~~~~++The best way to send feedback is to file an issue at https://github.com/jonmatthis/freemocap/issues.++If you are proposing a feature:++* Explain in detail how it would work.+* Keep the scope as narrow as possible, to make it easier to implement.+* Remember that this is a volunteer-driven project, and that contributions+ are welcome :)++Get Started!+------------++Ready to contribute? Here's how to set up `freemocap` for local development.++1. Fork the `freemocap` repo on GitHub.+2. Clone your fork locally::++ $ git clone [email protected]:your_name_here/freemocap.git++3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::++ $ mkvirtualenv freemocap+ $ cd freemocap/+ $ python setup.py develop++4. Create a branch for local development::++ $ git checkout -b name-of-your-bugfix-or-feature++ Now you can make your changes locally.++5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::++ $ flake8 freemocap tests+ $ python setup.py test+ $ tox++ To get flake8 and tox, just pip install them into your virtualenv.++6. Commit your changes and push your branch to GitHub::++ $ git add .+ $ git commit -m "Your detailed description of your changes."+ $ git push origin name-of-your-bugfix-or-feature++7. Submit a pull request through the GitHub website.++Pull Request Guidelines+-----------------------++Before you submit a pull request, check that it meets these guidelines:++1. The pull request should include tests.+2. If the pull request adds functionality, the docs should be updated. Put+ your new functionality into a function with a docstring, and add the+ feature to the list in README.rst.+3. The pull request should work for Python 2.7, 3.3, 3.4, 3.5 and for PyPy. Check+ https://travis-ci.org/jonmatthis/freemocap/pull_requests+ and make sure that the tests pass for all supported Python versions.+diff --git a/MANIFEST.in b/MANIFEST.inindex 86ad7a67..fd9ea7df 100644--- a/MANIFEST.in+++ b/MANIFEST.in@@ -13,7 +13,6 @@ include versioneer.pyinclude freemocap/_version.pyinclude freemocap/logo/*-# If including data files in the package, add them like:# include path/to/data_filediff --git a/README.rst b/README.rstnew file mode 100644index 00000000..04fd79c3--- /dev/null+++ b/README.rst@@ -0,0 +1,20 @@+=================+Your Project Name+=================++.. image:: https://img.shields.io/travis//your-project-name.svg+ :target: https://travis-ci.org//your-project-name++.. image:: https://img.shields.io/pypi/v/your-project-name.svg+ :target: https://pypi.python.org/pypi/your-project-name+++Python package for doing science.++* Free software: Affero GNU Public Licence (AGPLv3)+* Documentation: (COMING SOON!) https://.github.io/your-project-name.++Features+--------++* TODOdiff --git a/docs/Makefile b/docs/Makefilenew file mode 100644index 00000000..b4a5893b--- /dev/null+++ b/docs/Makefile@@ -0,0 +1,20 @@+# Minimal makefile for Sphinx documentation+#++# You can set these variables from the command line.+SPHINXOPTS = "-W" # This flag turns warnings into errors.+SPHINXBUILD = sphinx-build+SPHINXPROJ = PackagingScientificPython+SOURCEDIR = source+BUILDDIR = build++# Put it first so that "make" without argument is like "make help".+help:+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)++.PHONY: help Makefile++# Catch-all target: route all unknown targets to Sphinx using the new+# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).+%: Makefile+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)diff --git a/docs/__init__.py b/docs/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/docs/make.bat b/docs/make.batnew file mode 100644index 00000000..2be83069--- /dev/null+++ b/docs/make.bat@@ -0,0 +1,36 @@+@ECHO OFF++pushd %~dp0++REM Command file for Sphinx documentation++if "%SPHINXBUILD%" == "" (+ set SPHINXBUILD=sphinx-build+)+set SOURCEDIR=source+set BUILDDIR=build+set SPHINXPROJ=PackagingScientificPython++if "%1" == "" goto help++%SPHINXBUILD% >NUL 2>NUL+if errorlevel 9009 (+ echo.+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx+ echo.installed, then set the SPHINXBUILD environment variable to point+ echo.to the full path of the 'sphinx-build' executable. Alternatively you+ echo.may add the Sphinx directory to PATH.+ echo.+ echo.If you don't have Sphinx installed, grab it from+ echo.http://sphinx-doc.org/+ exit /b 1+)++%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%+goto end++:help+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%++:end+popddiff --git a/docs/source/__init__.py b/docs/source/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/docs/source/_static/.placeholder b/docs/source/_static/.placeholdernew file mode 100644index 00000000..e69de29bdiff --git a/docs/source/conf.py b/docs/source/conf.pynew file mode 100644index 00000000..5ff90304--- /dev/null+++ b/docs/source/conf.py@@ -0,0 +1,209 @@+#!/usr/bin/env python3+# -*- coding: utf-8 -*-+#+# The FreeMoCap Project documentation build configuration file, created by+# sphinx-quickstart on Thu Jun 28 12:35:56 2018.+#+# This file is execfile()d with the current directory set to its+# containing dir.+#+# Note that not all possible configuration values are present in this+# autogenerated file.+#+# All configuration values have a default; values that are commented out+# serve to show the default.++# If extensions (or modules to document with autodoc) are in another directory,+# add these directories to sys.path here. If the directory is relative to the+# documentation root, use os.path.abspath to make it absolute, like shown here.+#+# import os+# import sys+# sys.path.insert(0, os.path.abspath('.'))+++# -- General configuration ------------------------------------------------++# If your documentation needs a minimal Sphinx version, state it here.+#+# needs_sphinx = '1.0'++# Add any Sphinx extension module names here, as strings. They can be+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom+# ones.+extensions = [+ "sphinx.ext.autodoc",+ "sphinx.ext.autosummary",+ "sphinx.ext.githubpages",+ "sphinx.ext.intersphinx",+ "sphinx.ext.mathjax",+ "sphinx.ext.viewcode",+ "IPython.sphinxext.ipython_directive",+ "IPython.sphinxext.ipython_console_highlighting",+ "matplotlib.sphinxext.plot_directive",+ "numpydoc",+ "sphinx_copybutton",+]++# Configuration options for plot_directive. See:+# https://github.com/matplotlib/matplotlib/blob/f3ed922d935751e08494e5fb5311d3050a3b637b/lib/matplotlib/sphinxext/plot_directive.py#L81+plot_html_show_source_link = False+plot_html_show_formats = False++# Generate the API documentation when building+autosummary_generate = True+numpydoc_show_class_members = False++# Add any paths that contain templates here, relative to this directory.+templates_path = ["_templates"]++# The suffix(es) of source filenames.+# You can specify multiple suffix as a list of string:+#+# source_suffix = ['.rst', '.md']+source_suffix = ".rst"++# The master toctree document.+master_doc = "index"++# General information about the project.+project = "The FreeMoCap Project"+copyright = "2021, Jonathan Samir Matthis"+author = "Jonathan Samir Matthis"++# The version info for the project you're documenting, acts as replacement for+# |version| and |release|, also used in various other places throughout the+# built documents.+#+import freemocap++# The short X.Y version.+version = freemocap.__version__+# The full version, including alpha/beta/rc tags.+release = freemocap.__version__++# The language for content autogenerated by Sphinx. Refer to documentation+# for a list of supported languages.+#+# This is also used if you do content translation via gettext catalogs.+# Usually you set "language" from the command line for these cases.+language = None++# List of patterns, relative to source directory, that match files and+# directories to ignore when looking for source files.+# This patterns also effect to html_static_path and html_extra_path+exclude_patterns = []++# The name of the Pygments (syntax highlighting) style to use.+pygments_style = "sphinx"++# If true, `todo` and `todoList` produce output, else they produce nothing.+todo_include_todos = False+++# -- Options for HTML output ----------------------------------------------++# The theme to use for HTML and HTML Help pages. See the documentation for+# a list of builtin themes.+#+html_theme = "sphinx_rtd_theme"+import sphinx_rtd_theme++html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]++# Theme options are theme-specific and customize the look and feel of a theme+# further. For a list of options available for each theme, see the+# documentation.+#+# html_theme_options = {}++# Add any paths that contain custom static files (such as style sheets) here,+# relative to this directory. They are copied after the builtin static files,+# so a file named "default.css" will overwrite the builtin "default.css".+html_static_path = ["_static"]++# Custom sidebar templates, must be a dictionary that maps document names+# to template names.+#+# This is required for the alabaster theme+# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars+html_sidebars = {+ "**": [+ "relations.html", # needs 'show_related': True theme option to display+ "searchbox.html",+ ]+}+++# -- Options for HTMLHelp output ------------------------------------------++# Output file base name for HTML help builder.+htmlhelp_basename = "freemocap"+++# -- Options for LaTeX output ---------------------------------------------++latex_elements = {+ # The paper size ('letterpaper' or 'a4paper').+ #+ # 'papersize': 'letterpaper',+ # The font size ('10pt', '11pt' or '12pt').+ #+ # 'pointsize': '10pt',+ # Additional stuff for the LaTeX preamble.+ #+ # 'preamble': '',+ # Latex figure (float) alignment+ #+ # 'figure_align': 'htbp',+}++# Grouping the document tree into LaTeX files. List of tuples+# (source start file, target name, title,+# author, documentclass [howto, manual, or own class]).+latex_documents = [+ (+ master_doc,+ "freemocap.tex",+ "The FreeMoCap Project Documentation",+ "Contributors",+ "manual",+ ),+]+++# -- Options for manual page output ---------------------------------------++# One entry per manual page. List of tuples+# (source start file, name, description, authors, manual section).+man_pages = [+ (master_doc, "freemocap", "The FreeMoCap Project Documentation", [author], 1)+]+++# -- Options for Texinfo output -------------------------------------------++# Grouping the document tree into Texinfo files. List of tuples+# (source start file, target name, title, author,+# dir menu entry, description, category)+texinfo_documents = [+ (+ master_doc,+ "freemocap",+ "The FreeMoCap Project Documentation",+ author,+ "freemocap",+ "The FreeMoCap Project: A free-and-open-source, hardware-and-software-agnostic, research-grade, minimal-cost motion capture system and platform for decentralized scientific research, education, and training",+ "Miscellaneous",+ ),+]+++# Example configuration for intersphinx: refer to the Python standard library.+intersphinx_mapping = {+ "python": ("https://docs.python.org/3/", None),+ "numpy": ("https://numpy.org/doc/stable/", None),+ "scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),+ "pandas": ("https://pandas.pydata.org/pandas-docs/stable", None),+ "matplotlib": ("https://matplotlib.org/stable", None),+}diff --git a/docs/source/index.rst b/docs/source/index.rstnew file mode 100644index 00000000..cd0047ad--- /dev/null+++ b/docs/source/index.rst@@ -0,0 +1,15 @@+.. Packaging Scientific Python documentation master file, created by+ sphinx-quickstart on Thu Jun 28 12:35:56 2018.+ You can adapt this file completely to your liking, but it should at least+ contain the root `toctree` directive.++The FreeMoCap Project Documentation+===================================++.. toctree::+ :maxdepth: 2++ installation+ usage+ release-history+ min_versionsdiff --git a/docs/source/installation.rst b/docs/source/installation.rstnew file mode 100644index 00000000..cfb389ee--- /dev/null+++ b/docs/source/installation.rst@@ -0,0 +1,7 @@+============+Installation+============++At the command line::++ $ pip install freemocapdiff --git a/docs/source/min_versions.rst b/docs/source/min_versions.rstnew file mode 100644index 00000000..d28e7475--- /dev/null+++ b/docs/source/min_versions.rst@@ -0,0 +1,28 @@+===================================+Minimum Version of Python and NumPy+===================================+++- This project supports at least the minor versions of Python+ initially released 42 months prior to a planned project release+ date.+- The project will always support at least the 2 latest minor+ versions of Python.+- The project will support minor versions of ``numpy`` initially+ released in the 24 months prior to a planned project release date or+ the oldest version that supports the minimum Python version+ (whichever is higher).+- The project will always support at least the 3 latest minor+ versions of NumPy.++The minimum supported version of Python will be set to+``python_requires`` in ``setup``. All supported minor versions of+Python will be in the test matrix and have binary artifacts built+for releases.++The project should adjust upward the minimum Python and NumPy+version support on every minor and major release, but never on a+patch release.++This is consistent with NumPy `NEP 29+<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__.diff --git a/docs/source/release-history.rst b/docs/source/release-history.rstnew file mode 100644index 00000000..53707fbb--- /dev/null+++ b/docs/source/release-history.rst@@ -0,0 +1,6 @@+===============+Release History+===============++Initial Release (YYYY-MM-DD)+----------------------------diff --git a/docs/source/usage.rst b/docs/source/usage.rstnew file mode 100644index 00000000..72e8a6ee--- /dev/null+++ b/docs/source/usage.rst@@ -0,0 +1,9 @@+=====+Usage+=====++Start by importing The FreeMoCap Project.++.. code-block:: python++ import freemocapdiff --git a/freemocap/setup.py b/freemocap/setup.pydeleted file mode 100644index 2cfc22da..00000000--- a/freemocap/setup.py+++ /dev/null@@ -1,72 +0,0 @@-from os import path-from setuptools import setup, find_packages-import sys-import versioneer---# NOTE: This file must remain Python 2 compatible for the foreseeable future,-# to ensure that we error out properly for people with outdated setuptools-# and/or pip.-min_version = (3, 7)-if sys.version_info < min_version:- error = """-freemocap does not support Python {0}.{1}.-Python {2}.{3} and above is required. Check your Python version like so:--python3 --version--This may be due to an out-of-date pip. Make sure you have pip >= 9.0.1.-Upgrade pip like so:--pip install --upgrade pip-""".format(- *(sys.version_info[:2] + min_version)- )- sys.exit(error)--here = path.abspath(path.dirname(__file__))--with open(path.join(here, "README.md"), encoding="utf-8") as readme_file:- readme = readme_file.read()--with open(path.join(here, "requirements.txt")) as requirements_file:- # Parse requirements.txt, ignoring any commented-out lines.- requirements = [- line- for line in requirements_file.read().splitlines()- if not line.startswith("#")- ]---setup(- name="freemocap",- version=versioneer.get_version(),- cmdclass=versioneer.get_cmdclass(),- description="The FreeMoCap Project: A free-and-open-source, hardware-and-software-agnostic, research-grade, minimal-cost motion capture system and platform for decentralized scientific research, education, and training",- long_description=readme,- author="Jonathan Samir Matthis",- author_email="[email protected]",- url="https://github.com/jonmatthis/freemocap",- python_requires=">={}".format(".".join(str(n) for n in min_version)),- packages=find_packages(exclude=["docs", "tests"]),- entry_points={- "console_scripts": [- # 'command = some.module:some_function',- ],- },- include_package_data=True,- package_data={- "freemocap": [- # When adding files here, remember to update MANIFEST.in as well,- # or else they will not be included in the distribution on PyPI!- # 'path/to/data_file',- ]- },- install_requires=requirements,- license="AGPLv3",- classifiers=[- "Development Status :: 2 - Pre-Alpha",- "Natural Language :: English",- "Programming Language :: Python :: 3",- ],-)diff --git a/freemocap/user_preferences.yaml b/freemocap/user_preferences.yamlindex c7d4a449..0b348102 100644--- a/freemocap/user_preferences.yaml+++ b/freemocap/user_preferences.yaml@@ -12,8 +12,10 @@ saved:path_to_save: C:/Users/jonma/Dropbox/FreeMoCapProjectrotations:0: 0+ 1: 02: 03: 0+ 4: 0parameters:exposure: -7resWidth: 640diff --git a/freemocap_datahandler_script.py b/freemocap_datahandler_script.pydeleted file mode 100644index 932ce9e6..00000000--- a/freemocap_datahandler_script.py+++ /dev/null@@ -1,31 +0,0 @@--from freemocap import fmc_trackdata_handler as df-from freemocap import openpose_data_mappings as data_mapping--### Make empty data structure-data_handler = df.FmcTracDataHandler()--### Set mapping-data_handler.set_parent_mapping(data_mapping.parent_mapping)-data_handler.set_point_name_mapping(data_mapping.point_name_mapping)--### Load openpose npy data into variable-import numpy as np-datafile_path = r"C:\Users\Rontc\Documents\GitHub\freemocap\FreeMocap_Data\sesh_21-07-29_104227\DataArrays\openPoseSkel_3d.npy"-data = np.load(datafile_path)--### Import data into data handler as an actor.-# This step can be repeated for multiple datasets, adding each as an individual actor-actor_name = "tester"-data_handler.import_actor_raw_data(actor_name, data)--### Saving data handler object to file-#file_path = "/absolute/path/to/file/filename" # Suffix is being set to FILE_SUFFIX automatically-save_file_path = datafile_path-df.save_obj_to_file(save_file_path, data_handler, override=False)--### Loading data handler from file--load_file_path = r"C:\Users\Rontc\Documents\GitHub\freemocap\FreeMocap_Data\sesh_21-07-29_104227\DataArrays\openPoseSkel_3d.fmcData"-data_h = df.load_obj_from_file(load_file_path)-diff --git a/freemocap_runme_script.py b/freemocap_runme_script.pyindex 55c808b0..ec3deb8d 100644--- a/freemocap_runme_script.py+++ b/freemocap_runme_script.py@@ -4,15 +4,15 @@ from pathlib import Pathimport sysfmc.RunMe(- sessionID = 'sesh_2021-09-09_17_23_44',- # sessionID=None,+ # sessionID = 'sesh_2021-08-29_17_55_45',+ sessionID=None,stage = 5,- useOpenPose=False,+ useOpenPose=True,runOpenPose=True,- useMediaPipe=True,+ useMediaPipe=False,runMediaPipe = True,useDLC=False,recordVid = True ,- reconstructionConfidenceThreshold = 0.5,+ reconstructionConfidenceThreshold = 0.0,calVideoFrameLength = 60,)diff --git a/requirements-dev.txt b/requirements-dev.txtnew file mode 100644index 00000000..3b54a372--- /dev/null+++ b/requirements-dev.txt@@ -0,0 +1,14 @@+# These are required for developing the package (running the tests, building+# the documentation) but not necessarily required for _using_ it.+codecov+coverage+flake8+pytest+sphinx+twine+# These are dependencies of various sphinx extensions for documentation.+ipython+matplotlib+numpydoc+sphinx-copybutton+sphinx_rtd_themediff --git a/requirements.txt b/requirements.txtindex 915558ef..52d36442 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,11 +1,21 @@aniposelib~=0.4.1h5py>=3.1.0imutils~=0.5.4-matplotlib~=3.1.3+matplotlibmediapipe~=0.8.6opencv-contrib-python~=3.4.14.51pandas~=1.2.5+pyqtgraph~=0.12.1rich~=10.4.0+scipy~=1.7.0+toml~=0.10.2tqdm~=4.61.1-ruamel.yaml<0.17-numpy<=1.19\ No newline at end of file+tensorflow-gpu>=2.0+pyqt5>=5.15.4+pyopengl>=3.1.5+tf_slim>=1.1.0+deeplabcut>=2.2+ruamel.yaml>=0.15.0+typed-ast<1.5,>=1.4.0+numpy<=1.19+ffmpeg\ No newline at end of filediff --git a/setup.cfg b/setup.cfgnew file mode 100644index 00000000..7080aaf8--- /dev/null+++ b/setup.cfg@@ -0,0 +1,6 @@+[versioneer]+VCS = git+style = pep440-pre+versionfile_source = freemocap/_version.py+versionfile_build = freemocap/_version.py+tag_prefix = vdiff --git a/setup.py b/setup.pyindex 8272cea1..2cfc22da 100644--- a/setup.py+++ b/setup.py@@ -26,7 +26,7 @@ pip install --upgrade piphere = path.abspath(path.dirname(__file__))-with open(path.join(here, "README.rst"), encoding="utf-8") as readme_file:+with open(path.join(here, "README.md"), encoding="utf-8") as readme_file:readme = readme_file.read()with open(path.join(here, "requirements.txt")) as requirements_file:@@ -42,7 +42,7 @@ setup(name="freemocap",version=versioneer.get_version(),cmdclass=versioneer.get_cmdclass(),- description="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",+ description="The FreeMoCap Project: A free-and-open-source, hardware-and-software-agnostic, research-grade, minimal-cost motion capture system and platform for decentralized scientific research, education, and training",long_description=readme,author="Jonathan Samir Matthis",author_email="[email protected]",@@ -63,10 +63,6 @@ setup(]},install_requires=requirements,- extras_require={"dlc": ["tensorflow-gpu>=2.0",- "tf_slim>=1.1.0",- "deeplabcut>=2.2",- "typed-ast<1.5,>=1.4.0"]},license="AGPLv3",classifiers=["Development Status :: 2 - Pre-Alpha",