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.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
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
...