Browse Subject Areas

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

An embedded system for the automated generation of labeled plant images to enable machine learning applications in agriculture

  • Michael A. Beck ,

    Roles Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Department of Physics, University of Winnipeg, Winnipeg, Manitoba, Canada, Department of Applied Computer Science, University of Winnipeg, Winnipeg, Manitoba, Canada

  • Chen-Yi Liu,

    Roles Formal analysis, Investigation, Software

    Affiliation Department of Electrical and Computer Engineering, University of Manitoba, Winnipeg, Manitoba, Canada

  • Christopher P. Bidinosti,

    Roles Conceptualization, Funding acquisition, Methodology, Resources, Supervision, Writing – review & editing

    Affiliations Department of Physics, University of Winnipeg, Winnipeg, Manitoba, Canada, Department of Applied Computer Science, University of Winnipeg, Winnipeg, Manitoba, Canada, Department of Electrical and Computer Engineering, University of Manitoba, Winnipeg, Manitoba, Canada

  • Christopher J. Henry,

    Roles Conceptualization, Funding acquisition, Methodology, Resources, Supervision, Writing – review & editing

    Affiliation Department of Applied Computer Science, University of Winnipeg, Winnipeg, Manitoba, Canada

  • Cara M. Godee,

    Roles Resources

    Affiliation Department of Biology, University of Winnipeg, Winnipeg, Manitoba, Canada

  • Manisha Ajmani

    Roles Resources

    Affiliations Department of Physics, University of Winnipeg, Winnipeg, Manitoba, Canada, Department of Applied Computer Science, University of Winnipeg, Winnipeg, Manitoba, Canada

An embedded system for the automated generation of labeled plant images to enable machine learning applications in agriculture

  • Michael A. Beck, 
  • Chen-Yi Liu, 
  • Christopher P. Bidinosti, 
  • Christopher J. Henry, 
  • Cara M. Godee, 
  • Manisha Ajmani


A lack of sufficient training data, both in terms of variety and quantity, is often the bottleneck in the development of machine learning (ML) applications in any domain. For agricultural applications, ML-based models designed to perform tasks such as autonomous plant classification will typically be coupled to just one or perhaps a few plant species. As a consequence, each crop-specific task is very likely to require its own specialized training data, and the question of how to serve this need for data now often overshadows the more routine exercise of actually training such models. To tackle this problem, we have developed an embedded robotic system to automatically generate and label large datasets of plant images for ML applications in agriculture. The system can image plants from virtually any angle, thereby ensuring a wide variety of data; and with an imaging rate of up to one image per second, it can produce lableled datasets on the scale of thousands to tens of thousands of images per day. As such, this system offers an important alternative to time- and cost-intensive methods of manual generation and labeling. Furthermore, the use of a uniform background made of blue keying fabric enables additional image processing techniques such as background replacement and image segementation. It also helps in the training process, essentially forcing the model to focus on the plant features and eliminating random correlations. To demonstrate the capabilities of our system, we generated a dataset of over 34,000 labeled images, with which we trained an ML-model to distinguish grasses from non-grasses in test data from a variety of sources. We now plan to generate much larger datasets of Canadian crop plants and weeds that will be made publicly available in the hope of further enabling ML applications in the agriculture sector.

1 Introduction

A review of the recent literature shows there is great optimism that advances in sensors [14], robotics [510], and machine learning [1116] will bring new innovations destined to increase agricultural production and global food security. Whether one speaks more broadly of precision agriculture, digital agriculture, smart farming, or Agriculture 4.0 (in reference to the anticipated fourth agricultural revolution), the confluence of these technologies could lead, for example, to automated methods of weeding, disease evaluation, plant care, phenotyping, and yield predictions [1628]. Such capabilities would increase crop yields and expedite breeding programs, while minimizing inputs (e.g. water, fertilizer, herbicide, pesticide) and reducing the impact on the environment.

Prototypes of autonomous vehicles performing farming tasks in the field exist already [9, 10, 29, 30]. However, putting the “brains” into such agents is still a hard challenge and success is limited to a crop’s specifics and the task at hand. Machine learning (ML) utilizing convolutional neural networks (CNNs) holds great promise for image-based location and identification tasks in agriculture. The capabilities of CNNs have improved vastly in recent years [3133] and are now used as solutions to previously difficult problems such as object detection within images [34], facial recognition [35], automatic image annotation [36], self-driving cars [37] and automated map production [38].

