I'm moving the camera around an object all with python script. Now I want to get the image from the camera and work with it (some image processing) and then save it..Etc
Now I'm just rendering the view like so:
for po in positions: scene.frame_set(number_of_frame) cam_ob.location = po cam_ob.keyframe_insert(data_path="location", index=-1) bpy.data.scenes["Scene"].render.filepath = '/home/shot_%d.jpg'%number_of_frame number_of_frame += 1
Anyone has done that before? I just want to get the image as a variable (matrix or array) to process it.