Skip to content

Commit

Permalink
Merge pull request #33 from mxochicale/32-presentation-fm4s-26-09-2023
Browse files Browse the repository at this point in the history
32 -  slides for fml4s2023
  • Loading branch information
mxochicale authored Sep 26, 2023
2 parents daff110 + ed42e61 commit b62e8f1
Show file tree
Hide file tree
Showing 78 changed files with 7,188 additions and 1,766 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
**/*.toc
**/*.vrb
**/*.out
**/slides.pdf
**/main.pdf

## temp models
Expand Down
35 changes: 35 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Data

## Demo data Thu-24-Aug-2023
Tree of demo dataset. Each pair of video and time-series were recorded for approximately 5 minutes.
```
$ tree -s
[ 4096] .
├── [ 4096] participant01
│   ├── [ 1126670892] participant01-test01-rep01-1g-5mins.avi
│   ├── [ 10503488] participant01-test01-rep01-1g-5mins.avi.csv
│   ├── [ 1093617412] participant01-test01-rep02-1g-5mins.avi
│   ├── [ 10490777] participant01-test01-rep02-1g-5mins.avi.csv
│   ├── [ 1540763444] participant01-test02-rep01-1g-5mins.avi
│   ├── [ 10083571] participant01-test02-rep01-1g-5mins.avi.csv
│   ├── [ 1503624576] participant01-test02-rep02-1g-5mins.avi
│   ├── [ 9792205] participant01-test02-rep02-1g-5mins.avi.csv
│   ├── [ 1289063688] participant01-test03-rep01-1g-5mins.avi
│   ├── [ 9975193] participant01-test03-rep01-1g-5mins.avi.csv
│   ├── [ 1260531560] participant01-test03-rep02-1g-5mins.avi
│   └── [ 10033743] participant01-test03-rep02-1g-5mins.avi.csv
└── [ 4096] participant02
├── [ 1251925628] participant02-test01-rep01-1g-5mins.avi
├── [ 10188391] participant02-test01-rep01-1g-5mins.avi.csv
├── [ 1241199998] participant02-test01-rep02-1g-5mins.avi
├── [ 10043427] participant02-test01-rep02-1g-5mins.avi.csv
├── [ 1423517518] participant02-test02-rep01-1g-5mins.avi
├── [ 9913693] participant02-test02-rep01-1g-5mins.avi.csv
├── [ 1283264068] participant02-test02-rep02-1g-5mins.avi
├── [ 10211794] participant02-test02-rep02-1g-5mins.avi.csv
├── [ 1315188186] participant02-test03-rep01-1g-5mins.avi
├── [ 10055324] participant02-test03-rep01-1g-5mins.avi.csv
├── [ 1437222374] participant02-test03-rep02-1g-5mins.avi
└── [ 9870705] participant02-test03-rep02-1g-5mins.avi.csv
2 directories, 24 files
```

## Demo dataset Thu-27-Jul-2023/
Create and go to data demo path
```
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions docs/figures/experiments-24-aug-2023-A/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
$(eval $(shell grep VERSION_ID /etc/os-release))
#ifeq ($(VERSION_ID), 22.04)
ifeq ($(OS_VERSION), Ubuntu-22.04.1)
EXPORT_ID = --export-png
else
EXPORT_ID = --export-filename
endif
# https://stackoverflow.com/questions/714100/os-detecting-makefile

INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)


#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file

GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=

FIGURES_SVG=$(wildcard vectors/*.svg)
FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))

# Pattern rule for converting SVG to PNG and PDF
png: $(FIGURES_PNG)
outputs/%.png: vectors/%.svg
$(INKSCAPE) $(@) $(<)

pdf: $(FIGURES_PDF)
outputs/%.pdf: vectors/%.svg
$(INKSCAPE) $(@) $(<)

edit:
inkscape $(FIGURES_SVG)

view-png:
eog $(FIGURES_PNG)

view-pdf:
evince $(FIGURES_PDF)

reduce-pdf-size:
$(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)

clean: ## output figure files
rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf

test:
echo $(VERSION_ID)
echo $(OS_VERSION)
echo $(EXPORT_ID)
18 changes: 18 additions & 0 deletions docs/figures/experiments-24-aug-2023-A/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Usage

* save images, create svg files
```
make png #or make pdf
eog versions/drawing-v$NN.png
inkscape vector/drawing-v$NN.svg
```
where `$NN` is the version of the drawing.

## Download template
Open a terminal and type:
```
cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
cd 00_template-vector-images && rm -rf .svn
```

Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
6 changes: 6 additions & 0 deletions docs/figures/experiments-24-aug-2023-A/outputs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Versions
## v01
![v](drawing-v01.png)

## v00
![v](drawing-v00.png)
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/figures/experiments-24-aug-2023-A/references/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# References


Loading

0 comments on commit b62e8f1

Please sign in to comment.