ergoannotation
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Rockfella
- Language: Python
- Default Branch: master
- Size: 1.34 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
ErgoAnnotation
ErgoAnnotation is a tool meant to increase the speed and precision in which video annotations can be produced. The annotations can be used for risk assessments and machine learning or other purposes.
In addition, there are a few import functions: 1. ActiPass import, enables the user to visualise the ActiPass data and can overlay video. 2. Electromyography (EMG) data import and synchronization
Dive into our documentation, try out the software, and enjoy this free tool.

Table of Contents
Installation
Requirements Blender: This addon is designed for Blender version 4.4.3.
Blender
Download blender from official site
ErgoAnnotation - Blender Addon
Install Addon in Blender: Blender -> Edit -> Preferences -> Add-ons -> Install -> Find zip file ergoannotation.zip. Check enable (the left check box) in the addons panel.
Under Video Sequencer - New File - Video Editing -> Sequencer toggle "n" panel, see ErgoAnnotation tab
Start configuration
We have created a start-up file which is included in this repo. startupfile.blend, if you would like to use the best "standard" configuration for working with videos in blender open the file. Press: File -> Defaults -> Save Startup File. This way the configuration will remain throughout different projects.

How to use
Start a new project
In the welcome window of Blender, select New -> Video Editing. Or File -> New -> Video Editing, this takes you to the video sequencer where most of the work is done.
Add your videos
Add your videos using the sequencer window Add -> Movie, this way we ensure that the relative file paths are kept.

Set preview range
Like any video software, you have to specify when the project time should start and end. In Blender its called "range". To set the projects range to the newly imported video strip, you can either do: Click on the video strip, View -> Range -> Set Frame Range to Strips OR right click the video and press "Set Range to Strip"

Find the panel
The ErgoAnnotation panel can be found in the sequencer window. If its not visible, you can toggle the panels visibility using the Hotkey "N".

Set Master Time
Adding a "master time" strip will enable the synchronization between video and the annotations and is used when exporting data. In the video, find the frame where the master time is visible and the exact frame where "seconds" indicator is changing. Input that time, in the "master time" input field. HH:MM:SS:FF where FF is frames. If the right frame has been selected where a second has just changed, set "FF (frames)" to :00. Press "Add time layer". Make sure that the time is synched with the video master time.

Start Annotate
Select the input type, DUET RIGHT / LEFT or FREE CHANNEL. Both DUET channels are OMNI-RES meant to be used for the Distal Upper Extremity Tool (DUET). If you would like to add your own annotations add them to the free channel list. The Hotkeys for all channels are NUM 1-9 & NUM 1 + CTRL = 10. Use arrow left / right to seek in slow-motion, arrow up / down for faster seek.
Hotkey "X" is delete in Blender. If you wish to change the input you can right click the strip, Ergoannotation -> change the value.

Export Annotations to CSV
When the annotations are complete, the annotations can be exported to .csv for further analysis. The .csv file contains one row per frame and includes the different input models. If the same type of input model strips have been added to the channels (by moving them to separate channels) both will be included in the export under the same input model column.

Import
ActiPass
Before importing data, it´s required to save the .blend file first. This is important as the Actipass imports use the file folder to find potential icons. You can download the icons from this repo: ActiPass Icons
Extract the file and place them in the same folder as the .blend file, that way the Icons will be imported to the timeline instead of text.
Example .csv import file structure:

EMG-Data import
As of now, in the .csv file column 1 should be dateTime. Column 2 is where we import emg data. Additional EMG channels are being worked on.
Handle Issues
Video footage lost frames
Some video recordings might have lost frames, this is a known issue as cameras can have a fluctuating recording-FPS. In order to deal with this issue, we have created the stretch and shrink function. This issue is mostly noticed when a master time has been recorded in the footage, before and after. Usually its just a couple of frames missing. Using the recorded master time from the footage, we can however compensate for the loss of frames. After adding a master time layer, using to the first video master time. Look for the second master time, find a second’s switch (when time changes its seconds) in the footage and correct the strip by selecting the movie strip, and noting down the Adapted time. (What the time in the footage should be according to the time layer.)

.MTS video format
Avoid using MTS format, as seeking (dragging timeline and other jumps in frames) is known to be produce lag with this format.
To convert MTS to MP4 use the simple tool: https://ffmpeg.org/download.html
When installed, in the same folder as the clip is: 1. Open command promt 2. type "cd c:/yourvideofolder" 3. Use the following command to convert .mts to .mp4 “ffmpeg -i yourMTSClipName.mts -c:v copy -c:a aac -strict experimental -b:a 128k yourNewOutputName.mp4”
Video Preview is lagging
In the Video Preview window toggle Hotkey "N" choose tab View and change the proxy render to a lower value

Future pipeline
- Custom .csv import, where the end-user can adjust import configurations.
License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.
Owner
- Login: Rockfella
- Kind: user
- Repositories: 1
- Profile: https://github.com/Rockfella
Citation (CITATION.cff)
cff-version: 1.1.0 message: "If you use this software, please cite it as below." authors: - family-names: "Rydgård (former Sleman)" given-names: "Johan" title:Rockfella/ErgoAnnotation: v.1.2.1-alpha version: v.1.2.1-alpha doi: 10.5281/zenodo.14222271 date-released: 2024-11-26 url: "https://github.com/Rockfella/ErgoAnnotation"
GitHub Events
Total
- Release event: 2
- Push event: 7
- Create event: 2
Last Year
- Release event: 2
- Push event: 7
- Create event: 2