Skip to main content

AugmentedCarpentryPy for the Augmented Carpentry research at IBOIS, EPFL.

Project description

augmented-carpentry

The PyPi package for the augmented-carpentry project.

Replayer

The replayer is used to generate video from the log. These components works together for visualizing and export the scene.

  1. Initializer: The initializer loads everything according to the given path and experiment id, including the log which stores the transformation of all 3D models, ACIM, and TTool Mesh.
  2. Scene generator: Takes a frame id as input, show the scene of the given frame. This is used to inspecting the transformation and identify the start/end of the sequence.
  3. Scene sequence generator: Takes frame start/end id as input, exporting the scene frame by frame.
  4. Video capturer: Triggered by scene sequence generator with frame index. Export the frame as .png and use ffmpeg to compose the video. If clean_imgs is set to True, the exported .png files will be deleted after the video is generated.
  5. Image cleaner: For manually cleaning the .png files.

Usage

  1. Setting up all the required paths.
  2. Using the Scene generator with a slider to determine the start / end frame and adjust the viewport.
  3. Disable the geometry preview of Scene generator, enable the preview for Scene sequence generator.
  4. Click reset button and flip the toggle of run to True, the program will start to export frames. When all the frame is exported, a video will be generated afterward.

Old logs

Some old logs have error for the ACIM transformation. Here's the status of these old logs. 'O' means the log has no problem, and 'X' means the log has problem:

A001: O
A003: X
AC01: O
AC02: O (only half?)
AC03: X
AC04: X
B003: X
B004: O
BD01: X
BD02: X
BD03: X (only 168 frames?)
BD04: ? (Transformation seems correct, but log is almost empty)
C001: X
C002: X (no TTool pose)
C003: O
C004: O
D001: O
D002: X (no TTool pose)
D003: X
D004: X
W001_3: X
X001: X
X002: X
Y001: O
Z001: O
Z002: O

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

augmented_carpentry_py-0.4.3.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

augmented_carpentry_py-0.4.3-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file augmented_carpentry_py-0.4.3.tar.gz.

File metadata

  • Download URL: augmented_carpentry_py-0.4.3.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.2

File hashes

Hashes for augmented_carpentry_py-0.4.3.tar.gz
Algorithm Hash digest
SHA256 61f743e412a59a6218da3aa207f8eb9bcbacb48c6a4a1aed137e53757746f5ba
MD5 834aa7a89342b2944eb8c8fc041d7527
BLAKE2b-256 0ef61f4445928554af10cf48e213792b1e1f6416567a9dad2d2bcd5972807044

See more details on using hashes here.

File details

Details for the file augmented_carpentry_py-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for augmented_carpentry_py-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5754a155d04c749a39aaa695a3c56c2cb0770056be89431ceda191b2ff25a1f2
MD5 33f6e6fe27306246983f47220db4a4b6
BLAKE2b-256 4cad3578feaf93ad71d71a8928a90ec58893c6af7a64cdff3e47c08695eb5879

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page