A python command line tool to create Itty-Koch-Style saliency maps.
- Python 2 or 3
- Opencv 2+
- Find all the options by -h or --help
python saliency.py -h
- For the input image
- Simply specify the input/output directories
python saliency.py --inputDir [input_dir] --outputDir [output_dir]
- You can also mark the maximum saliency in the output image
python saliency.py --inputDir [input_dir] --outputDir [output_dir] --markMaxima
- Some recommendations for parameter tuning
- Image size
- A Model of Saliency-Based Visual Attention for Rapid Scene Analysis , Laurent Itti, Christof Koch, and Ernst Niebur, PAMI, 1998
- Released under the MIT license. See LICENSE for details.