It looks to be German navy enlisted uniform around the time period of WW1. There doesn't appear to be any rank markings on the collar patches so I would say he was a seaman. This photo was probably a souvenir photo taken sometime after he enlisted in the navy.