• Stars
    star
    126
  • Rank 282,886 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python implementation of Itti's saliency map

pySaliencyMap

Python implementation for extracting a saliency map [1] from a still image.

Requirements:

Python (>= 2.7 is preferable)
numpy  (>= 1.7 is preferable)
OpenCV (>= 2.4 is preferable)
matplotlib (if you would like to run main.py)

Usage:

If you would like to test this package, please try
    python main.py
This provides a simple example how to use the class pySaliencyMap.

We also provide a sample code for testing this package with your own webcams. Please try
    python main_webcam.py

References:

[1] L. Itti, C. Koch, E. Niebur, A Model of Saliency-Based Visual Attention for Rapid Scene Analysis, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 20, No. 11, pp. 1254-1259, Nov 1998.