I had to renew my passport last fall and had the photos taken at the AMA (CAA) The first try was rejected at the passport office and fortunately had time to run back and have them reshot. So, even a place that takes many passport photos had trouble. It seems that the problems are avoiding glare on the cheek and hairline from the flash lighting up the background, and avoiding colour casts.
My advice is to be familiar with the technical requirements and get a couple of sets from different photographers as the passport office is very picky. Something to do with digitizing the photos for computer based facial recognition systems they are installng.