Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Refactor LabelFileFormat object and create abstract class for Reader and Writer objects #973

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ZachKLYeh
Copy link

Refactor of LabelImg application:

  1. LabelFileFormat: Create a class for LabelFileFormat instead of enum. All file formats should follow the class by specifying extension, reader and writer objects. The file extensions are saved in classes and the detection of file type can be done by loop iterations.
  2. Abstract class for Reader and Writer: Allignment of IO operation for all reader and writers, this makes loading and saving file a static operation, rather than different function by the original design.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant