Add dedicated Laparoscopic rendering scripts #102
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces support for the Laparoscopic project alongside the existing Colon configuration, by adding three new scripts rather than modifying the originals.
Motivation
scripts/install_and_enable_addons_render.pyis tightly coupled to the Colon project’s node setup and cannot produce labels for Laparoscopic renders.What’s Changed
scripts/install_and_enable_addons_render_laparoscopic.pyNote: Both install scripts could eventually be unified behind a
--projectflag, pending some refactoring and testing.scripts/run_laparoscopic_RandomiserBlender.shFuture: We could merge both runners under one script with a
--projectflag.scripts/run_laparoscopic_multiple_timesHow to run:
Example to create 1000 images with labels:
path/to/parameters.jsonthe script will generate 1000 images and 1000 labels