Skip to content

[LABIMP-7672] added mock function for Video_to_image_project_creation - #15

Closed
yashsuman15 wants to merge 0 commit into
Labellerr:mainfrom
yashsuman15:feature/LABIMP-7672
Closed

[LABIMP-7672] added mock function for Video_to_image_project_creation#15
yashsuman15 wants to merge 0 commit into
Labellerr:mainfrom
yashsuman15:feature/LABIMP-7672

Conversation

@yashsuman15

Copy link
Copy Markdown
Collaborator

No description provided.

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.

VideoProject:

  @staticmethod
  def to_image_project(self, video_project_id, image_project_name):
      pass
  
  @staticmethod
  def get_datasets(self, ..)
      pass

don't make a converter class, make a generic class and have static methods only.

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.

Code Refactored

-Convert all classes (ImageDataset, VideoFrame, VideoProject) from instance-based to static method pattern.
-Remove constructors and instance variables.

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.

2 participants