Skip to content

Desktop/sealion multicam#1024

Merged
BryonLewis merged 15 commits into
mainfrom
desktop/sealion-multicam
Dec 10, 2021
Merged

Desktop/sealion multicam#1024
BryonLewis merged 15 commits into
mainfrom
desktop/sealion-multicam

Conversation

@BryonLewis
Copy link
Copy Markdown
Collaborator

@BryonLewis BryonLewis commented Nov 1, 2021

fixes #1019

Got it to run in it's basic form by allowing the pipeline type using some very rough regEx. Would like a better way to do this in the future.
Background:

Updates:

  • Updated writeMultiCamStereoPipelineArgs to include the trackwriter used by the new pipes
  • added multiCamPipelineMarkers for 2-cam and 3-cam pipes.
  • added new regex for the allowedPatterns to support the 2/3-cam pipes
  • RunPipelineMenu will no on load determine the number of cameras in the metadata. It will also do this when the props.subTypeList changes (this happens directly after importing). It will then only display the pipelines relevant to the data type 'stereo' | 'multicam' as well as the number of cameras 2 | 3

@BryonLewis BryonLewis changed the title [WIP] Desktop/sealion multicam Desktop/sealion multicam Dec 7, 2021
@BryonLewis BryonLewis marked this pull request as ready for review December 7, 2021 17:43
Copy link
Copy Markdown
Contributor

@subdavis subdavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I followed the instructions, my pipeline list looked like this for a normal dataset.

Screenshot from 2021-12-07 13-52-50

`Started ${selectedPipe.value?.name} on ${props.selectedDatasetIds.length} dataset(s).`));

const checkCamNumber = async () => {
if (props.subTypeList.length === props.subTypeList.filter((item) => item === null).length) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic needs documentation. What is this doing? What is the whole function doing?

Comment thread client/dive-common/components/RunPipelineMenu.vue Outdated
Comment thread client/dive-common/components/RunPipelineMenu.vue Outdated
Comment thread client/dive-common/components/RunPipelineMenu.vue Outdated
Comment thread client/dive-common/components/RunPipelineMenu.vue Outdated
sortedPipelines[name] = category;
} else if (props.subTypeList.length === props.subTypeList.filter((item) => item === 'multicam').length
&& (multiCamPipelineMarkers.includes(name))) {
if (name.split('-')[0] === camNumber.value.toString()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this gives me anxiety. I don't know what to do about it though.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could restructure const multiCamPipelineMarkers = ['2-cam', '3-cam']; to be an object with a key-name and the number of cameras it represents?

@BryonLewis BryonLewis merged commit a4a0b1e into main Dec 10, 2021
@BryonLewis BryonLewis deleted the desktop/sealion-multicam branch December 10, 2021 12:55
subdavis added a commit that referenced this pull request Dec 20, 2021
* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
subdavis added a commit that referenced this pull request Dec 20, 2021
* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
subdavis added a commit that referenced this pull request Dec 20, 2021
* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
subdavis added a commit that referenced this pull request Dec 28, 2021
* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
subdavis added a commit that referenced this pull request Jan 3, 2022
* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
subdavis added a commit that referenced this pull request Jan 20, 2022
* Mongo 1: Server side implementation (#1066)

* Poetry fix (#1087)

* Poetry fix

* Add check for app root

* Desktop/sealion multicam (#1024)

* init

* Allowing multicam to write tracks

* inut name change

* lint fixes

* Updates to multicam

* fixing import loading

* removing multicamImageFiles change

* Fixing various issues

* mend

* mend

* switching to every

* Example without fetching metadata (#1088)

Co-authored-by: Brandon Davis <brandon.davis@kitware.com>

* Server-side implementation

* Include description and timestamp

* Respond to comments

* Switch to checking mongo results

* select sub-element

* Unmangle indices

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>

* Mongo 2: Rollback API (#1067)

* Implement rollback

* Switch to POST /dive_annotation/rollback

* Mongo 3: Utilize new endpoints in celery (#1068)

* Utilize new endpoints in celery

* Respond to comments

* Linting, formatting, and unit tests

* respond to comments

* Import shutil

* Client changes to support revisions (#1070)

* Remove broken summary and report generation (#1071)

* Add simple sharing test and new indices

* Migraction script updates

* Add loading state to clone button

* label fetch

Co-authored-by: BryonLewis <61746913+BryonLewis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Desktop MultiCam Pipeline Support

2 participants