Taking pictures from multiple cameras quickly - Raspberry Pi Forums


hey there,

i'm new using raspberry pi , using python have been tasked writing script make raspi take quick succession of photos when attached drone 4 different cameras different filters goal have same photo taken each camera compare photos different filters.

problem takes them , leads offset in images making comparing them difficult.

using raspistill commands in way:

code: select all

	setmulti('a') 	os.system('raspistill -t 1 -awb off -awbg 1.5,1.5 -o ' + imgpath) 	setmulti('b') 	os.system('raspistill -t 1 -awb off -awbg 1.5,1.5 -o ' + imgpath) 	setmulti('c') 	os.system('raspistill -t 1 -awb off -awbg 1.5,1.5 -o ' + imgpath) 	setmulti('d') 	os.system('raspistill -t 1 -awb off -awbg 1.5,1.5 -o ' + imgpath)
setmulti method changes output of pins 4 cameras use same multiplexer pins. @ moment, way know how use raspistill in case call command separately each camera because of need change pins in between believe slowing down.

i'm looking suggestions speed process such trying multi-threading or alternatives using raspistill i'm unaware of -- great.

thanks! :~)



raspberrypi



Comments