While there are many different CNN architectures and training methods, a general rule of thumb is the following: A model’s capability to identify objects in previously unseen data (called generalizing) depends significantly on the amount of data the model has seen during training [31, 39]. As a result, an inadequate amount of high-quality training data—in particular, labeled data—is often the bottleneck in developing ML-based applications, a fact underscored by many authors working in plant sciences and agriculture [1113, 1719, 2126]. This problem is magnified by the circumstance that each application is likely to require its own specific training data, especially given the very wide variety of plant appearances, e.g. tillering versus ripening, healthy versus diseased, crop versus weed. For example, training CNNs to distinguish oats from their wild counterpart—which are responsible for an annual loss of up to $500 million in the Province of Manitoba alone (according to—would certainly require a qualitatively and quantitatively rich dataset of labeled images of all variants.

The need for labeled training data is often satisfied by manual annotation, which is typically achieved through one of two ways. If the classification problem is common knowledge, it can be crowdsourced, as is done through platforms, such as Mechanical Turk [40] and ReCaptcha [41]. Conversely, if the classification problem requires expert knowledge, crowdsourcing will not be reliable and annotation must be performed by experts only. Both methods have been suggested for labeling plant images [12, 22, 24, 25], and although there are tools available to ease the process [4244], manual annotation is both cost- and time-intensive and usually leads to comparably small datasets in the magnitude of a couple of thousands images. As a workaround to having large, labeled datasets, several strategies, such as transfer learning with smaller labeled data sets [12, 45, 46] or unsupervised learning with unlabeled data [18], are being explored.

Variety in a dataset can also be increased by data augmentation, i.e. modificationss like rotating, translating, or color correction of existent images [12]. Which of these are suitable for a given dataset can be determined manually for each dataset or be incorportated into the learning process itself [47]. While including data augmentation can enrich an existing dataset in the training process and thus increase the robustness of the resulting neural network, it cannot fully resolve the need to generate actual images of plants from different perspectives, since, for example, plants have fundamentally different features when looked at from above or in profile. Another interesting approach is to generate synthetic images via plant models [11, 12, 46], generative adversarial networks [48, 49] or by merging images belonging to the same class (“smart augmentation”) [50]. To apply data augmentation and generative adversarial networks, an initial basis of labeled data is required. Similarly, for generating synthetic images a plant cultivar must be modeled such that the resulting images match the phenological properties of real plants. We cannot use data augmentation or synthetic methods to create, say, images of corn plants from a sunflower dataset. In other words these methods do not create images of classes different to those originally contained in the dataset. Thus, they do not scale over the wide variety of different crops and weeds and their respective growing stages. The ability to generate labeled images directly from real objects, then, remains a matter of great importance for machine learning in general.

In an effort to produce large quantities of high-quality training data for ML applications in agriculture, we have developed an embedded system to automatically generate and label images of real plants. This system—henceforth referred to as EAGL-I (Embedded Automated Generator of Labeled Images)—is, in a nutshell, a robotically moved camera that takes pictures of known plants at known locations from a large variety of known positions and angles. This allows us to collect a wider variety of images of a single plant. We can, for example, take top-down images or rotate the camera around the plant taking profile shots from any angle, allowing us to capture its three-dimensional features. This cannot be achieved by simple linear transformations of images captured from a fixed perspective.

Since we have full information and control over where on the image the plants are located, we can automatically identify and label them. As a result, EAGL-I can generate labeled data at the rate of thousands to tens of thousands of images per day, with minimal human interaction and no dependence on crowdsourcing or expert knowledge. This allows us to generate initial datasets, comprising of up to 20,000 images, for a specific crop or weed within a single day. Imaging over several days allows us to add variety to the dataset by adding more individuals of the same cultivar and by tracking their growing stages. With the EAGL-I system we can thus generate labeled plant datasets for machine learning applications on demand and in large quantities. The system described here can be applied to virtually any machine learning application and scaled to meet the needs at hand.

While there are many examples in the literature of plant imaging systems already [5164], their primary purpose has been to capture and compare phenotypic information and growth metrics. This is typically achieved through overhead shots only and requires close-to-zero variance in imaging conditions to ensure a high accuracy in extracting plant characteristics. This is at odds with the type of datasets needed to train machine learning algorithms for plant classification. In this case, one is interested in a rich dataset, with a wide variety of images falling under the same label. Variety can be achieved through differences in the chosen parameters, such as imaging angle (Fig 1), camera-to-plant distance, lighting conditions, time of day, growth stage, and the use of different plants of the same cultivar or species. One must also include different plants with different growing characteristics. For example corn (a fast-growing, tall grass) is very different, say, compared to dandelion (a ground-hugging rosette), but one still needs examples of both (and indeed others) in the same training set to identify crop versus weed with the highest possible accuracy. EAGL-I has the capabilities to incorporate all these differences and is, to the best of our knowledge, the only imaging system fully dedicated to the goal of generating machine learning datasets for plant classification.

Fig 1. Example images taken by EAGL-I.

A: Wild buckwheat in a profile shot. B-C: Yellow foxtail and barnyard grass in oblique angles. D: Canola in an overhead shot. Blue keying fabric is used as background.

The contributions of this paper are the following:

  • We designed an imaging system to create labeled datasets for training machine learning models
  • This system has a high imaging rate and autonomously labels the imaged plants, offering an alternative to time- and cost-intensive manual labeling
  • The system can image plants from any angle and at different distances, thus, exceeding simple image augmentation and producing the variety needed for training datasets (see [65, 66])
  • A wide variety of plants can be imaged and there is full freedom in their arrangement in the coverable volume
  • As a proof of concept, we generated a dataset of different weeds commonly found in the Province of Manitoba, trained a CNN with it, and evaluated the resulting model on previously unseen data

The rest of the paper is structured as follows. Section 1 describes the EAGL-I’s parts, specifications, and mode of operation. Section 2 describes data generation and defines the imaging rate of EAGL-I. It also lists the parameters we used in production to generate a training dataset. In Section 3, we characterize that dataset and use it to train a CNN to distinguish dicots from monocots. Section 4 concludes the paper and discusses planned improvements to the system and future work.

2 System overview

Table 1 gives an overview on the EAGL-I hardware. The system is setup in a gantry configuration (Fig 2), such that the gantry head can be moved in all three dimensions of a volume measuring 115 x 84 x 71 cm3. Two actuators per axis provide movement in the x-y-plane and a fifth actuator raises or lowers the gantry head. For safety and repeatability, we equipped the actuators with limit and homing switches. The normally closed limit switches prevent the actuators to move beyond their bounds. When the switches trigger (or lose power) the whole systems shuts off immediately and until a manual reset. The homing switches counteract possible drifts or slips of the actuators. An Arduino Uno controls the gantry system’s actuators, with power supplied by a 350-W AC/DC converter.

Fig 2. The EAGL-I system.

A: Full view with blue keying fabric pulled back to show the imaging volume. B: Close-up view of the gantry head carrying the pan-tilt system, the camera, and a powerbank.

On the gantry head we attached a pan-tilt system followed by an RGB camera. An Arduino-compatible micro-controller powers and controls the pan-tilt system via two servo motors, allowing the camera to be rotated through any combination of azimuthal and polar angles (360° pan, 180° tilt). The camera itself is powered by a commercial 20-Ah power bank that can support its imaging process for over 8 hours and is easily swapped out.

3 Data production

The two main contributions here are the duration of the robotic movement and the image processing time of the camera, each of which are discussed separately below.

3.1 Robotic movement

The camera is moved by the xyz-gantry and the pan-tilt-subsystem. Since panning and tilting the camera happens in parallel to the movement in x, y, and z (and is almost always faster), we can neglect that contribution for the imaging rate. We control the actuators close to the maximal pulse-rate the Arduino Uno can output (4000 pulses per second). This translates into a movement speed of (1) where pr is the pulse rate, d = 105 is the distance traveled per revolution of the actuator in millimeters, s = 1.8/360 = 0.005 is the fraction of a full revolution made by 1 step of the stepper motors, r = 0.2 is the gearbox’s reduction ratio, and m is a factor determined by the stepping mode. For full-stepping mode m = 1, whereas half-stepping means m = 0.5. The controller uses a linear acceleration and deceleration profile to ease in and out of the actuators’ movements. Overall, then, we have a nearly linear proportional relationship between pulse rate and travel speed. Furthermore, all three axis can be moved in parallel or one after each other.

When the camera is moved to a new position and orientation, it is useful to pause before proceeding to trigger it to take an image. This allows vibrations to settle down and not doing so might result in blurry images, especially when using longer exposure times.

When going through many different camera positions in sequence, the order in which those positions are visited is of equal, if not even higher, importance than the speed with which the camera is moved. To obtain a general optimal solution one would have to solve a three-dimensional traveling salesman problem (TSP), which is a well-known NP-hard problem in combinatorial optimization. In our typical application, we would have to solve the TSP for thousands of different positions. While still feasible, we settled for a nested zig-zag algorithm, as depicted in Fig 3, which offers a straightforward method to keep travel times between successive camera positions short.

Fig 3. Path of gantry head.

Movement of the gantry head in a zig-zag motion through columns and slabs of the coverable volume, starting in the bottom left near corner. The yellow arrows depict the motion from one slab to the next, nested inside those movements are the motions from one column to the next, depicted by the green arrows (only shown for the first slab).

The cuboid-shaped volume through which the gantry system can move the camera is divided into slabs of equal width along its x-axis. Those slabs are all subdivided into equally wide columns along the y-axis. Now, starting at the bottom of the first column (containing the coordinate system’s origin), we move the gantry head to the position inside that column with the smallest z-value. From there we move upwards through the positions with the next-largest z-values inside that column (ties in z-values are resolved arbitrarily). Note that small movements in x- and y-direction are still happening, but are limited by the columns boundaries. We keep moving upwards until reaching the highest position inside the column. From there we continue to the next column in positive y-direction and reverse the procedure: we start with the position having the largest z-value and descend through the column. We keep zig-zagging through the first slab’s columns until we reach the end of its last column. From there we move to the second slab in positive x-direction. We continue a zig-zag motion working our way through the columns, but this time, when we change columns we move in negative y-direction, until having traversed the entire second slab. We continue those zig-zag motions from slab to slab, until each position was visited.

3.2 Imaging process

The imaging process is initiated by sending an HTTP request to the camera over WiFi. The delay to send and process the request is negligible (of order of a few milliseconds) and thus is of no concern for the imaging rate. The time to perform the imaging itself depends on the camera settings and lighting conditions. In our indoor setup, without additional light sources and a maximal ISO of 200, the camera needs approximately 2.7 seconds to take an image. Allowing a higher exposure index would reduce that time, but also introduce grain to the image. Additional lighting will reduce the exposure time, but is presently not a main concern.

Images can be downloaded from the camera via a USB or WiFi connection. In either case, one can retrieve each image directly after it has been captured or retrieve all images in bulk after the system went through each of its positions. Retrieving the images in bulk decouples the imaging procedure from retrieving the data. By doing so, any delays or problems when transferring the images does not interfere with collecting the images. For the sake of automation, we value image collection higher than the data retrieval, since data generation takes much longer than its retrieval and thus is harder to repeat.

Depending on the application, an easy way to increase imaging rate is by cropping several subimages from a single image taken at a given position. In our application (generating single plant training data) this is a valid approach and can increase imaging rate up to one order of magnitude. Cropping out subimages results in different image sizes, which could be considered a drawback for some applications, but is rarely so in machine learning. Fig 4 shows an example of cropping several images from a master image.

Fig 4. Master image and cropped images.

A: Original master image taken by EAGL-I. B– D: three subimages cropped out from it. Note that the cropped images have different dimensions, whereas we present them here at the same size.

3.3 Production settings

We define average production times tm and ts for master- and subimages, respectively, as follows: (2) (3) where tp is the total time required to produce Nm master images (including robotic movements), td is the time to bulk download all master images from the camera to the computer, and tc is the time required to crop out a total of Ns subimages from the master images.

To create a training dataset, we have performed runs with the system on a daily basis under the settings listed in Table 2. This resulted in tm ∼ 7 s and ts ∼ 4.8 s. Those settings are conservative and we have achieved during testing ts < 1 s. Imaging at such fast rates comes at a cost of image quality, however. First, the shorter exposure time increases the ISO needed, which in turn introduces grain to the image. Second, to achieve maximal imaging rates, we have to pack plants in a tighter arrangement under the system. That can lead to overlap in the bounding boxes, i.e. meaning there are cases in which we can see plant material of neighboring plants in the images. Both points have to be accounted for, when using the data as training sets in machine learning. Higher grain in the image masks detailed features, and plant material from neighboring plants bring in unwanted features that do not correlate with the actual plant in the image. Image quality and imaging speed are two defining factors for the datasets that can be produced by EAGL-I and often have to be traded off for one another.

3.4 Cropping and labeling subimages

Different methods are available to us for cropping out a single plant from a master image. In the following we give a roadmap for two approaches based on image processing and CNNs, respectively. We chose for our system a third approach, instead, that relies on spatial information alone.

An image processing approach relies on color differences between the plant, the soil, and the image’s background. With segmentation algorithms we could identify the plants inside the image and construct a minimal bounding box around it. We describe a similar process in Subsection 2.5. In a second step the segments would have to be matched to the plants’ known positions to assign the correct label.

Alternatively one could consider machine learning techniques themselves for cropping and labeling subimages. This approach, however, can only be applied once a sufficiently trained model is available. Here a two-step procedure could be employed: First, a model is trained to define bounding boxes in the image for each plant. These bounding boxes would again be matched to the plants’ known positions for labeling. Now, a second model could be bootstrapped, that not only finds bounding boxes, but also labels them by recognizing the plants shown. Keeping in mind, that creating such models is ultimately the purpose of EAGL-I, we encounter a “chicken or egg” problem.

In the case that there are more than one plant captured in one image, both approaches mentioned above have to rely on the plants’ spatial information at one point or another to correctly match labels with subimages. Only after achieving the goal, which EAGL-I was built to solve, we can discard spatial information completely, while still correctly labeling subimages. On the other side, spatial information is always available to us and is sufficient for cropping and labeling subimages. This motivates the purely geometric approach we have implemented into our system. It calculates the plants’ coordinates inside the image from their known relative position and angle to the camera. As a result, labeling sub-images becomes trivial. Furthermore, the method is robust, as we do not have to rely on the stability of an image processing pipeline or a machine learning algorithm’s accuracy.

To calculate the bounding box around the plant we define a sequence of linear transformations that match the plant’s real-world coordinates (world frame) with the plant’s xy-position inside the image (image frame). The net transform is (4) Here Tw2c is the linear transformation from world frame to camera frame, i.e. a frame in which the camera is the origin pointing in positive x-direction. Thus, the linear transformation Tw2c consists of a translation, depending on the gantry head position and the displacement due to the pan-tilt system, and a rotation due to panning and tilting the camera. The transformation Tc2i converts the camera frame to the image frame, meaning that the objects inside the camera’s field of view are being projected on the xy-coordinates of the image. For this we calculate bearing and elevation of the object’s position from the camera. Using these angles we map the object to xy-coordinates (given in pixels), depending on the camera’s resolution and field of view. To calculate the object’s size in the image frame we calculate its subtended angle from the camera. To this end, we replace, for calculations, the plant by a sphere with radius large enough that the plant is contained inside of it. For full details on these transformations, we refer to our code in Ref. [67].

Given that we place plants on the floor (meaning the z-coordinate is known), we can also invert the projection Tc2i and the transform Tw2c to map the position and size of objects in image frame back to world frame. This inversion effectively allows us to determine any (sufficiently flat) object’s x- and y-position from a single overhead image taken by the system itself.

We want to point out that following a geometric approach to locate the plants comes with its own challenges: It relies on precise and accurate movements of the camera and location of the targets. Accuracy and precision of our robot’s movements turned out to be sufficient for this approach. To achieve good positioning of the targets, we measured and marked 12 target locations that we use repeatedly. The system can also generate new target locations and mark them with a laser. This allows us to not be limited to a fixed set of positions. A second challenge to a geometric approach are lens distortions, i.e. deviations from a perfect rectilinear projection from camera frame to image frame. Such distortions usually appear on the image frame’s margins. We countermeasure those drawbacks by using relatively large spheres to approximate the plants imaged. Other countermeasures would be to measure the distortions and use software correction before cropping the subimages, or to simply not use subimages that lie too close to the image’s margins, or to use digital zoom that effectively reduces the field of view to an area with only negligible lens distortions.

3.5 Image postprocessing

As mentioned above, EAGL-I produces images against a neutral blue background. This is a deliberate choice as the background has a high contrast with the plant matter, especially when converting the image’s colorspace from RGB to the CIELAB color space. This in turn, enables and simplifies image processing techniques, foremost background replacement. Having a background with little to no artifacts, or even a completely removed background, allows our data to be application-agnostic and thus be of use for a wider audience. By replacing the background users can tailor the data generated by the EAGL-I system towards their own application by, for example, inserting images of their local soil or lab environment as background.

We now shortly describe the background removal and replacement process for images created by our system (see Fig 5). We used the PlantCV library for Python [68], which itself is based on OpenCV [69]. In a first step we convert the image from the usual RGB color space to the CIELAB color space, in which the b-channel ranges from low values for blue pixels to high values for yellow pixels. Fig 5b shows the b-channel of our example as a grayscale image, the blue background appears dark, whereas the plant and soil are bright shades of gray. With a binary threshold-filter based on this channel we keyed out the plant as shown in Fig 5c. Additional filters can be applied to remove artifacts and to smooth the edges of the thresholding operation (e.g. dilating, filling holes, eroding, Gaussian blur). Once the background is keyed out, it can be replaced by any other application-specific background. In panel D of Fig 5 we used a stock photograph of soil as background. Again, additional measures can be taken to adjust for similar light conditions, perspectives and size. These are highly dependent on the application’s requirements.

Fig 5. Background removal.

A: Original Image captured by EAGL-I. B: The originals blue-yellow channel as a grayscale image. C: Keyed out image. The background is removed by defining a threshold for the blue-yellow values. All pixels below that threshold are masked out. D: The background is replaced by a stock photograph of soil.

Since the camera positioning can be repeated precisely, a second technique to key out the plant also becomes available: background subtraction. For this technique a second picture is taken from the same position and angle but without the plant. This image, that contains the background only, can be subtracted from the image containing the plant, leaving the plant itself.

Further image processing can be employed to remove the dark soil from the green plant or to extract morphological information. Those techniques are widely deployed in the area of (high throughput) phenotyping. For those techniques we refer to Ref. [68] and PlantCVs online documentation. For a visual demonstration of background removal and the EAGL-I system as a whole, we provide a supporting video, see S1 Video, with this paper.

4 The weedling dataset

As proof of concept we have generated a labeled dataset of seedlings of eight weeds that are common in Manitoban fields. This dataset [70] allows us to test systems that lie downstream in the development pipeline, in particular databases and the training of machine learning algorithms.

We chose weed species as targets, as they are of general interest and can be found amongst virtually every cash-crop in the field. The reasons to focus on a rather early growing stage are several. Using seedlings allows us to grow more individuals in rotation, discarding older plants for newer ones. This results in a richer dataset, compared to imaging a smaller number of individuals over their full life cycle. Furthermore, we can image more plants in parallel, thus achieving a higher imaging rate, if they are small. Lastly, a rather important and pragmatic argument is that the identification (and eradication) of weeds is most critical in the early stages of crop growth when plants are small and a canopy has not yet developed.

To generate the dataset we used the production settings as given in Table 2. In 10 runs we generated 34,666 subimages of weeds in a total imaging time of 47 hours and 30 minutes. Setting up the system to perform a single run requires personal attendance of roughly 15 minutes, after which the system continues autonomously and does not need further supervision. All images were taken in front of the blue background (Figs 1, 2 and 4) to ease image processing and segmentation. The dataset and its respective metadata (see below) is designed along two principles: First, we aim to showcase the system’s capabilities of taking images from many different perspectives, exceeding what would be possible by mere image processing. Second, along with its metadata this dataset should allow interested researchers to create subsets (e.g. only profile shots) that fit their needs and applications best. Table 3 gives an overview on the dataset’s characteristics.

Each image of the dataset is accompanied by two additional files. The first is a copy of the original image that contains bounding boxes corresponding to the cropped out subimages. The second is a JSON-file containing the following metadata fields:

  • version: A version number differentiating file formats; this dataset’s version is 1.5 and differs from earlier test sets in the number of data fields and formatting style.
  • file_name: A unique image identifier of the form yyyymmddhhmmss-pose#.jpg, where the first 14 digits encode year, month, day, hour, minute, and second of when the image was captured. The number after pose denotes the position of a specific data-acquisition run.
  • bb_file_name: A unique identifier for a copy of the master image with bounding boxes drawn on it. The format is equal to the one in file_name but with a -bb attached after the pose number.
  • date and time: Date and time at which the picture was taken
  • room and institute: Abbreviated location of where EAGL-I was set up.
  • camera and lens: Information about the camera being used. In the case that there is no specific lens information the lens field can be used for model information (in our case we use camera = GoPro and lens = Hero 7 Black)
  • camera_pose: A literal containing the camera position in terms of x, y, and z coordinates, polar-, and azimuthal angle.
  • bounding_boxes: A list of objects containing information for all cropped subimages, containing the following fields for each such image:
    • plant_id: A unique identifier for each plant, consisting of the first letters of its scientific name and a number, for example: echcru002
    • label: The common name label, for example: BarnyardGrass
    • scientific_name: For example Echinochloa crus-galli
    • position_id: Denoting the positional ID at which the plant was located
    • subimage_file_name: A unique subimage identifier of the form yyyymmddhhmmss#.jpg, where # is the position ID that ensures uniqueness
    • date_planted: The day we put the plant’s seed in soil
    • x_min, x_max, y_min, y_max: The subimage’s coordinates in the parent image, given as a percentage. A value of x = 0, y = 0 denotes the image’s upper right corner, whereas x = 1, y = 1 denotes the lower left corner; this is conform to the directions as defined in the OpenCV-library, which is used for our image processing pipeline

Since the available imaging perspectives of a plant depends on where it is located, we have sorted the position IDs into two classes: In the first class, four of the positions lie on the edge of the volume that the gantry system can cover. That limits the camera-poses from which we can image that position to half a cylinder. The second class of positions lie in the interior of the coverable volume, resulting in a half-sphere of possible camera-poses to image from. See Fig 6 for a visualization of the two different classes. The subimages are sorted by these two location classes and saved into respective subfolders.

Fig 6. Camera positions.

The different camera positions from which the plant located at the green triangle is imaged. Scenario A: Since the plant is located at the border of the traversable volume, we have a cylindrical shape from which we can image the plant. Scenario B: The plant is located in the inside of the traversable volume, resulting in circles at different heights and radii from which we image the plant.

4.1 Application example: Training a simple CNN

To demonstrate the value of data collected with the EAGL-I system, we train a CNN that sorts plants into one of two distinct classes. We want to point out, that the task itself and the methods employed serve only as an example for how a dataset created by our system can be used. Achieving a model with an accuracy competitive to state-of-the-art deep learning methods lies outside the scope of this paper and will be the focus of future work. For more advanced models similar in structure we refer to Refs. [7173]. Instead we take a data-centric perspective and employ the heuristic that supervised learning models are eventually limited by their training data [31, 39]. Consequently, the following discussion of results focuses on how EAGL-I can help in extending and modifying the training dataset to improve classification results for the model presented here.

4.1.1 Model and task.

The specific task we pose to the network is to differentiate between grasses and non-grasses. As representatives for grasses we have barnyard grass, wild oats and yellow foxtail. We chose this task (in contrast to other classification challenges like identifying each species by itself or for example differentiating the cash crop canola from weeds) for two reasons: First, a significant portion of our training images includes seedlings that have not grown their first true leaves, yet. Since all non-grasses in our datasets are dicots, a visual distinction between grasses and non-grasses is possible even during their earliest growing stages. Second, a key question to answer is how the data generation process has to be improved such that models trained on the respective data generalize to new scenarios. For this it is instrumental to test the models on external data. Defining this rather general task allows us to run the model with a wider variety of data, specifically to plants that we did not have access to when generating the training set.

To perform this task we trained a model based on the established ResNet architecture [74] with 50 layers and randomly initialized weights. We average and normalize the input images to enhance the actual differences between the pictures, which are the plants (in contrast to the rather uniform blue background). To counteract the slight imbalance between the two classes we introduce class weights cm and cd defined as (5)

We used 80% of the data for training, reserved 20% as validation data, and repeated training over the entirety of the training set 50 times (each one forming an epoch). The validation accuracy achieved a satisfactory convergence with a validation accuracy of 99.71% after 50 epochs (average of 99.79% and a variance below 0.025% over the last 20 epochs). The evolution of the validation accuracy per trained epoch is graphed in Fig 7.

Fig 7. Validation accuracy in percent evaluated after each training epoch.

4.1.2 Results in different scenarios.

Now we present new data to our network. In doing so we test its capabilities and how well it generalizes to new scenarios. Furthermore, we discuss options on how the EAGL-I system can collect data that will lead to better models. As testing data we consider the following collections that increasingly differ from the training data:

  • Images of the same species taken by the EAGL-I system, but with new individual plants. Those images differ from the training set only in having different individuals of the same species.
  • Images of the same species taken by the EAGL-I system, but under randomized camera angles and distances.
  • Images of the same species outside EAGL-I’s environment with a neutral background taken by a smartphone camera.
  • A collection of Arabidopsis and tobacco plant images under lab conditions produced by Minvervi et al. [57].
  • A collection of field data of sugar beets produced by Haug and Ostermann [75].
  • A collection of plant seedling images produced by Giselsson et al. [76].

The results for the different scenarios are summarized in Table 4.

Before discussing the results, we point out that the test datasets are small compared to our training and validation datasets. This is a strong indicator that (i) the generation of good labeled datasets can indeed be time- and cost-intensive, and (ii) datasets are often associated with specific applications in mind. This reinforces why a system like EAGL-I is so important: It allows one to quickly produce large amounts labelled data for a wide variety of applications.

In the first scenario an accuracy of 98.4% was achieved, indicating that the model generalizes to new plants of the same species imaged under the same circumstances. The model we used has converged on the training data and might even show first signs of overfitting. For example, if we apply the model that is available after 40 epochs of training, the accuracy on the test data increases by 0.5% to 98.9%. To counteract overfitting and improving classification accuracy we can introduce more representatives of the two different classes to our dataset.

When we randomize the positions from which we take images, we see that it has no significant impact on the model’s overall accuracy. From this we conclude that the variety of angles covered in our training sets are sufficient for the model to be insensitive to imaging angles (such as profile shots or overhead shots) when distinguishing grasses from non-grasses.

For images taken by smartphone with a neutral background, a high accuracy above 89% is still achieved. The model generalizes to new imaging conditions, then, although with reduced accuracy (which is to be expected). Thus, the accuracy on the test data could deviate from the model’s accuracy on a larger set of similar images. To give a more complete picture of where the model’s true accuracy lies, we calculated a Clopper-Pearson confidence interval of [0.78, 0.96] at a confidence level α = 0.05.

We now explore how a model trained on our dataset generalizes to data produced by others for species that are not represented in our training set. The dataset in Ref. [57] consists of 283 images of Arabidopsis plants and 62 tobacco plant images. The images are all taken top-down and show the plants at different growing stages. The dataset was taken with phenotyping applications in mind and contains images of dicots only. On the overall data we achieve an accuracy of 81.6%, which in this case coincides with how many plants were classified as dicots. This is a strong demonstration that models trained with our data can generalize to species not included in the training data. If we break the test data down via the two species, we see that the model has an even better performance on the Arabidopsis images (91.2%), while performing rather poorly on tobaccos (37.1%). This tells us that the training set we generated is missing dicots that are morphologically similar to tobacco plants, and that we need to include these to achieve a more robust model.

As a next step to test how far our binary classifier generalizes, we applied it to the dataset provided in Ref. [75]. T his dataset consists of field data taken in a sugar beet field and features crop and weed plants. Since the annotations do not specify the weeds, we only use images that show sugar beets (a dicot). The original data in Ref. [75] shows several plants per image. Thus, we used the metadata provided by the authors to crop out the sugar beet plants. Still, on many of those cropped images we see plants overlapping into the cropped section. This is in contrast to our training data, which has all plants well separated from each other. The test data also features natural background (dirt) in contrast to the rather homogenous backgrounds on images we trained and tested on before. On the aforementioned subset our model achieves an accuracy of 74%. While not perfect, this shows that the model has already some capacity to generalize to new lighting and background conditions and another species of plants the model has not trained on. A first step to increase the usability of the training data for this application would be to include sugar beets into the training set. Also, positioning the plants closer to each other inside the EAGL-I system, such that overlaps happen on the resulting images, will result in training data more suitable for this task. Furthermore, the background can be replaced by images of soil typical for the fields in the test dataset.

Finally, we applied our model to the dataset given in Ref. [76]. This dataset is very challenging for various reasons: First, the contrast between plant and background is not as distinguished as in our training set or the other test sets. Second, the data contains many plants at their earliest growing stages and as a result some images have a resolution as small as 49 x 49 pixels (see Fig 8 for an example of a high- and low-resolution image). Third, as in the previous test dataset, the images contain sometimes multiple overlapping plants, though the authors of Ref. [76] have ensured that only one species is present in each image. Fourth, the dataset contains only species that are not present in our training data. Still, our goal to distinguish monocots from dicots remains. To this end, we sorted the plants in Ref. [76] into two categories: maize, wheat, blackgrass, and loose silky-bent represent monocots; whereas sugar beet, mayweed, chickweed, shepherd’s purse, cleavers, charlock, fat hen, and cranesbill comprise the set of dicots. To test the model we chose the 250 images with highest resolutions for both classes. The achieved accuracy is 63.2% (confidence interval [0.59, 0.67] at α = 0.05). Although this value does not lie far above 50%, it is still significant as it shows that the model generalizes to some extent to data that shares only small similarities to the training data. A first step to improve accuracy would be to detect and crop out the plants in the test data before classification. This reduces the number of artifacts and ensures that no multiple plants are in a single image. Another improvement for this specific test data would be achieved by generating training data more suitable to the task, meaning imaging species used in Ref. [76] and focusing on overhead shots. As presented in Subsection 2.5, the blue background in the training images can be replaced by images of the granulate appearing in the images of Ref. [76] to achieve an even higher similarity to the test data. This idea to create training data that resembles the data we can expect in an application is exactly the raison d’etre of the EAGL-I system.

Fig 8. Examples of test data.

A: A test image taken with a smartphone. B: A cropped out image from the dataset in Ref. [75]. C-D: Two examples from the seedling dataset of Ref. [76]: a high-res image containing multiple sugar beets and artifacts to the left border and a low-res image containing a maize seedling.

5 Conclusion and future work

In this paper we described the construction, operation, and utility of an embedded system (EAGL-I) that can automatically generate and label large datasets of plant images for machine learning applications in agriculture. Human interaction is reduced to selecting the plants to image and placing them inside the system’s imaging volume. EAGL-I can create a wide diversity of datasets as there are no limitations in plant placement, camera angle, or distance between camera and plant within this volume. Furthermore, the use of blue keying fabric as a background enables additional image processing techniques such as background replacement and image segmentation. The system’s performance was demonstrated along several dimensions. With a subimage production time of ∼4.8 s, we produced a dataset of over 34,000 labeled images of assorted weeds that are common in the Province of Manitoba. We subsequently used that dataset to train a simple convolutional neural network for distinguishing monocots from dicots, which in turn was tested on a variety of other datasets with quite favorable results.

We see the EAGL-I system as a important stepping stone to enabling new ML-based technologies in agriculture, such as automated weeding, that will require large amounts of labeled training data. Our system also provides opportunities to follow research questions that were not accessible before. For example, with the ability to generate a quasi-unlimited source of data ourselves, we can investigate how quantity and quality of training data influences machine learning models. Normally the amount of training data for a problem is hard-capped and acts as an observation limit for this type of research.

There are many other directions for improvements and future work for the EAGL-I system, of which we mention a few here.

Future datasets

The EAGL-I system has been operational since late 2019. The Weedling dataset serves as a first sample and proof of concept for what the system can deliver. All the data that we eventually generate will be curated and released under a data management plan (see also Section 5). This includes partitioning the data into subsets similar to the Weedling dataset presented in Section 3.


The addition of programmable LED lighting elements are being planned and will allow us to customize lighting conditions on a per image basis, if desired. This will enable an even wider variety of images to be collected by simulating different lighting scenarios, e.g. sunny, cloudy, evening hours, etc.

System design and dimensions

EAGL-I is presently limited to take images inside its coverable volume putting hard limits on the number and size of plants that can be imaged in a given run. This leads to research questions about the design of imaging systems that are specific for the creation of labeled data. The challenge, then, is to design a system that can produce a wide variety of images—preferably including a wide variety of plants differing in size and growing pattern—at a small cost and high imaging rate. The gantry architecture of EAGL-I is simple and functional, but may not be optimal. One direction we are considering is mounting linear actuators and cameras directly to the walls and ceiling of a growth chamber.

Three dimensional plant data

Since we have full control over the camera position, we should be able to use software to reconstruct 3-dimensional plant models from 2-dimensional images taken from different angles. This could be a simple depth map extracted from two or more images via parallax or a 3d-point cloud combining more images. Alternatively, we can mount different imaging systems, such as stereoscopic cameras, to the gantry head in order to generate 3d data directly.

Detection and imaging of plant organs

Often one is interested in the specific parts or organs of a plant, such as wheat spikes. To image these effectively, we have to solve how to point the camera at the desired organ for each plant. To achieve this we could combine machine learning techniques with our imaging system to bootstrap a training dataset for identifying specific plant organs. From there we can use a model to automatically move the camera in close proximity of the wheat spikes, say, and capture high resolution images. Both, the training set for identification, and the image dataset of high resolution wheat spikes would be valuable for subsequent applications such as phenotyping, blight detection and crop evaluation in the field.


We designed EAGL-I as our first concept to generate large quantities of labeled plant-image data. It is a simple gantry design that can be scaled up or down in size to meet the needs of the user. Multiple systems can also be employed to increase data generation rate. To this end, we are now developing more compact systems that trade imaging rate for lower costs and even easier operation. Such low-cost plug-and-play systems offer non-expert users the ability to generate bespoke datasets with minimal effort. The systems can be set up in standard growing chambers and research labs, allowing plant scientist and breeders to support their own work directly and at the same time contribute (if so desired) to communal data generation on an even larger scale than would be possible through just our present single EAGL-I system. Where possible, this additional data will be ingested into the overarching dataset mentioned above.

6 Data availability

The dataset and model described in Section 3 are publicly available [70]. The production of much larger future datasets is underway and will include Canadian crop plants, such as wheat, canola, soybean, and pulses. We presently envision depositing these datasets at the Federated Research Data Repository ( through a data management plan developed with the tools provided by the Portage Network (

Supporting information

S1 Video. Video demonstrating EAGL-I and background removal.



The authors would like to the thank the following people for their support, generosity and vision: Ezzat Ibrahim for establishing the Dr. Ezzat A. Ibrahim GPU Educational Lab at the University of Winnipeg, which we used extensively for the computing resources needed here; Rafael Otfinowski, Karina Kachur and Tabitha Wood for providing us with seeds, plants and laboratory space to develop our prototypes and datasets; Jonathan Ziprick for many helpful conversations about the gantry system and actuators; and Russ Mammei and Jeff Martin for allowing us to use their magnetic field mapping system as the first prototype of EAGL-I.


  1. 1. Vazquez–Arellano M, Griepentrog HW, Reiser D, Paraforos DS. 3-D imaging systems for agricultural applications–A review. Sensors (Basel). 2016; 16(5):618.
  2. 2. Narvaez FY, Reina G, Torres-Torriti M, Kantor G, Cheein FA. A survey of ranging and imaging techniques for precision agriculture phenotyping. IEEE ASME Trans Mechatron. 2017; 22(6):2428–39.
  3. 3. Antonacci A, Arduini F, Moscone D, Palleschi G, Scognamiglio V. Nanostructured (Bio)sensors for smart agriculture. Trends Analyt Chem. 2018; 98:95–103.
  4. 4. Khanna A, Kaur S. Evolution of Internet of Things (IoT) and its significant impact in the field of Precision Agriculture. Comput Electron Agric. 2019;157:218–231.
  5. 5. Oberti R, Shapiro A. Advances in robotic agriculture for crops Biosyst Eng. 2016; 146:1–2.
  6. 6. Bechar A, Vigneault C. Agricultural robots for field operations: Concepts and components. Biosyst Eng. 2016; 149:94–111.
  7. 7. Bechar A, Vigneault C. Agricultural robots for field operations. Part 2: Operations and systems. Biosyst Eng. 2017; 153:110–28.
  8. 8. Duckett T, Pearson S, Blackmore S, Grieve B, Smith M. White paper–Agricultural robotics: The future of robotic agriculture EPSRC, 2018 International Robotics Showcase. UK-RAS White Papers, EPSRC UK-Robotics and Autonomous Systems Network. Retrieved May 6, 2020, from
  9. 9. Shamshiri RR, Weltzien C, Hameed IA, Yule IJ, Grift TE, Balasundram SK, et al. Research and development in agricultural robotics: a perspective of digital farming. International Journal of Agricultural and Biological Engineering. 2018;11:1–14.
  10. 10. Relf-Eckstein JE, Ballantyne AT, Phillips PWB. Farming Reimagined: a case study of autonomous farm equipment and creating an innovation opportunity space for broadacre smart farming. NJAS—Wageningen Journal of Life Sciences. 2019;90–91:100307.
  11. 11. Lobet G. Image analysis in plant science: publish then perish. Trends Plant Sci. 2017; 22(7):559–66.
  12. 12. Waldchen J, Rzanny M, Seeland M, Mader P. Automated plant species identification—Trends and future directions. PLoS Comput Biol. 2018; 14(4):e1005993.
  13. 13. Liakos KG, Busato P, Moshou D, Pearson S, Bochtis D. Machine learning in agriculture: A review. Sensors (Basel). 2018; 18(8):2674.
  14. 14. Patrício DI, Rieder R. Computer vision and artificial intelligence in precision agriculture for grain crops: a systematic review. Comput Electron Agric. 2018;153:69–81.
  15. 15. Kamilaris A, Prenafeta-Boldú FX. Deep learning in agriculture: A survey. Comput Electron Agric. 2018;147:70–90.
  16. 16. Jha K, Doshi A, Patel P, Shah M. A comprehensive review on automation in agriculture using artificial intelligence. Artificial Intelligence in Agriculture. 2019;2:1–12.
  17. 17. Binch A, Fox CW. Controlled comparison of machine vision algorithms for Rumex and Urtica detection in grassland. Comput Electron Agric. 2017; 140:123–38.
  18. 18. Bah DM, Hafiane A, Canals R. Deep learning with unsupervised data labelling for weed detection in line crops in UAV images. Remote Sens (Basel). 2018; 10(11), 1690.
  19. 19. Bosilj P, Duckett T, Cielniak G. Analysis of morphology-based features for classification of crop and weeds in precision agriculture. IEEE Robot Autom Lett. 2018; 3(4):2950–56.
  20. 20. Barbedo JGA. Digital image processing techniques for detecting, quantifying and classifying plant diseases. Springeplus. 2013;2:660.
  21. 21. Fahlgen N, Gehan MA, Baxter I. Lights, camera, action: high-throughput plant phenotyping is ready for a close-up. Curr Opin Plant Biol. 2015; 24:93–99.
  22. 22. Singh A, Ganapathysubramanian B, Singh AK, Sarkar S. Machine learning for high-throughput stress phenotyping in plants. Trends Plant Sci. 2016; 21(2):110–24.
  23. 23. Shakoor N, Lee S, Mockler TC. High throughput phenotyping to accelerate crop breeding and monitoring of diseases in the field. Curr Opin Plant Biol. 2017; 38:184.
  24. 24. Gehan MA, Kellogg EA. High-throughput phenotyping. Am J Bot. 2017; 104(4):505–08.
  25. 25. Giuffrida MV, Chen F, Scharr H, Tsaftaris SA. Citizen crowds and experts: observer variability in image-based plant phenotyping. Plant Methods. 2018; 14:12.
  26. 26. Tardieu F, Cabrera-Bosquet L, Pridmore T, Bennett M. Plant phenomics, from sensors to knowledge. Curr Biol. 2017; 27(15):R770–83.
  27. 27. Bacco M, Barsocchi P, Ferro E, Gotta A, Ruggeri M. The digitisation of agriculture: a survey of research activities on smart farming. Array 2019; 3–4:100009.
  28. 28. Charania I, Li X. Smart farming: agriculture’s shift from a labor intensive to technology native industry. Internet of Things 2020; 9:100142.
  29. 29. Lottes P, Hoeferlin M, Sander S, Müter M, Schulze P, Stachniss LC. An effective classification system for separating sugar beets and weeds for precision farming applications. Proc IEEE Int Conf Robot Autom; 2016. p. 5157–5163.
  30. 30. Ünal I, Topakci M. Design of a Remote-Controlled and GPS-Guided Autonomous Robot for Precision Farming. International Journal of Advanced Robotic Systems. 2015;12:194.
  31. 31. Russakovsky O, Deng J, Su H, Krause J, Satheesh S, Ma S, et al. ImageNet Large Scale Visual Recognition Challenge. Int J Comput Vis. 2015;115:211–252.
  32. 32. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015;521:436–444.
  33. 33. He K, Zhang X, Ren S, Sun J. Delving deep into rectifiers: surpassing human-level performance on ImageNet classification. Proc IEEE Int Conf Comput Vis. 2015; pp. 1026–1034.
  34. 34. Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. Adv Neural Inf Process Syst. 2015. p. 91–99.
  35. 35. Taigman Y, Yang M, Ranzato M, Wolf L. DeepFace: Closing the Gap to Human-Level Performance in Face Verification. Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit; 2014.
  36. 36. Vinyals O, Toshev A, Bengio S, Erhan D. Show and Tell: A Neural Image Caption Generator, Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit; 2015.
  37. 37. Bojarski M, Del Testa D, Dworakowski D, Firner B, Flepp B, Goyal P, et al. End to End Learning for Self-Driving Cars. arXiv:1604.07316 [Preprint]. 2016. Available from:
  38. 38. Henry CJ, Storie CD, Palaniappan M, Alhassan V, Swamy M, Aleshinloye D, et al. Automated LULC map production using deep neural networks. Int J Remote Sens. 2019;40:4416–4440.
  39. 39. Sun C, Shrivastava A, Singh S, Gupta A. Revisiting unreasonable effectiveness of data in deep learning era Proc IEEE Int Conf Comput Vis. 2017. p. 843–852
  40. 40. Buhrmester M, Kwang T, Gosling SD. Amazon’s Mechanical Turk: A new source of inexpensive, yet high-quality data? Perspect Psychol Sci. 2016;6 :3–5.
  41. 41. Schenk E, Guittard C, et al. Crowdsourcing: What can be Outsourced to the Crowd, and Why. Workshop on open source innovation, Strasbourg, France. 2009; 72:3
  42. 42. Russell BC, Torralba A, Murphy KP, Freeman WT. LabelMe: a database and web-based tool for image annotation. Int J Comput Vis. 2008;77:157–173.
  43. 43. Rapson CJ, Seet BC, Naeem MA, Lee JE, Al-Sarayreh M, Klette R. Reducing the pain: A novel tool for efficient ground-truth labelling in images. Proc IEEE IVCNZ; 2018. p. 1–9.
  44. 44. Dutta A, Zisserman A. The VIA annotation software for images, audio and video. Proc ACM Int Conf Multimed; 2019. p. 2276–2279.
  45. 45. Ubbens JR, Stavness I. Deep Plant Phenomics: A deep learning platform for complex plant phenotyping tasks. Front Plant Sci. 2017; 8:1190.
  46. 46. Ubbens J, Cieslak M, Prusinkiewicz P, Stavness I. The use of plant models in deep learning: an application to leaf counting in rosette plants. Plant Methods. 2018; 14:6.
  47. 47. Cubuk E D, Zoph B, Mane D, Vasudevan V, Le Q V. AutoAugment: learning augmentation policies from data arXiv preprint: 1805.09501. 2019 Available from:
  48. 48. Sixt L, Wild B, Landgraf T RenderGAN: generating realistic labeled data arXiv preprint: 1611.01331. 2017 Available from:
  49. 49. Antoniou A, Storkey A, Edwards H. Data augmentation generative adversarial networks arXiv preprint: 1711.04340. 2018 Available from:
  50. 50. Lemley J, Bazrafkan S, Corcoran P. Smart augmentation learning an optimal data augmentation strategy IEEE Access. 2017; 5:5858–5869. Available from:
  51. 51. Crimmins MA, Crimmins TM. Monitoring plant phenology using digital repeat photography. Environ Manage. 2008; 41:949–958.
  52. 52. Tisné S, Serrand Y, Bach L, Gilbault E, Ben Ameur R, Balasse H, et al. Phenoscope: an automated large-scale phenotyping platform offering high spatial homogeneity. Plant J. 2013;74:534–544. pmid:23452317
  53. 53. Granier C, Aguirrezabal L, Chenu K, Cookson SJ, Dauzat M, Hamard P, et al. PHENOPSIS, an automated platform for reproducible phenotyping of plant responses to soil water deficit in Arabidopsis thaliana permitted the identification of an accession with low sensitivity to soil water deficit. New Phytol. 2006;169:623–635. pmid:16411964
  54. 54. Jansen M, Gilmer F, Biskup B, Nagel KA, Rascher U, Fischbach A, et al. Simultaneous phenotyping of leaf growth and chlorophyll fluorescence via GROWSCREEN FLUORO allows detection of stress tolerance in Arabidopsis thaliana and other rosette plants. Funct Plant Biol. 2009;36:902–914. pmid:32688701
  55. 55. Chéné Y, Rousseau D, Lucidarme P, Bertheloot J, Caffier V, Morel P, et al. On the use of depth camera for 3D phenotyping of entire plants. Comput Electron Agric. 2012;82:122–127.
  56. 56. Dobrescu A, Scorza LC, Tsaftaris SA, McCormick AJ. A Do-It-Yourself phenotyping system: measuring growth and morphology throughout the diel cycle in rosette shaped plants. Plant Methods. 2017;13:95.
  57. 57. Minervini M, Fischbach A, Scharr H, Tsaftaris SA. Finely-grained annotated datasets for image-based plant phenotyping. Pattern Recognit Lett. 2015; p. 1–10. Available from:
  58. 58. Minervini M, Giuffrida MV, Perata P, Tsaftaris SA. Phenotiki: an open software and hardware platform for affordable and easy image-based phenotyping of rosette-shaped plants. Plant J. 2017;90:204–216.
  59. 59. Bai G, Ge Y, Hussain W, Baenziger PS, Graef G. A multi-sensor system for high throughput field phenotyping in soybean and wheat breeding. Comput Electron Agric. 2016;128:181–192.
  60. 60. Jiang Y, Li C, Paterson AH. High throughput phenotyping of cotton plant height using depth images under field conditions. Comput Electron Agric. 2016;130:57–68.
  61. 61. Barker J, Zhang N, Sharon J, Steeves R, Wang X, Wei Y, et al. Development of a field-based high-throughput mobile phenotyping platform. Comput Electron Agric. 2016;122:74–85.
  62. 62. Jimenez-Berni JA, Deery DM, Rozas-Larraondo P, Condon ATG, Rebetzke GJ, James RA, et al. High throughput determination of plant height, ground cover, and above-ground biomass in wheat with LiDAR. Front Plant Sci. 2018;9:237. pmid:29535749
  63. 63. Story D, Kacira M. Design and Implementation of a Computer Vision-Guided Greenhouse Crop Diagnostics System. Mach Vision Appl. 2015;26:495–506.
  64. 64. Lee U, Chang S, Putra GA, Kim H, Kim DH. An automated, high-throughput plant phenotyping system using machine learning-based plant segmentation and image analysis. PLoS One. 2018;13:1–17.
  65. 65. Mikołajczyk A, Grochowski M. Data augmentation for improving deep learning in image classification problem. 2018 International Interdisciplinary PhD Workshop (IIPhDW); 2018; 117–122
  66. 66. Han D, Liu Q, Fan W. A new image classification method using CNN transfer learning and web data augmentation. Expert Systems with Applications; 2018.;95:43–56
  67. 67. Beck MB, Liu CY. EAGL-I [software]. 2020 May [cited 2020 May] Available from:
  68. 68. Gehan MA, Fahlgren N, Abbasi A, Berry JC, Callen ST, Chavez L, et al. PlantCV v2: Image analysis software for high-throughput plant phenotyping. PeerJ. 2017;5. pmid:29209576
  69. 69. Bradski G, Kaehler A. Learning OpenCV: Computer vision with the OpenCV library. O’Reilly Media, Inc.; 2008.
  70. 70. Beck MA, Liu CY, Bidinosti CP, Henry CJ, Godee CM. The weedling dataset. Available from:
  71. 71. Iandola F N, Han S, Moskewicz M W, Ashraf K, Dally W J, Keutzer K. SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and < 0.5 MB model size. arXiv preprint:1602.07360. Available from:
  72. 72. Xie S, Girshick R B, Dollár P, Tu Z, He K. Aggregated residual transformations for deep neural networks. arXiv preprint: 1611.05431. Available from:
  73. 73. Mingxing T, Quoc V L. EfficientNet: rethinking model scaling for convolutional neural networks. arXiv preprint: 1905.11946. Available from:
  74. 74. He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit; 2016. p. 770–778.
  75. 75. Haug S, Ostermann J. A Crop/Weed Field Image Dataset for the Evaluation of Computer Vision Based Precision Agriculture Tasks. Comput Vis ECCV; 2015. p. 105–116. Available from:
  76. 76. Giselsson TM, Dyrmann M, Jørgensen RN, Jensen PK, Midtiby HS. A Public Image Database for Benchmark of Plant Seedling Classification Algorithms. arXiv preprint. 2017; Available from: