Create VOC segmentation submission compatible tgz files.
BK = BLOCK_VISVOC() Initializes the block with the default options.
BK = BLOCK_VISVOC(BK) Executes the block with options and inputs BK.
Required input:
- db
The database.
- prediction
The output of the localization classifier.
Options:
- bk.challenge
The challenge which we are participating in.
bk.writeonly
Should we also compute a report about the accuracy? Default 1.
Fetchable attributes:
- report
Only valid if bk.writeonly was 0. Uses the VOC code to prodce accuracies and returns a structure with: accuracies: The accuracies for each category conf: The confusion matrix cat_names: The category names