marking-aois
An online tool for participants to indicate where possible Areas Of Interest might be located.
Science Score: 57.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
Found 3 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.7%) to scientific vocabulary
Repository
An online tool for participants to indicate where possible Areas Of Interest might be located.
Basic Info
- Host: GitHub
- Owner: treyescan
- License: gpl-3.0
- Language: PHP
- Default Branch: main
- Size: 6.51 MB
Statistics
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Marking AOIs
The goal of this part of the TREYESCAN toolset is to let experts identify MUST and MAY be seen Areas Of Interest. This folder contains a Laravel web-applicaton and should be uploaded to a web server to function properly.
A demo can be found on: https://hpt.joriswvanrijn.com/
screenshot 1
Usage
- When opening the application, users will be prompted to fill in user identifying information (screenshot 2). This information will be stored in a session so that users may continue the excersise later in time.
- On continuing, an introduction and instruction will be given (screenshot 3 & screenshot 4).
- After this, the user will be presented with a demo video. The purpose of this video is to get a grasp of the interface and the task at hand. (screenshot 5)
- On continuing, the first video will open, on which users may indicate MUST and MAY be seen Areas Of Interest. Users can control the flow of the video (speed, rewind, etc). Clicks = May be seen. Shift + click = Must be seen.
- After clicking, the samples will be collected in a list under the video. Users may remove samples here. (screenshot 1). Users may continue to the next video and return to a previous video at any time.
- Both the user session information and the clicks on the video are stored in files (no database required). These files may be downloaded from the webserver. Aditionally, the files can be seen from a simple web interface (
{website}/list) and the videos can be replayed, with clicks overlayed (screenshot 6). - After finishing all videos, the user is thanked (screenshot 7).
Notes:
- The app is best viewed in Google Chrome.
- Data files will be saved to
./storage/app/public/data/ - Log files can be found in
./storage/app/logs/ - Videos should be stored in
./storage/app/public/videos/ - The web interface to replay videos and see session information can be found on
{website}/list - Locally loading the videos might work buggy. Google Chrome seems to favor online streams, so local streaming does not work as expected. Due to this, the
VIDEO_URLis a separate variable which can always be set to an online location (even for local development).
Screenshots
ltr: screenshot 2 until 7
Requirements
- PHP 7.3 webserver (deployment)
- NB: A database is not required
- Composer (development)
- Node/npm (development)
Installation
```sh
Get the code
git clone git@github.com:treyescan/marking-aois.git
Include the videos to ./storage/app/public/videos/
cp *.webm ./storage/app/public/videos/
Copy and edit the environment file, make sure to set NUMBERVIDEOS, APPURL and VIDEO_URL. NB: only the first three variables are relevant.
cp .env.example .env
Install PHP dependencies
composer install
Create an app key
php artisan key:generate ```
Videos should be named
video_{n}.webm(e.g.video_1.webm,video_2.webm, etc.)For optimal usage, browsers require videos to be compressed to .webm format. This can be easily done using ffmpeg with this command:
ffmpeg -i source.mp4 -c:v libvpx-vp9 -b:v 1M -c:a libopus -b:a 128k target.webm. In this interface, the first frame in the video will be paused. To clarify this for the user, we have edited "Tap spacebar to start the video" onto the videos themselves.
Development
To run locally:
```sh
Run a local instance (localhost)
php artisan serve ```
To develop locally:
```sh
Install JS/CSS/HTML dependencies
npm install
Build the assets
npm run dev npm run watch # alternatively: build assets and watch for changes
Run a local instance (localhost)
php artisan serve ```
Deployment
To deploy this Laravel application, follow the steps in Installation first. After that, refer to the official Laravel documentation for a deployment guide.
Citation
Faraji, Y., & van Rijn, J. W. (2022). Marking AOIs v1.0.0 (Version v1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.7022592
DOI: 10.5281/zenodo.7022592
Contribution
Issues and other contributions are welcome.
License
This toolkit is licensed under GNU GENERAL PUBLIC LICENSE V3
Owner
- Name: TREYESCAN
- Login: treyescan
- Kind: organization
- Location: Netherlands
- Repositories: 1
- Profile: https://github.com/treyescan
TRaffic EYE Scanning & Compensation ANalyzer
Citation (CITATION.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Faraji"
given-names: "Yasmin"
orcid: "https://orcid.org/0000-0001-5290-5918"
- family-names: "van Rijn"
given-names: "Joris W."
orcid: "https://orcid.org/0000-0002-0515-4792"
title: "Marking AOIs v1.0.0"
version: v1.0.0
date-released: 2022-08-25
doi: 10.5281/zenodo.7022592
url: "https://github.com/treyescan/dynamic-aoi-toolkit"
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Dependencies
- 968 dependencies
- @tailwindcss/ui ^0.3 development
- autoprefixer ^9.6 development
- axios ^0.19 development
- cross-env ^7.0 development
- laravel-mix ^5.0.1 development
- lodash ^4.17.19 development
- postcss-import ^12.0 development
- postcss-nested ^4.2 development
- resolve-url-loader ^3.1.0 development
- tailwindcss ^1.8.10 development
- vue-template-compiler ^2.6.11 development
- alpinejs ^2.7.0
- facade/ignition ^2.3.6 development
- fzaninotto/faker ^1.9.1 development
- laravel-frontend-presets/tailwindcss ^4.3 development
- mockery/mockery ^1.3.1 development
- nunomaduro/collision ^5.0 development
- phpunit/phpunit ^9.3 development
- fideloper/proxy ^4.2
- fruitcake/laravel-cors ^2.0
- guzzlehttp/guzzle ^7.0.1
- laravel-lang/lang ~7.0
- laravel/framework ^8.0
- laravel/tinker ^2.0
- php ^7.3
- 109 dependencies