I am using python 2.7 and opencv 3.1 on aws linux for image processing. when i run python script through command and if i run python script through php exec command on browser, in both cases its give different output result.
below are the different result :
original image :
Terminal output :
Output when run the python script through browser