have getting this syntax error again and some identation error too, can anyone guide through the problem. thanks in advance.
I think you should comment this line
#CSI Camera (Raspberry Pi Camera Module V2), #uncomment the following line
camera = CSICamera(width=224, height=224, capture_device=0)
instead of
CSI Camera (Raspberry Pi Camera Module V2), #uncomment the following line
camera = CSICamera(width=224, height=224, capture_device=0)