Check out this video for camera comparsion:
If you don't feel like watching the video, both cameras are good, but the 6p has an advantage in low light situations. As for which one is better, that's tough. If you care about physical buttons, the OnePlus gives you that choice.