Digital Image Analysis of Spices and Condiments for Plant Taxonomic Studies
Haider Iqbal Khan1, Mira Rani Das2, Ma Baset Mia3
1Associate Professor, Department of Crop Botany, Gazipur Agricultural University, Gazipur, Bangladesh
2Department of Agriculture Extension, Agriculture Training Institute, Laxmipur, Bangladesh
3Professor, Department of Crop Botany, Gazipur Agricultural University, Gazipur, Bangladesh
DOI: https://doi.org/10.51244/IJRSI.2025.120700237
Received: 24 July 2025; Accepted: 29 July 2025; Published: 26 August 2025
In response to the contemporary global demands of the 21st century, the Crop Botany department at Gazipur Agricultural University (GAU) has taken a significant initiative to introduce a web-based version of the Digital Herbarium and Herbarium Museum dedicated to crop plants. This digital repository encompasses a vast array of images featuring special crops like spices and condiments, enhancing academic and research capabilities with worldwide accessibility. The inclusion of photographic specimens serves as a valuable supplement to traditional herbarium collections, offering resources for both teaching and identification purposes. The digital format ensures instant access, fostering increased user interaction, as multiple individuals can collaborate on a single model simultaneously. This facilitates easy retrieval of information regarding descriptive details, published works, microscopic preparations, and nomenclature. The Digital Herbarium’s launch is geared towards maximizing the utilization of primary research materials, fostering connections within the research community, and reaching out to the general public, including school children.
Key words: Image, digital herbarium, specimen, online resource
The oriental and occidental trade of the world is prominently influenced by spices and condiments. Diversified choice of people around the world necessitated a wide range of spices. Among the wide range, the most important spices and condiments are ginger, turmeric, cinnamon, clove, saffron, coriander, dill, fennel, pepper, black pepper, cumin, chili, vanilla, star anise, mace, mustard, cardamom, fenugreek, nutmeg, basil etc. They are being used in preparing many kinds of cuisine, sweets and value add as well (Dubey, 2017).
Spices have been playing a very crucial role as flavoring agents, preservatives and medicines for centuries. Over the past few decades, researchers have explored their health benefits significantly, as most spices are well-known to possess properties related to reducing the probability of developing chronic diseases (Vázquez-Fresno et al., 2019). Due to the presence of aroma, the essential oil spices are esteemed, therefore plant product used as a condiment or for flavorings food (Gadegbeku et al., 2014; Agize 2014). Combination of clove, black pepper, cinnamon and cardamom is used mostly in special meat curries and rice preparations (Ribeiro-Santos et al., 2017). They are also used in preparing many kinds of cookery and sweets, and some spices like black pepper, ginger, long pepper, clove, peppermint, ajowan, fenugreek are used in traditional and folk medicine (Opara and Chohan, 2014). Therefore, it’s important to identify the spices for their traditional and proper use and application (Dubey, 2017). At present the information technologies are impressively accelerating scientific research with simple, easy and flexible approach of accessing data, compiled from all the world including herbarium collections (Sousa-Baena et al., 2014). Multiple applications of digitized herbarium have been developed since the 1990s. Some provide tools for entering specimen records into databases and publishing them on the internet. The number of databases is continually increasing (Kislov et al., 2017; Seregin and Stepanova, 2020).
This change in scope explanation toward a presentation of information through electronic revenue has created a demand for high-quality images (Kalafi et al., 2016; Vilar et al., 2015). Students and academicians have come to look forward to instant access for getting information. Portable electronic devices such as handheld video players, video-enabled mp3 players, cellular phones capable of delivering images, and notebook computers have become more sophisticated and more widely available at the present as well as storing and delivering information cost has reduced (Soltis, 2017). These conveniences are great opportunities for education and research (Barbedo, 2013). The digital herbarium is an effective web application of detail information regarding plants which provides an ease to manage well with lots of plants electronically in a pleasant manner and having a user-friendly interface with amazing photos and details such as plant taxonomy, plant general morphological appraisal along with other botanic information (Corney et. al., 2012). Images itself reflect and illustrate the characters that described theoretically (Besnard et al., 2018). These photographic specimens can provide as important supplements to herbarium collections by providing teaching and identification resources that are easily accessible to the public (Beaman and Cellinese, 2012). Digital Image is very important for the learn of plant taxonomy, the study of geographic distributions, and the stabilizing of nomenclature that provides material for teaching such as botany, taxonomy, field botany, plant communities, ethnobotany, agriculture, dendrology, forestry (Meineke et al.,2018; Seregin and Stepanova, 2020). Digital Image also ensures instant access and increased user interaction as numerous persons can work on the same specimen instantaneously and provide convenient access to information on descriptive details, published work, microscopic preparations, and nomenclature through hyperlinks (Henning et al., 2018; Hedrick et al., 2020).
With the scientific advancement over time, and to make the action more user responsive, accessible and efficient in use, the hardworking academicians of the department of Crop Botany, Gazipur Agricultural University (GAU) came forwarded to launch an online web version of Digital Herbarium and Herbarium Museum of crop plants. This Digital herbarium hold numerous images of special crops such as spices and condiment for improving academic and research capability which can be accessed anytime from anywhere in the world. The intent is to connect the research community and the general public including school children to make greater use of primary research material and to take care of the public interest and excitement in the learning of spices and condiments. Concerning to image analysis of spices and condiments the current project has been undertaken to convert the morphological characteristics and taxonomically important features of the spices and condiments by using digital images of herbarium into digital information for plant identification and for inspiring the public with the aims and methods of botanical science to get back the information in the network environment, ensure the development of lesson plans and developed research by using primary research materials from the herbarium and to establish cooperation between the different institutions and the development of an interactive GAU with a Web-based portal.
Although the idea of digital herbarium is a relatively new domain which is becoming very popular over the last 30 years (Seregin and Stepanova, 2020). For the development of digital herbarium in relation to spice and condiments, meticulous and collaborated efforts were made in cooperation of the project personnel, different universities and research organizations. It is a computerized program where image and plant parameters of different plant species are accessible on a compiled database, and unknown plant species could be identified from that database. This technique will enhance the knowledge on the image analysis of plants, and will give a boost to the application of information technology in plant sciences. This work included tasks from sample collection, taxonomic classification, photo shoot, literature preparation and uploading the whole formatted data to the website. The layout was sketched considering the content and the user group, and it was prepared to provide interactive experience between the users and the database contents.
Then website was designed and developed considering the layout. The design and layout of web app of digital herbarium has been completed and ready for inspection (Figure 1 & 2).
Figure 1. Sketch of the tasks involved for content preparation and layout of the web app of digital herbarium
Figure 2. Algorithm model for the development of website and e-learning system
Information regarding crop sciences has been published with necessary formatting, image editing and upload. For effective implementation of the study materials, the project also involves the development of an e-learning portal that will engage students from inside and outside the campus. Different interfaces were connected to continue smooth flow of information for the development of website and e-learning system, and established linking algorithm. Plant digital image information of spice and condiments was designed by combining with Microsoft Visual Basic 6.0 Enterprise Edition database management system and Structure Query Language.
Higher Education Quality Enhancement Project (HEQEP)
The department of Crop Botany, Gazipur Agricultural University (GAU) completed the subproject entitled “Establishment of Digital Herbarium and Herbarium Museum for improving Academic and Research Capability in Crop Botany” under the project of Higher Education Quality Enhancement Project (HEQEP) funded by World Bank. Establishment of digital herbarium and herbal museum for improving academic and research capability in crop botany with the financial help from window 2 of academic innovation fund (AIF) of higher education quality enhancement project (HEQEP) under University Grants Commission of Bangladesh (UGCB) is being implemented by Department of Crop Botany, GAU. Image and database of crop plants comprising field were digitized and developed a virtual herbarium, software and e-learning processes comprehensively. The virtual herbarium is linked with the websites of GAU.
Although sets of digital images can serve some of the same functions as physical specimens, it is available towards more people at a time. Large plant image collections have been assembled by absorbing smaller image collections as a result of coordinated contributions from many individuals. Because the images come from multiple sources, their quality and the data associated with them is not uniform. Ornamental and photogenic species are over-represented. Hence species are not that charismatic or are difficult to identify, are under or unrepresented. Often photographs of some features, such as bark or twigs, are not included. In other cases, several features may be combined in a single image. Image quality varies, and images may not be available at high resolution. The systematic collection of standardized digital images will address most of these problems. Standardized, systematic representation of features will allow comparison among taxa, and presentation of the variation among and within individuals. The capability to easily observe this variation allows users to recognize the plants in a visually natural way (Kirchoff, 2008). The system realized electronic management and retrieval of local plant information. The presence of many detailed images from the same individual also allows verification of the taxonomic identity, resulting in the production of a reliable collection of images. Occurrence data associated with these image sets adds to the distribution database for the species. Sets of digital images would complement, but not replace, traditional physical specimens in herbaria (Dillen et al., 2019). We should consider collecting images systematically as we do with physical specimens. Systematic collection would facilitate using the images in ways that take advantage of our remarkable abilities to process visual information.
Digital image have important roles in assisting in plant identification, and teaching taxon recognition (Cope et al., 2012). Set of digital image can supplement herbarium collection. To maintain appropriate manner in time image collection are more effective. Image of spices and condiments have been collected over a long period of time and recorded. This record provides historical and ecologically important data, but because it provides information useful in the identification of unusual specimens. A single image from time to time represents all of the features of a plant. If enough features are photographed, a set of images can adequately represent the gross morphology of a species. As aids of identification, sets of images are probably superior to herbarium specimens. Color and habit are better represented in images as is the living form of the plant. A set of photographs including pictures of the flower, leaves, stem and the whole plant is much more likely to allow learners to make correct identifications (Seregin, 2020). With regard to their use in learning, images may also be superior to herbarium specimens. Images depict the three-dimensional orientation of features more accurately than do pressed specimens. They represent features that are difficult or impossible to preserve in specimens, they also more accurately represent color. Although a single image cannot capture all of this variation, a set of images can. As records of occurrence, digital images can be as good as physical specimens, assuming that they capture sufficient information to allow unambiguous identification. If any features of the plant that are not photographed at the time of collection cannot be recorded at a later time, the photographer is able and willing to collect a physical specimen from the same plant, and if a reference to that physical specimen is included in the metadata associated with the image. Thinking of image sets as specimens can influence the way that we collect and organize images, which may increase their value as tools for education and research.
The key works of image analysis of spices and condiments included family, genus, morphological characteristics, and habitat and so on.
Imaging of live plants
High quality of images requires on the move toward to presentation of information through electronic way. Digital cameras are the most effective way and affordable to produce these images. As a result, the number of images available to students and faculty is much higher than at any time in the past. As the internet set in motion to develop, photographers quickly realized that slide images and specimens could be shared more widely when they were digitized and made electronically available. Digital images over represent the most photogenic species, and present few features of each plant. These photographic specimens can serve as important supplements to herbarium collections by providing teaching and identification resources that are easily accessible to the public.
Spice and condiment of GAU digital herbarium
There are various features of a plant’s collection and appearance that are used by expert botanists in plant morphological research.
Hot chili (Capsicum chinense Jack.) (http://dhcrop.Gau.net/hottest-chili/): Image has taken in the flowering stage as well as fruit set in twig another one is ripe fruit, and processed chili in bottle.
Canary grass (Phalaris canariensis L.) (http://dhcrop.Gau.net/canary-grass/): There are one picture in field, grass with inflorescence/cob/panicle.
Celery (Apium graveoliens L.) (http://dhcrop.Gau.net/celery/): Image of whole plant in field.
Bay leaf (Cinnamomum tamala (Buch.-Ham.) T.Nees & Eberm.) (http://dhcrop.Gau.net/indian-cassia/?doing_wp_cron): Image has taken whole plant in field, another one twig and one more leave.
Rosemary (Rosmarinus officinalis L.)(http://dhcrop.Gau.net/3710-2/): There are whole plant in field and an additional one whole plant with flower in field. Rosemary oil is used for purposes of fragrant bodily perfumes or to emit an aroma into a room. It is also burnt as incense, and used in shampoos and cleaning products.
Star anise (Illicium verum Hook.)(http://dhcrop.Gau.net/star-anise-2/): Image has in use fruits in plant, another image flower in plant and a further one carpel and seed.
Laurel (Laurus nobilis L.)(http://dhcrop.Gau.net/laurel/?doing_wp_cron): Twig with leaves image has here.
Basil (Ocimum basilicum L.)(http://dhcrop.Gau.net/basil/): There are image of twig with flowering, Stem Anatomy, Leaf Anatomy, Inflorescence
Olive (Olea europea) (http://dhcrop.Gau.net/olive/?doing_wp_cron): Here is whole plant in field and another one flowering and one mature fruit in plant.
FenugreekTrigonella foenum-graecum L.(http://dhcrop.Gau.net/3454-2/): There are image of one is whole plant, whole plant in field and methi itself (fruit/seed).
Camellia (Camellia spp.)(http://dhcrop.Gau.net/camellia/?doing_wp_cron): There are image of whole plant with flower.
Clove (Syzygium aromaticum (L.) Merr. & L.M.Perry)(http://dhcrop.Gau.net/clove/): There are one is heading, colve itself, whole plant, flowering and inflorescence and harvested clove.
Pepper (Piper nigrum) (http://dhcrop.Gau.net/pepper/): There are image of whole plant, leaf and fruit in inflorescence.
Lemon grass (Cymbopogon citratus (DC.) Stapf) (http://dhcrop.Gau.net/lemon-grass/): Image has taken of lemmon grass in field.
Panbilash (Clausena heptaphylla) (http://dhcrop.Gau.net/panbilash/): Here is leaf in plant.
Turmeric (Curcuma longa L.) (http://dhcrop.Gau.net/3016-2/): There are image of plant in field and some are flowering stage, whole plant and rhizome.
Ginger (Zingiber officinale Rosc.)(http://dhcrop.Gau.net/zinger/?doing_wp_cron): There are image of rhizome, close view of rhizome, plant with rhizome and adventitious root system, picture of different part of plant and whole plant and flower of ginger plant.
Aloo Bokhara (Prunus bokharensis) (http://dhcrop.Gau.net/aloo-bukhara/): Image has taken of whole plant, fruit with plant, stem anatomy,leaf anatomy, close view of fruit with plant, close view of fruit with plant and close view of fruit with plant. The tree is of medium hardiness.
Curry patta (Murraya koenigii (L.) Spreng) (http://dhcrop.Gau.net/curry-patta/): There are image of whole plant, fruit with twig in plant.
Fennel (Foeniculum vulgare Mill.) (http://dhcrop.Gau.net/fennel/?doing_wp_cron): Here is image of whole plant in field, flowering in field, and harvested curry fruit/seed.
Cardamom (Elettaria cardamomum (L.) Maton) (http://dhcrop.Gau.net/cardamon/): (A): whole plant in field, (B): real stem of plant underground of rhizome, (C): infloroscense, (D): capsule.
Black cumin (Nigella sativa L.) (http://dhcrop.Gau.net/black-cumin/?doing_wp_cron): (A): whole plant in field, (B): close view of flower,(C): harvested black cumin of BU kalajira-1 variety,(D): flowering stage,(E) : close view of capsule,(F): burst capsule.
Saffron (Crocus cartwrightianu)( http://dhcrop.Gau.net/saffron/): (A): whole plant in field with flower.
Chili (Capsicum spp.) (http://dhcrop.Gau.net/2564-2/): Video are present, (A): twig of plant with flower, (B): fruiting stage of whole plant, (C): whole plant with root in laboratory,(D): cross section of chilli stem, (E): BARI variety of sweet pepper, (E): BARI variety of sweet pepper.
Vanilla (Vanilla planifolia Jacks. ex Andrews) (http://dhcrop.Gau.net/vanilla/): (A): one is plant with flower.
Garlic (Allium sativum L.) (http://dhcrop.Gau.net/garlic/): (A): plant in field, (B): mulching in field, (C): umbel inflorescence,(D): (E): umbel inflorescence.
Coriander (Coriandrum sativum L.) (http://dhcrop.Gau.net/coriander/): (A): whole plant in field with flowering stage, (B): close view of flower , after harvested coriander.
Cinnamon (Cinnamomum verum J.Presl) (http://dhcrop.Gau.net/2046-2/): whole plant in field, 3rd stem,, 4th bark and 5th whole plant (close view), another photo is twig.
Cumin (Cuminum cyminum L.) (http://dhcrop.Gau.net/2034-2/): (A): whole plant in field with flowering stage, (B): another harvested cumin.
Indian olive (Elaeocarpus serratus L.) (http://dhcrop.Gau.net/indian-olive/): (A): whole plant, (B): close view of inflorescence, (C): stem of plant, (D): root anatomy, (E): stem anatomy, (F): leaf anatomy.
Linseed (Linum usitatissimum L.) (http://dhcrop.Gau.net/1351-2/): Video has present, (A): whole plant of linseed in field, (B): close view of whole plant, (C): (D) close view of flower. (E): linseed after harvested.
Black mustard/true mustard ( Brassica nigra (L.) Koch) (http://dhcrop.Gau.net/black-mustard/): (A): whole plant, black mustard.
Our new algorithm locates leaves, stem and features of spices and condiments are most useful and performance against a manually analyzed subset of the images. The algorithm achieves an accuracy of features are sufficient to identify different species of different spices (Kislov et al., 2017; Groom et al., 2017). The global climate is changing rapidly, changes in plant flowering times of warming temperatures gives us a way to look at the impacts of climate change and allows us to predict further changes in coming decades. (Panchen et al., 2012). Phenological information included in digital herbarium archives can produce annual phenological estimates and it may be utilized due to their longer duration and ability to discriminate among the various components of the plant community, hold imperative potential for use in future research to supplement the deficiencies of other data sources as well as address a wide array of important issues in ecology (Park, 2012). The shapes of plant leaves are of great importance to plant biologists and botanists, as they can help in distinguishing plant species and measure their health (Laga et al., 2013). Digital pictures of leaves were enhanced, segmented, and a set of features were extracted from the image. (Joaci de M. Sá Junior et al., 2011, Easlon and Bloom, 2014, Wijesingha and Marikar, 2012).
Advances in online resources and electronic publication provide the sciences with tools to revolutionize education and research. (Brach and Boufford, 2011). Image identification of plant requires the domain knowledge in the botanist field (Hussein et al., 2011). Image processing used for objective evaluation of quality parameters which is rapid, economical with great advantages in its objectiveness, efficiency and reliability (Dressler et al., 2017). The taxonomic classification of spices and condiments has usually been done by simple morphological observation and visual comparison, although the use of biometric indices has often proved to be a powerful approach in the taxonomic studies of the genus. Using image analysis techniques, (Orrù et al., 2013). Image analysis reassesses the taxonomic position of some neglected or doubtful taxa (Bacchetta et al., 2011). Identification keys require the observation of one or more morphological characters of an organism at each step of the process. While modern digital keys can overcome several constraints of classical paper-printed keys, their performance is not error-free (Carranza-Rozas et al., 2017). Moreover, identification cannot be always achieved when a specimen lacks some morphological features (Bruni et al., 2012). The characteristics of plant leaves image features are used to plant leaves classification and recognition (Du et al., 2013). Recognition of plant images is one of the research topics of computer vision. Object shape is more informative than its appearance properties such as texture and color vary between object instances more than the shape and focuses mainly on image enhancement, morphological feature such as area convexity (Bhardwaj et al., 2013; Carranza-Rozas et al., 2017). In recognition of different plant species through their leaf images is investigated by decision-making algorithm. The algorithm is employed to investigate inside the feature search space in order to obtain the best discriminant features for the recognition of individual species (Dressler et al., 2017).
In order to establish a feature search space, a set of feasible characteristics such as shape, morphology, texture and color are extracted from plant species (Ghasab et al., 2015). Using a computer-aided imaging analysis has been capable to identify of the seed morphometric variation as well as detect differences in seed morphology, both within and among populations. Morpho-colorimetric analysis clearly identified seeds from different populations and discriminated (Santo et al., 2015). Generally, cultivar identification is done on the basis of distinctive traits, such as shape, size, colour of the testa and ornamentations. Therefore, it is important, from both technical and economical points of view, to have a quick, reliable, repeatable, and nondestructive method to be able to identify and classify seeds objectively (Seregin and Stepanova, 2020). In order to promote computerised image analysis as a tool to aid visual inspection in the discrimination of different seeds, this technique was applied to analyze and identify seeds of varieties (Soltis, 2017). The assessment of some seed aspects such as colour, size and shape is important in grading system as well as to characterize accessions of core collections (Iva e al., 2013). Morpho-colorimetric quantitative variables describing seed size, shape, colour and texture were analyzed using image analysis techniques (Bianco et al., 2015). Human perception of plant leaf and flower colour can influence species management. Colour and colour contrast may influence the detectability of invasive or rare species during surveys. For measuring plant leaf and flower colour traits using images taken with digital cameras. The analysis of digital images taken with digital cameras is a practicable method for identifying in the field or lab (Kendal et al., 2013). Plant species classification using leaf samples is a challenging and important problem to solve. This motivates a separate processing of three feature types: shape, texture, and margin; combined using a probabilistic framework (Mallah et al., 2013). Colour, size and shape of seeds are very important in the grading system for many crops. Image analysis system for spices and condiments seeds was able to highlight differences among varieties and different stability of variety (Smykalova et al., 2011). The steps of image analysis done in some image processing focusing on agriculture application and also the details analysis of parallel and distributed image processing (Nasir et al., 2012).
Adopting features and orientations allows alongside comparison of images and the creation of standard displays for the identification of closely related species. Since the set of images from a given individual is intended to be a photographic specimen, the image set must contain enough images to allow the plant to be definitely identified at the species level (Walter et al., 2015). To make this possible, as complete a set of primary features as is practical should be taken from the same individual plant. The locality of each individual should also be recorded.
Images photographed can be used for a variety of purposes, including taxon identification, comparison of similar taxa while learning taxon recognition, and presentation in print publications or posters. Such uses require high quality images present the subject in a method that does not detract from the feature being presented. If the educational promise of digital plant images is to be fulfilled, many high quality images must be collected and made available. To accomplish these goals and this level of quality, the following recommendations are suggested:
The contemporary speedy advance of powerful electronic, software, and network tools and the installation of determined projects reveal the huge potential of the web to deliver image enhanced education. The use of more and more widespread image-based resources such as handheld video players and the wireless internet provide an unparallel opportunity to produce image-based content and deliver it to a large addressee. However, this opportunity will be unrealized without high quality images required in order prepare the content. A large collection of publicly available digital live-plant images needs to the hard work of finding, identifying, and photographing plants in the field. This reality has two important implications that is unlikely labor-intensive work will be redone in the future if it is strong-minded that some features or quality is lacking in the existing images. Secondly, locating and identifying the plants themselves is a challenge collective with the compilation of physical specimens. This challenge can only be meet successfully with the cooperation of herbaria and the professionals associated with them. Identification of specimens can best be skillful at the time of imaging if the photographer is an expert, or if the photographer goes together with an expert into the field. Many of the goals and challenges concerned in creating new image-based plant educational resources are collective with those of traditional herbaria. Consequently, these challenges can be best met through collaboration with the existing networks of herbaria.
The Authors acknowledge the financial support of World Bank through the HEQEP project implemented by the University Grant Commission (UGC) of Bangladesh. Special thanks for all the members of the dept. of Crop Botany of Gazipur Agricultural University, for cordial support to execute the programme successfully.