Skip to content

C++ code (with python wrapper) for measuring the F-measure and MAE scores for salient object detection

Notifications You must be signed in to change notification settings

houqb/SalMetric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SalMetric

This is the evaluation code for DSS

Requirements

OpenCV (version 3)
Cyphon

Install

For python user

python setup.py build_ext --inplace

or

python setup.py install

For C++ user

mkdir build && cd build
cmake .. && make

Usage

For app user

./build/salmetric dataset_list [num_thread]

dataset_list should have the following format:
1_sal.png 1.png
2_sal.png 2.png
3_sal.png 3.png
...

For python user

import salmetric
salmetric.do_evalution(num_thread, sal_lst, gt_lst)

sal_lst: a list that stores all the saliency maps
gt_lst : a list that stores all the annotation maps

About

C++ code (with python wrapper) for measuring the F-measure and MAE scores for salient object detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published