There is a problem in the sense that capsaicin is often found present with other capsaicinoids such as nordihydrocapsaicin and dihydrocapsaicin. I do not think there is an easy UV/Visible spectrophotometer method which will distinguish between these forms.
Hence I would suggest the use of an HPLC method, where a mobile phase of 40% acetonitrile in water with 1% acetic acid, is used on a Spherisorb C18 analytical column at 35 °C and a UV/Visible detection wavelength of 280 nm.
Sample preparation would involve homogenisation and extraction with boiling 95% ethanol for 4 hours. Followed by filtration and dilution of samples in mobile phase.