This question already has an answer here:
I'm starting to write a book on opencv. Since I've been contributing on this tag for a long time, I had the opportunity to read & answer several interesting threads on Stackoverflow related to this technology.
I would like to discuss some of the interesting cases published on Stackoverflow in my book, and I wonder if I could use the images and code shared on those threads in it.
I'm hoping somebody from StackExchange could clarify about the copyright status of the material shared on Stackoverflow questions/answers.