modified the picture taker to save images as rgb instead of bgr