Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #474 #476

Open
wants to merge 581 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
581 commits
Select commit Hold shift + click to select a range
2b30aff
#344 Improved the visualization of points
Belberus Aug 10, 2020
33c4fc6
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Aug 10, 2020
1bf0326
#345 Replace camera calibration parameters
beapc18 Aug 12, 2020
0f97a67
#346 Auto-replicate option and small spelling mistakes fixed
Belberus Aug 12, 2020
717c7ac
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Aug 12, 2020
ddb60e9
#264 Fix export empty ignore regions and remove empty keypoints in ig…
beapc18 Aug 14, 2020
25122eb
#264 Fix export: add empty objects
beapc18 Aug 17, 2020
450a33d
#347 Implemented
Belberus Aug 17, 2020
0b5d33d
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Aug 17, 2020
95d15a5
Update version
beapc18 Aug 18, 2020
f3c1380
Merge pull request #349 from Belberus/develop
beapc18 Aug 18, 2020
5226744
#350 Fixed
Belberus Aug 24, 2020
348d213
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Aug 24, 2020
695290c
#352 Reset password finished
beapc18 Aug 24, 2020
eecbab6
#351 Done
Belberus Aug 26, 2020
48755e0
#354 Hint added
Belberus Aug 26, 2020
d8f81cf
#353 Transparency added
Belberus Aug 26, 2020
cb6e24c
#355 Ignore frames that are not in the original file
beapc18 Aug 27, 2020
665417c
Change version
beapc18 Aug 27, 2020
6c76914
Merge pull request #356 from Belberus/develop
beapc18 Aug 28, 2020
6683fce
#351 Bug Fixed
Belberus Aug 28, 2020
25d3f52
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Aug 28, 2020
82aa50f
Merge pull request #357 from Belberus/develop
beapc18 Aug 28, 2020
a29801b
#351 Bug fixed, again
Belberus Aug 28, 2020
765f6ae
#351 Bug fixed again, again
Belberus Aug 28, 2020
8794024
Merge pull request #358 from Belberus/develop
beapc18 Aug 28, 2020
5245dce
#360 Bug fixed
Belberus Sep 8, 2020
e7b89c1
#213 Updated
Belberus Sep 8, 2020
fab1d47
#213 Removing old unused files
Belberus Sep 8, 2020
76199d2
#213 Clean api.py
beapc18 Sep 8, 2020
8c42664
#213 Clean backend code
beapc18 Sep 8, 2020
269a845
#361 Zoom wasnt implemented in PT since it wasnt a priority at the time
Belberus Sep 10, 2020
15d3752
Update version
dari1495 Sep 11, 2020
29648b6
Merge pull request #362 from Belberus/develop
dari1495 Sep 11, 2020
fd9992b
Fix #359, updated frames information when exporting posetrack data.
dari1495 Sep 11, 2020
99d74bf
Merge pull request #364 from Belberus/develop
dari1495 Sep 11, 2020
0d9c6a6
Update version
dari1495 Sep 11, 2020
a3194e9
Merge pull request #365 from Belberus/develop
dari1495 Sep 11, 2020
8bb0a84
#366 PoseAIK objects disabled in selector
Belberus Sep 14, 2020
5f93081
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Sep 14, 2020
467cabe
Add load posetrack poses
dari1495 Sep 17, 2020
149706d
Fixed person keypoints are now sent to frontend. Part of #288. Bug: C…
dari1495 Sep 20, 2020
62f97f8
#213 some screenshots added
Belberus Sep 22, 2020
b3fecee
#213 some screenshots added
Belberus Sep 22, 2020
2ac335f
Fixed Coordinates 1.0 or 0.0 are eliminated from the JSON message. #288
dari1495 Sep 22, 2020
42f8041
Update version
dari1495 Sep 22, 2020
4e5aa14
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Sep 22, 2020
d2d0bd4
Update do not export buggy video 000048. Closes #318
dari1495 Sep 23, 2020
3338c74
#372 Information added at the bottom of the panel. #371 WIP
Belberus Sep 24, 2020
0cf9966
#371 fixed keypoint table visibility
Belberus Sep 24, 2020
5993dca
Update fix person array formatting. Part of #371 and #288
dari1495 Sep 24, 2020
fbd69dd
Merge pull request #374 from Belberus/develop
dari1495 Sep 25, 2020
b0344ba
#375 Click selection added
Belberus Sep 28, 2020
b55339f
#376 Shortcut added
Belberus Sep 28, 2020
37a8d83
#378 The not-visible color is gray in the person and in the button. T…
Belberus Sep 28, 2020
67ee2ec
#377 Fixed
Belberus Sep 28, 2020
48602fc
Merge pull request #380 from Belberus/develop
dari1495 Sep 28, 2020
fabfa81
Merge remote-tracking branch 'origin/develop' into develop
beapc18 Sep 29, 2020
7b17279
#381 Type person or pose added in aik export
beapc18 Sep 29, 2020
0a7df67
Update fix interpolate for PT persons. Closes #379
dari1495 Sep 30, 2020
e4168f5
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Sep 30, 2020
3996704
Update fix error notifications. Closes #327
dari1495 Oct 1, 2020
55f2829
#379 WIP
Belberus Oct 1, 2020
9b5b334
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Oct 1, 2020
e3f9ed7
#379 WIP
Belberus Oct 1, 2020
8f8c66d
Update fix interpolate between incomplete person PT skeletons. Closes…
dari1495 Oct 1, 2020
c3c7d40
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 1, 2020
cd8007e
#382 Replicate box in whole dataset
beapc18 Oct 5, 2020
c830bb5
#382 Remove labels too for boxAIK in remove annotations
beapc18 Oct 5, 2020
e471f6e
#382 Frontend WIP
Belberus Oct 5, 2020
2eed830
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Oct 5, 2020
ac125dd
#382 Frontend finihsed
Belberus Oct 5, 2020
4bbc96e
#382 Frontend finihsed
Belberus Oct 5, 2020
669e075
#382 Frontend finihsed
Belberus Oct 5, 2020
c83e089
Update prepare backend for #284
dari1495 Oct 6, 2020
d086f23
Merge pull request #385 from Belberus/develop
beapc18 Oct 6, 2020
0f66b41
#383 Bug fixed but needs a bit of testing
Belberus Oct 7, 2020
d142e83
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 7, 2020
cd5eb9d
#383 Hidden selected label color changed. Bug with "show labels" opti…
Belberus Oct 7, 2020
59f1eef
Update add frames list. Update fix get frame list request.
dari1495 Oct 9, 2020
c977432
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 9, 2020
6b6214e
#384 Frontend implemented and linked with the backend
Belberus Oct 9, 2020
6ce04e7
Update version
dari1495 Oct 10, 2020
7379696
Merge pull request #390 from Belberus/develop
dari1495 Oct 10, 2020
8c706f9
#391 Added this restriction and also a shortcut for toggling the visu…
Belberus Oct 16, 2020
64772f3
Update fix wrong number of keypoints. Add new function to check corre…
dari1495 Oct 18, 2020
deeff46
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 18, 2020
fbea996
Add files via upload
Belberus Oct 20, 2020
cba5e68
Create README.md
Belberus Oct 20, 2020
880dc7b
Add files via upload
Belberus Oct 20, 2020
9820f71
Update README.md
Belberus Oct 20, 2020
5e373bd
Update README.md
Belberus Oct 20, 2020
ad5b89f
Add files via upload
Belberus Oct 20, 2020
e4be5ce
Update README.md
Belberus Oct 20, 2020
525733d
Add script to updte image_ids in the database. #387
dari1495 Oct 20, 2020
52800fe
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 20, 2020
8be6c72
Merge pull request #392 from Belberus/develop
dari1495 Oct 21, 2020
4b273ec
Update fix load persons when start frame is not 0
dari1495 Oct 21, 2020
3b66465
Merge pull request #393 from Belberus/develop
dari1495 Oct 21, 2020
9f6347a
#394 Bug fixed
Belberus Oct 23, 2020
80c2d24
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Oct 23, 2020
5cee0e6
#396 Bbox and Bbox_head object types allow only visualization, not in…
Belberus Oct 27, 2020
96712b8
Add script to fix broken person keypoints
dari1495 Oct 30, 2020
2be26d6
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Oct 30, 2020
46b632a
#395 Small bug fixed
Belberus Oct 30, 2020
e2cc81e
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Oct 30, 2020
b801cf7
#395 Comment removed
Belberus Oct 30, 2020
4a3f1a5
Update database IP for server
dari1495 Nov 2, 2020
3e0fce8
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Nov 2, 2020
631ab85
Merge pull request #398 from Belberus/develop
dari1495 Nov 2, 2020
2d91d93
#400 BBox_head reactivated
Belberus Nov 6, 2020
b83eb87
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Nov 6, 2020
396d726
Add script to fix broken person keypoints
dari1495 Nov 6, 2020
f646028
Merge pull request #403 from Belberus/develop
dari1495 Nov 6, 2020
75efa02
Update fix broken person script to fix missing ears. #402
dari1495 Nov 6, 2020
570ec92
Update README.md
Belberus Nov 9, 2020
a77cdee
Add swap track_id for bbox_head and person. #401
dari1495 Nov 9, 2020
cbecbd7
#402 Added length check when adding the ears back to the keypoints
Belberus Nov 9, 2020
6870a6e
Merge branch 'develop' of https://github.com/Belberus/ThanosDidNothin…
Belberus Nov 9, 2020
df32f04
#404 BBox checking added to the frame disabilitation function
Belberus Nov 9, 2020
c5447a0
#213 remove pass
beapc18 Nov 9, 2020
b97ea52
Update fix broken persons code with correct formatting #402. Add scri…
dari1495 Nov 10, 2020
7659038
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Nov 10, 2020
27a6340
Update add fixes for posetrack_intro. Updated precompute scripts. Ada…
dari1495 Nov 11, 2020
9069e42
Merge pull request #405 from Belberus/develop
dari1495 Nov 11, 2020
1898756
Update version
dari1495 Nov 11, 2020
78ec1cf
Merge pull request #406 from Belberus/develop
dari1495 Nov 11, 2020
534fffb
#396 Done
Belberus Nov 17, 2020
4fbcc34
#396 Merge conflicts solved
Belberus Nov 17, 2020
537ede1
#396 Fixed missing conditions
Belberus Nov 17, 2020
4a59462
#409 Bug fixed. The selected object panel will close if the selected …
Belberus Nov 18, 2020
a5ad461
Update added videos to ignore in export, part of #408
dari1495 Nov 19, 2020
406f62f
Update videos now ignored in list too, closes #408
dari1495 Nov 19, 2020
8fd83b5
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Nov 19, 2020
b5545d3
Add batch swap track id, closes #410. Updated resize video's function…
dari1495 Nov 20, 2020
a89adfd
Update little bug of batch update track id that wouldn't let you sele…
dari1495 Nov 20, 2020
d76c809
Merge pull request #411 from Belberus/develop
dari1495 Nov 21, 2020
e236843
Update version
dari1495 Nov 21, 2020
ffcd822
Merge pull request #412 from Belberus/develop
dari1495 Nov 21, 2020
0d60a8c
Update README.md
Belberus Nov 23, 2020
0938684
Update README.md
Belberus Nov 23, 2020
caa23b3
Bump jquery from 3.4.1 to 3.5.0 in /src/static
dependabot[bot] Nov 23, 2020
7941339
Bump lodash from 4.17.15 to 4.17.19 in /src/static
dependabot[bot] Nov 23, 2020
9376c1d
Bump angular from 1.7.8 to 1.8.0 in /src/static
dependabot[bot] Nov 23, 2020
b5c7b8d
#416 Fixing changes due to the new versions
Belberus Nov 23, 2020
aff1662
#416 Tooltips disabled because of Jquery unsolved issue
Belberus Nov 23, 2020
6378ab8
Merge pull request #415 from bonn-activity-maps/dependabot/npm_and_ya…
Belberus Nov 23, 2020
dc8781a
Merge pull request #414 from bonn-activity-maps/dependabot/npm_and_ya…
Belberus Nov 23, 2020
016002b
Merge pull request #413 from bonn-activity-maps/dependabot/npm_and_ya…
Belberus Nov 23, 2020
af97c94
Merge branch 'de-dockerized' into develop
Belberus Nov 23, 2020
718a9fd
Merge pull request #417 from bonn-activity-maps/develop
Belberus Nov 23, 2020
db4f048
Merge pull request #418 from bonn-activity-maps/de-dockerized
Belberus Nov 23, 2020
4614cae
Update script to fix coordinates and not only visibilities of broken …
dari1495 Nov 26, 2020
e878e97
#420 add cylinder type and force z=0 for cylinder in update annotation
beapc18 Nov 27, 2020
467b19e
#420 add cylinder type
beapc18 Nov 27, 2020
61a3ecd
#421 extend box
beapc18 Nov 27, 2020
355dc7e
#421 Extension button added. Small visual fixes.
Belberus Nov 29, 2020
7896bb1
Update fix broken person script to write out a file with a list of mo…
dari1495 Nov 30, 2020
9c32a73
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Nov 30, 2020
96a978b
Merge pull request #424 from bonn-activity-maps/develop
dari1495 Nov 30, 2020
b9a31c8
#420 calculate points in cylinder
beapc18 Nov 30, 2020
c587d8f
Merge remote-tracking branch 'origin/develop' into develop
beapc18 Nov 30, 2020
0214649
Update uncomment db operation. #423
dari1495 Nov 30, 2020
1838697
Merge pull request #425 from bonn-activity-maps/develop
dari1495 Nov 30, 2020
d858f0f
Merge remote-tracking branch 'origin/develop' into develop
beapc18 Dec 2, 2020
2fc8974
#420 WIP frontend
Belberus Dec 2, 2020
900b719
Merge branch 'develop' of https://github.com/bonn-activity-maps/bam_a…
Belberus Dec 2, 2020
abb138c
#420 frontend WIP
Belberus Dec 2, 2020
adec21a
#420 project points in cylinder
beapc18 Dec 2, 2020
63ded93
Merge branch 'develop' of https://github.com/bonn-activity-maps/bam_a…
Belberus Dec 2, 2020
b819143
#420 Frontend done, cylinder visualization works
Belberus Dec 2, 2020
4d5c326
#420 add type boxAIK/cylinderAIK for each object in export
beapc18 Dec 2, 2020
91781ea
#420 remove empty objects in export
beapc18 Dec 2, 2020
85452ef
#420 Frontend finished
Belberus Dec 3, 2020
1e5d6cf
Merge branch 'develop' of https://github.com/bonn-activity-maps/bam_a…
Belberus Dec 3, 2020
b236516
Update ensure that person_id is always that of the bbox. Closes #422
dari1495 Dec 3, 2020
d18ff57
Merge pull request #426 from bonn-activity-maps/develop
Belberus Dec 4, 2020
9f327c0
#427 update export, change final file format
beapc18 Dec 14, 2020
4c40305
#427 update export, change final file format
beapc18 Dec 14, 2020
7361424
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Dec 17, 2020
38873cc
Update activate bbox swap track id. Closes #428
dari1495 Dec 17, 2020
be3ee9e
Merge pull request #429 from bonn-activity-maps/develop
dari1495 Dec 17, 2020
73485b5
Update export to never export negative numbers
dari1495 Dec 28, 2020
51f8172
#431 Implemented
Belberus Dec 31, 2020
8978522
Update export to limit the points inside the image. Closes #430
dari1495 Jan 4, 2021
87176fb
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Jan 4, 2021
a711bdd
Update delete leftover prints.
dari1495 Jan 4, 2021
947f19c
Update delete prints and add exception for -1 values of unavailable k…
dari1495 Jan 7, 2021
077b562
Merge pull request #433 from bonn-activity-maps/develop
dari1495 Jan 7, 2021
6c22434
Update bbox_head export format change and undo clamping of bbox_head.…
dari1495 Jan 18, 2021
013cf28
Merge pull request #434 from bonn-activity-maps/develop
dari1495 Jan 18, 2021
4b16f38
Update version
dari1495 Jan 18, 2021
df81b58
Merge pull request #435 from bonn-activity-maps/develop
dari1495 Jan 18, 2021
07f57c7
Update fix #422 little problem I forgot about
dari1495 Jan 18, 2021
540ef5e
Merge pull request #436 from bonn-activity-maps/develop
dari1495 Jan 18, 2021
4ff1591
Update add invalid tag for persons annotated without a bbox. Closes #388
dari1495 Jan 21, 2021
71b2af9
Merge pull request #438 from bonn-activity-maps/develop
dari1495 Jan 22, 2021
7687a82
Revert invalid processing in export. Closes #440
dari1495 Jan 28, 2021
f497ff9
Update ensure deep copy of depth > 1 arrays in frontend to make sure …
dari1495 Jan 28, 2021
9b9bfda
#442 Implemented
Belberus Feb 1, 2021
fef57b6
Merge branch 'develop' of https://github.com/bonn-activity-maps/bam_a…
Belberus Feb 1, 2021
27e50ff
Update script DB address and tool version
dari1495 Feb 5, 2021
41caf02
Merge remote-tracking branch 'origin/develop' into develop
dari1495 Feb 5, 2021
48b78f5
Merge pull request #443 from bonn-activity-maps/develop
dari1495 Feb 5, 2021
42902cc
Add idle timer manager to handle timeout. Credits: https://gist.githu…
dari1495 Feb 5, 2021
a930039
#445 Now the occluded points will be shown as gray also in the object…
Belberus Feb 8, 2021
28c3568
Merge branch 'develop' of https://github.com/bonn-activity-maps/bam_a…
Belberus Feb 8, 2021
3805fc1
#445 Improved the visualization by adding an outline to the points
Belberus Feb 12, 2021
6f1fe29
Add first version of sanity check (VERY WIP)
dari1495 Feb 12, 2021
e83e92b
Merge pull request #447 from bonn-activity-maps/develop
dari1495 Feb 12, 2021
1fb400c
Update sanity check (VERY WIP)
dari1495 Feb 19, 2021
eff70e0
Update testing git
dari1495 Feb 21, 2021
ef34a31
Update add exceptions to timeout. Closes #488
dari1495 Feb 24, 2021
d4c7291
Update fixed not flattening of bbox_head list. Closes #450
dari1495 Feb 25, 2021
b3f6337
Update added batch swap of track id for bboxes. Closes #449
dari1495 Feb 26, 2021
c629091
Update version
dari1495 Feb 26, 2021
3df6c38
Merge pull request #451 from bonn-activity-maps/develop
dari1495 Feb 26, 2021
8e29690
Update fixed little bug with export of bbox_head list
dari1495 Feb 26, 2021
f7e8205
Merge pull request #452 from bonn-activity-maps/develop
dari1495 Feb 26, 2021
7548990
Update added indent to json export
dari1495 Feb 27, 2021
ff772a4
Update rework of export posetrack function to fix #453 Including crea…
dari1495 Mar 1, 2021
a412387
Merge pull request #454 from bonn-activity-maps/develop
dari1495 Mar 1, 2021
5d04455
#455 Implemented
Belberus Mar 29, 2021
8680ade
Add first version (WIP) of sanity check. Object check working, fronte…
dari1495 Mar 29, 2021
4cbefd2
Add NEW version (WIP) of sanity check. Checks working, including obje…
dari1495 Apr 14, 2021
b5429fa
#455 Implemented
Belberus Mar 29, 2021
ca67048
Cleared some junk code. This commit and the previous one are in relat…
dari1495 Apr 14, 2021
f7e9697
#456 Implemented.
Belberus Apr 19, 2021
a55c2fe
Update fixed merge for bbox visualization and snaity check. #456 Clos…
dari1495 Apr 19, 2021
e1d7ac1
Update fixed visuals for sanity check table. #441
dari1495 Apr 19, 2021
efb7e42
Merge pull request #457 from bonn-activity-maps/develop
dari1495 Apr 20, 2021
68ea5d2
Update added threshold for calculation of bbox_head inside bbox
dari1495 Apr 20, 2021
d246a89
Update version
dari1495 Apr 20, 2021
051451d
Merge pull request #458 from bonn-activity-maps/develop
dari1495 Apr 20, 2021
b4bbec6
Update fixed sanity check for ignore regions with empty points.
dari1495 Apr 21, 2021
e267ad8
Update fixed sanity check for specific case of empty nested lists. #399
dari1495 Apr 26, 2021
5493278
Merge pull request #459 from bonn-activity-maps/develop
dari1495 Apr 26, 2021
db6480c
Add clickable list of sanity check errors. #399
dari1495 May 8, 2021
a145e10
Update version
dari1495 May 8, 2021
94d4199
Merge pull request #461 from bonn-activity-maps/develop
dari1495 May 8, 2021
20e2381
Update fixed error with not checking recursive length of bbox keypoin…
dari1495 May 19, 2021
b28ecc7
Merge pull request #465 from bonn-activity-maps/develop
dari1495 May 19, 2021
287c0f5
Update added new more specific error for duplicated person_id. #460
dari1495 Jun 5, 2021
7302438
Update show error only if keypoints are non-empty.
dari1495 Jun 5, 2021
eddf256
Update version
dari1495 Jun 5, 2021
04cc040
Merge pull request #466 from bonn-activity-maps/develop
dari1495 Jun 5, 2021
52bce1a
#467 update change person id
beapc18 Jun 24, 2021
0b92cdb
Merge pull request #468 from bonn-activity-maps/develop
beapc18 Jun 24, 2021
7a950e2
Create export_data.md
beapc18 Aug 31, 2021
723e986
# Absolute Path Traversal due to incorrect use of `send_file` call
May 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ venv
docker-compose.yml
initialize.js
src/static/node_modules/

src/python/config.py
notes.txtk
86 changes: 86 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Annotation Tool

This tool was created to interact (visualize, create, modify, remove) with **Bonn Activity Maps**[[1]](https://github.com/bonn-activity-maps/aikapi) datasets. Additionally, the tool supports interactions with **Posetrack**[[2]](https://posetrack.net/) datasets. The following sections contain the explanations of the main functionalities of the tool.

## Screenshots
### User
The tool has a user management system and is therefore protected by a login. This system allows two different types of user:
- **Annotators**: have access to the datasets that have been assigned to them. They can create, modify and delete annotations.
- **Superusers**: have access to all the management functionalities of the tool. They can create/modify/delete users, upload/remove datasets, modify the datasets assigned to each user and create real-time notifications for all the users using the tool.

![Login image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot2.png)

---

### Multiple views of the scene at the same time
The tool allows to have up to 4 camera views simultaneously to interact with. This views can be switched at all times with the ones stored in the views storage panel situated on the right of the tool.
The storage panel hides when not being used.

Since all the views are synchronized, moving through the timeline will update all the views to match the actual frame.

![Mutiple views image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot1.jpg)

---

### Annotations
The tool allows different types of objects; "Persons", "Poses" and "Boxes". Each object has an individual and unique UID for fast identification. Multiple objects can be visualized at the same time.
(TODO: maybe show the process focusing in a single person and show all assigned object types and actions to that UID)

![Poses image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot3.jpg)

##### Visualization
In the Keypoint editor you can visualize which frames (top row) have annotations for each object (first column). There are also special operations that can be perfomed at an object level and for a range of frames(red buttons):
1. Batch delete annotations.
2. Swap the UIDs of two objects.
3. For Poses, enforce all limbs' length.

![KeypointEditor image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot4.png)

##### Modification
Each object can be individually edited for each individual frame:
1. Each position of the keypoints can be modified by clicking or dragging.
2. The length of the limbs can be changed and enforced, so that the involved keypoints always respect that length constraints.
3. It is possible to delete the whole annotation or each individual keypoint.

In order to speed up the annotation process several operations can be performed:
1. **Interpolate**: searches the previous closest annotated frame for that object and interpolates all the frames in between.
2. **Autocomplete**: searches the previous closest annotated frame and copies its content to all the frames in between. This operation can be performed at an object or tag level.

Saving the annotation interpolates automatically (this option can be disabled in the Options Panel that will be shown later).

![KeypointEditor Editor image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot5.jpg)

##### Boxes
The objects of type "Box" are considered static and their behaviour is different. They represent entities whose position and orientation barely change during the whole recording, for example, chairs, tables, fridges, etc.

Each "Box" object has a *label* field to mark them as specific real-world objects (chair, table, fridge, etc.). When creating/editing a static object, changes will be replicated forward in the timeline, so all following frames will be also updated.

![Boxes image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot8.jpg)

##### 3D process
Since the datasets expect the annotations to be in 3D, the tool provides some aid to ease the process. When a keypoint is placed in one of the views, *epipolar* lines will appear on the other views. This lines can be used as a reference of where should the keypoint lie in that view. Once a point is placed in at least 2 different views, we can save it. The tool will then triangulate those points and generate the final 3D point.

![Epipolar image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot7.jpg)

##### Actions
Users can also annotate the actions being performed by each "Person". This actions can be visualized directly on the views.

![Actions 1 image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot13.jpg)

In the Actions Editor Panel, new actions can be created, specifying *action type*, *start frame* and *end frame*, and deleted.

![Actions 2 image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot12.jpg)


---

### Options and shortcuts
The tool lets the user change some options so that everything fits his/her specific preferences.

![Options image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot11.png)

Almost every action that the user can perform has a keyboard shortcut to speed up the annotation process. This shortcuts are available for different keyboard layouts to fit everyone.

![Shortcuts 1 image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot9.png)
![Shortcuts 2 image](https://github.com/Belberus/ThanosDidNothingWrong/blob/develop/images/screenshot10.png)

48 changes: 48 additions & 0 deletions docs/export_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Create backup and import data into a local database

## 1. Create a backup and download it from the server

- Create a new backup from bam_annotation_tool/src/db (This may take a few minutes):
```
./databaseBackup.sh
```
or
- Download the last backup


All the backups are located in `.../database_backups`

The name of the backup folder is the date in format: `yyyy-mm-dd_hh:mm:ss`

## 2. Import into local database

- Launch in local the database and annotation tool with docker:
```
./launch.sh -ldb
./launch.sh -aweb
```

- If you have previous data in the database, you can remove it:
```
mongo 172.18.0.2:27017/cvg path_to_bam_tool/src/db/reset.js
```

- Import the backup (this may take 5-10 min):
```
mongorestore --host "172.18.0.2:27017" --db cvg path_to_backup/'yyyy-mm-dd_hh:mm:ss'/cvg
```

## 3. Export from the local annotation tool

- Log in in the tool as root
- Go to dataset tab
- Export the datasets. The exported json files will be located in: `/usr/share/cvg/datasets`









Binary file modified images/CVG_BBDD.png
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 images/screenshot1.jpg
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 images/screenshot10.png
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 images/screenshot11.png
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 images/screenshot12.jpg
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 images/screenshot13.jpg
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 images/screenshot2.png
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 images/screenshot3.jpg
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 images/screenshot4.png
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 images/screenshot5.jpg
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 images/screenshot6.png
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 images/screenshot7.jpg
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 images/screenshot8.jpg
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 images/screenshot9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM nvidia/cuda:9.0-base
# install python3.6, pip and other libraries
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:jonathonf/python-3.6
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get install -y \
curl \
Expand Down
Loading