Skip to content

Commit

Permalink
Added all logos
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuederle committed Sep 19, 2023
1 parent 502b448 commit 06f469a
Show file tree
Hide file tree
Showing 22 changed files with 3,186 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# gaitmap-challenges & gaitmap-bench
<img src="./docs/_static/logo/combined_logo_with_text.png" width="700">

[![Documentation Status](https://readthedocs.org/projects/gaitmap-bench/badge/?version=latest)](https://gaitmap-bench.readthedocs.io/en/latest/?badge=latest)

# gaitmap-challenges & gaitmap-bench

Reproducible benchmarks for IMU-based gait analysis.

This project is part of the gaitmap ecosystem.
Learn more at TODO.
[Learn more](https://gaitmap.readthedocs.io/en/latest/source/user_guide/gaitmap_ecosystem.html)

## gaitmap-challenges
<img src="./docs/_static/logo/challenges_logo_with_text.png" height="75">


You have developed an algorithm for gait analysis using foot-mounted IMUs? Then you can use gaitmap-challenges to
quickly validate your algorithm using multiple different benchmark challenges.
Expand All @@ -28,6 +33,7 @@ Other things you can do with gaitmap-challenges:
- [Create your own challenge](https://gaitmap-challenges.readthedocs.io/en/latest/creating_challenges.html)

## gaitmap-bench
<img src="./docs/_static/logo/bench_logo_with_text.png" height="90">

### Viewing the results

Expand Down
Binary file added docs/_static/logo/bench.ico
Binary file not shown.
Binary file added docs/_static/logo/bench_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
218 changes: 218 additions & 0 deletions docs/_static/logo/bench_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/logo/bench_logo_with_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
235 changes: 235 additions & 0 deletions docs/_static/logo/bench_logo_with_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/logo/challenges.ico
Binary file not shown.
Binary file added docs/_static/logo/challenges_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
205 changes: 205 additions & 0 deletions docs/_static/logo/challenges_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/logo/challenges_logo_with_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
223 changes: 223 additions & 0 deletions docs/_static/logo/challenges_logo_with_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/logo/combined.ico
Binary file not shown.
Binary file added docs/_static/logo/combined_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
479 changes: 479 additions & 0 deletions docs/_static/logo/combined_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/logo/combined_logo_with_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
520 changes: 520 additions & 0 deletions docs/_static/logo/combined_logo_with_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
HERE = Path(__file__).parent
with (HERE.parent / "README.md").open() as f:
out = f.read()
out = out.replace("./docs/_static/logo/combined_logo_with_text.png", "./_static/logo/combined_logo_with_text.png")
with (HERE / "README.md").open("w+") as f:
f.write(out)
#
Expand Down Expand Up @@ -121,6 +122,8 @@
#
# Activate the theme.
html_theme = "sphinx_book_theme"
html_favicon = "_static/logo/combined.ico"
html_logo = "_static/logo/combined_logo.png"
html_theme_options = {"repository_url": URL, "use_repository_button": True, "show_prev_next": False}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down
12 changes: 12 additions & 0 deletions docs/logos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Gaitmap Logos

This folder contains the gaitmap logo source file (`gaitmap_logo_source.svg`).
All versions of the logo are generated from this file using the script `create_all_logos.sh`.

To run the script you must have inkscape and imagemagik installed.

The script relies on correct svg-ids for the important parts of the logo.
The small logo is expected to have the svg-id `logo` and the full logo should have the id `logo-with-text`.

When you modify the logo make sure to run the script and update all files in the `_static/logo` subfolder.
Commit these files.
235 changes: 235 additions & 0 deletions docs/logos/bench.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
223 changes: 223 additions & 0 deletions docs/logos/challenges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
808 changes: 808 additions & 0 deletions docs/logos/combined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/logos/create_all_logos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

target_dir="../_static/logo/"

# For-loop over values in the sources array
sources=("challenges" "bench" "combined")
for source in "${sources[@]}"
do
inkscape --export-type="png,svg" --export-id="logo-with-text" --export-id-only --export-dpi=250 "${source}.svg" --export-filename="${source}_logo-with-text"
inkscape --export-type="png,svg" --export-id="logo" --export-id-only "${source}.svg" --export-filename="${source}_logo"
mkdir -p "${target_dir}"
mv "${source}_logo.png" "${target_dir}${source}_logo.png"
mv "${source}_logo.svg" "${target_dir}${source}_logo.svg"
mv "${source}_logo-with-text.png" "${target_dir}${source}_logo_with_text.png"
mv "${source}_logo-with-text.svg" "${target_dir}${source}_logo_with_text.svg"
convert "${target_dir}${source}_logo.png" -define icon:auto-resize=64,48,32,16 "${target_dir}${source}.ico"
done

0 comments on commit 06f469a

Please sign in to comment.