Create 11.17 Close but no cigar.  Big logic problem? Read description.

Almost done I think.  I need to check the logic when it checks the rgb values (Line 63).  It should check every combination of rgb +- 20 for each pixel.  My logic/coding must be off.  The dictionary w1..w4 are values straight from the picture I was testing against and still the count stays at 0.  I'm going to check with the software engineer people on the third floor tomorrow why this isnt working.