Catalysis of the reaction: L-pipecolate + O2 = 2,3,4,5-tetrahydropyridine-2-carboxylate + H2O2 + H+. Delta1-piperideine-6-carboxylate is also known as 2,3,4,5-tetrahydropyridine-2-carboxylate.
L-pipecolate:oxygen 1,6-oxidoreductase activity