reimplementation of API to get single camera image