options_play_music = str_to_bool(sys.argv[1]) options_verbose = str_to_bool(sys.argv[2]) imagePath = sys.argv[3] except: print("Wrong parameters") else : options_play_music = True options_verbose = True imagePath = path + '/images/landscape_see_blue_sand.jpg' # Extraction informations img = cv2.imread(imagePath) histo_tool = HistogramAnalyzer(img) colorAverage = HSBColor(histo_tool.get_hue_average(), histo_tool.get_saturation_average(), histo_tool.get_brigthness_average()) if options_verbose: print("### Average : ") print(colorAverage) print "Temperature : %2f" % colorAverage.temperature() print "Brightness : %2f" % colorAverage.brightness() colorMax = HSBColor(histo_tool.get_hue_max(), histo_tool.get_saturation_max(), histo_tool.get_brigthness_max()) if options_verbose: print("### Maximum : ")