Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.

I'd like a python version of Saliency?

0 votes

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?


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:


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 (39,960 points)
edited Oct 2, 2018 by JeVois