Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

I'd like a python version of Saliency?

0 votes
Hi,

I realize your not in business of satisfying my wants but ....  christmas is coming!

Is this something I could do my self?  Is there an example I could start from?

Thanks

Jack
asked Oct 2, 2018 in Programmer Questions by jack.johnson.pub (230 points)

1 Answer

+1 vote

Well, Ho Ho Ho then and how about this:

https://docs.opencv.org/3.4.1/d8/d65/group__saliency.html

This is not the original Itti & Koch algorithm, and we have not tested here but the docs suggest that python bindings are available and pretty easy to use:

from https://docs.opencv.org/3.4.1/d9/dcd/classcv_1_1saliency_1_1Saliency.html#aeee4f8dae6dd3201fe8569bb7c4b7e19

retval, saliencyMap = cv.saliency_Saliency.computeSaliency(image[, saliencyMap])

answered Oct 2, 2018 by JeVois (46,580 points)
edited Oct 2, 2018 by JeVois
...