This paper proposes methods and tools for determining plant pigments using data from a mobile phone video sensor. A disadvantage of the known studies in this field is that they are mainly aimed at determining the chlorophyll content. There are few studies related to the determination of pigments such as carotenoids, flavonoids, and betalains, which are also important in terms of determining the condition of plants in their cultivation. Cucumbers were chosen because the long periods of drought in Bulgaria, lead to losses in cultivating these plants. Vectors containing colour and spectral indices were used. These features are obtained through a video sensor on a mobile phone. The kernel method variant of principal components reduces them. Feature vectors are selected using factor analysis, correspondence analysis, and the correlation method. Predictive models have been developed to determine plant pigments. With high accuracy (over 90%), the pigments xanthophyll and chlorophyll A can be predicted.