Introduction #
The authors have unveiled and made available a novel Pesteh Dataset focusing on pistachios, comprising six videos totaling 167 seconds in length, with a total of 3927 labeled pistachios. Their objective was to introduce a novel system for quantifying the various types of pistachios using computer vision techniques. A distinctive aspect of their approach is that, unlike numerous existing studies, their model is designed to count pistachios within videos rather than static images. This poses a unique challenge as it necessitates assigning each pistachio across consecutive frames of the video, ensuring that each instance is accurately counted only once.
Motivation
In modern industries, automation plays a crucial role in enhancing efficiency and conserving resources. Among various sectors, the agricultural industry and its related fields stand out as needing further advancements in automation. Proper packaging of agricultural products not only boosts profitability but also minimizes crop losses. However, the classification of crop quality traditionally relies on human resources, leading to time-consuming processes, escalating costs, and often lacking the precision achieved by machines.
Pistachios, for instance, require human intervention for sorting and counting to evaluate crop quality based on whether their shells are open or close. Typically, pistachios are sorted into categories based on the shape of their shells—either open-mouth or closed-mouth—each with distinct pricing and value. Renowned for their nutritional value, pistachio kernels are rich in unsaturated fatty acids, fiber, carbohydrates, proteins, and various essential vitamins, making them highly beneficial for human consumption. Regular consumption of pistachio kernels has been linked to reduced risks of heart disease and positive effects on blood pressure among non-diabetic individuals, while also aiding in cancer prevention.
Pistachios hold significant economic importance, particularly in Middle Eastern countries like Iran, where they are a key agricultural product. Iran, the USA, and Turkey are the leading producers of pistachios globally. Notably, pistachios come in various types, exhibiting differences in size, color, and flavor depending on their variety and place of cultivation. Broadly, pistachios can be categorized into three main types: round, long, and jumbo, each with distinctive shell characteristics. For instance, long pistachios typically have a narrower split compared to round and jumbo varieties, which display a more pronounced shell opening.
Pistachios Assortment.
The average weight of a single pistachio shell is approximately 0.57 grams, translating to about 1750 shells per kilogram. Given this statistic, manually counting pistachios becomes an arduous and time-consuming task, ripe for automation through artificial intelligence. The detection and counting of pistachios serve multiple purposes, including facilitating proper packaging and assessing crop quality. Additionally, it aids in estimating future crop yields and breeding pistachio trees to enhance crop quality. Since open-mouth and closed-mouth pistachios differ significantly in price and demand, precise counting is essential for pistachio production and packaging facilities to ensure accurate inventory management. Moreover, segregating these two types of pistachios enhances the quality of export packages. The manual sorting of pistachios is not only labor-intensive but also economically impractical, making machine vision systems invaluable in this context. Furthermore, close pistachios, identified through such systems, can be recycled through mechanical opening methods, reducing losses and increasing overall crop yields. Machine vision, particularly leveraging deep learning techniques, has emerged as a powerful tool for automating tasks traditionally performed by humans. Deep convolutional neural networks, in particular, excel in recognizing and counting pistachios, although factors such as pistachio appearance and camera angles influence accuracy. The advancement of machine vision technology, coupled with the flexibility and adaptability of deep learning algorithms, offers promising prospects for automating pistachio counting and classification tasks with precision and efficiency.
Dataset description
The authors’ research marks the pioneering exploration into detecting, tracking, and counting pistachios along transportation lines, even under conditions of high density and occlusion. A significant challenge lies in accurately distinguishing between open-mouth and closed-mouth pistachios, as the former may appear as the latter when in motion or spinning on the transportation line. This phenomenon poses a formidable obstacle for many tracking algorithms, as the classification of pistachios may change between successive frames. However, the authors’ tracking and counting model successfully addresses this challenge, achieving high levels of accuracy. To detect pistachios in video frames, the authors employ the RetinaNet object detector. They adopt a stratified approach by partitioning the dataset into five folds, reserving 20 percent of the dataset for testing purposes while utilizing the remainder for training.
General Schematic of the proposed model.
In the authors’ research, one of the most relevant studies is fruit detection and counting, which employs various tools including black and white (B/W) cameras, color cameras, thermal cameras, and spectral cameras. However, the nature of the data dictates that color becomes a crucial feature, rendering B/W cameras unsuitable for the task. Similarly, the spectral camera’s time delay makes it impractical for this application. Despite its sensitivity to size, the thermal camera is not suitable for analyzing the data due to its inability to detect split pistachios. Consequently, the color camera emerges as the most suitable tool for the job. Additionally, color cameras offer the advantage of widespread availability, particularly in mobile phones, which can facilitate remote monitoring and control. While alternative methods such as sensors exist for counting, they are not suitable for this specific task due to the challenge of accurately counting split and non-split pistachios.
In Iran, pistachios are commonly referred to as Pesteh hence why the authors named their dataset Pesteh-Set. This dataset comprises two main components. The first part consists of 423 images, each meticulously labeled with ground truth data. The pistachios in these images are categorized into two classes: open and close with bounding boxes provided for each class. The number of pistachios per image varies from 1 to 27, totaling 3927 pistachios across all images. The second part of the dataset comprises six videos, totaling 9486 frames, which were utilized for the counting phase. These videos feature 561 pistachios in motion and over 350,000 individual pistachios collectively across all frames. Recorded using a cell phone camera with a resolution of 1920 × 1080 pixels, the dataset’s videos are captured at varying frame rates. Five of the videos are recorded at a frame rate of 60 frames per second (fps), while the remaining video is recorded at 30 fps. The cell phone camera was positioned on a wall above the transportation line for the pistachios. This line was designed to allow the pistachios to roll, a crucial feature as it enables open-mouth pistachios to reveal their open side as they roll, which may not be visible otherwise.
The General View of how Pesteh-Set was recoreded and the proposed system for counting the pistachios.
The authors utilized a self-developed program, leveraging the OpenCV library in Python, to label selected frames from the videos. In this labeling process, the pistachios were categorized into two classes: open-mouth and closed-mouth pistachios. Furthermore, the authors generously shared the self-developed labeling program along with all associated data, facilitating its use by other researchers to expand the Pistachio Dataset.
Some of the images in the Pesteh Set.
Number of Open-mouth Pistachios | Number of Closed-mouth Pistachios | Number of All the Pistachios | |
---|---|---|---|
Video 1 | 50 | 20 | 70 |
Video 2 | 60 | 20 | 80 |
Video 3 | 70 | 20 | 90 |
Video 4 | 90 | 20 | 110 |
Video 5 | 100 | 20 | 120 |
Video 6 | 39 | 52 | 91 |
All Videos | 409 | 152 | 561 |
All Images | 1993 | 1934 | 3927 |
This table shows the distribution of Pistachios in the Pesteh Set.
Summary #
Pesteh Dataset is a dataset for object detection and counting tasks. It is used in the agricultural industry.
The dataset consists of 423 images with 3929 labeled objects belonging to 1 single class (pistachio).
Images in the Pesteh dataset have bounding box annotations. All images are labeled (i.e. with annotations). There are no pre-defined train/val/test splits in the dataset. Alternatively, the dataset could be split into 2 pistachios categories: open (1995 objects) and close (1934 objects). The dataset was released in 2021 by the University of Science and Technology, Iran and Sharif University of Technology, Iran.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/pistachios/main/visualizations/poster.png?width=1200)
Explore #
Pesteh dataset has 423 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/c/JN/x7tLivFhATv2uvDO3MpwSIMHYdbWwgF8UefYieotCzCTJSMDvRqYOQPK9yufkEpWhvuDVeG7mUiPB4ufN3AV56C1wVHikOWJVGkhMyGdsuSCQMAPj1Ny3mMJbp9I.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/q/4j/qwUcXE5p2O69wDZaX077LB7XRmYhfEOsXvip8ppiS04u3SPYQ9lE33zLEP65DARrHeg3qovgQHjLtz1jteCiDtBbkjO74wXCdOKHFKqQjo4tuak23Po2MptlJ5Qm.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/y/f4/4wrWZ1my4jHOoqLYQ4l2hXn7blu3KFgtSdxJ62UqYtmtjx0QBdVruy1M2Ib1LvZABzKIOZfpMnlIvRQCKs6j6jf4Re4Uz3MRxKFGt7M7vdMBZaVIdW4Kdv0Zcxj4.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/J/dl/zoQivAj1j4rlyLFGJNDofuemtYWjZrgOuBuIwXHBEjMY8nWLD6MaXahbVDBRcy4cPTTHb6nOqrrVxv5pEDNKjlmll33KIxtT1izMJNp4WOdqlYa4IEfC91CKMRUm.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/8/D/Es/Lc8XmCaX3K7QDijOMc36eQqiAUGfsnwfvwnaBHmgsIHgNMTTjhjqAK1jDkzLnx0yDjshNrBaxzqh7FpFczK7uH77P0vfU74pjjlhs8KBstVOMcb9be9E8pCP84Iv.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/x/jD/POyx5DT1EOotF7YgDpbB4ZJiauFx6PMW0g43iYnumPb2IOhe41K21WhaOJflsS68gwwD62Lfw9aixJFYhXNUkhpgUKvDj45xzklKtFaKwyqVSZxR3xPHQmRzhvPW.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/P/f/Sc/gv9R7CrtEfEKLsU3Eh4Ba4PtJgJZ8DW2m20SVRNjnEfO7yXpDjHyZW0phnU02Xa8Rabs9TXu9a4LT5zJFHzjihanpu6Cd8PM0hypKxVj1GJRndQJGDtiv8wYQCLa.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/X/Jw/iu7ymHHtx8SOefQ4OE9nmYkQUuQTkQgkoDuGh0uRoO7wdZxYaV8sO3Lve8dbNLXncbNiW1Yu33GXcoBIVeERiaAJjhlutRxwmr60AuE6IULT5F9a44p3AvpFfUmd.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/r/yP/PQtnnye2aKCm0MiHufQWAEUBBkoJAtpGjWXK5yFp9JcrgAwIuawOfB1CqHsHSWFf6WYlI4M010pr5ctZIcioxwM5ZBamN7OdfiOG8hCDd2UPyhHMV2wogiS30aXF.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/q/Yu/LtoeT3qMgTxG6gIDDtZyOjWd7SsvPdjAmggkhHDYZ5B9FGzlKhkV3J7Ga0IMljZxwrPkISXeRcKjAaFumlOVmaWrK4mfHn6O9RNowzE4pNbBCH1sUBdIgRWUoy8G.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/t/yb/QcvEMIoqQUso7gEFT73HcO8jlzpi3UtG59vJyFdHeyUcXDDWEwVsyDo73KmvljfJBbUvXeGA9Y9eH3WDyt9hZUhsh1rEs1Ly2b3EJuR5H2qN2sRXANtS2L02cS11.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/u/28/Dpy2i6FTIfpk9ucshB5K8Nbi6YPhmMYoA7jL6lMLRp6WwDzIXkrnlUJZWpbF0fVthJFy2KL70Twm1TMTVHVxJhoxgsjWGlbYC2hjLi4IXy61nEpMYQv7bNEEuyrM.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/V/M/l6/b2d1UdXWnMPz5SuKQYzRD1DJOYEDED7u68wTn7PywfXNQjQmsM5JIuKljyCJR60ZUEr1DoBVjCPBpoIHIDYweEKM7MpEJMwvzAyBxyp0nYwHWz14lkQmWS2LQfcc.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/E/R/8I/uwucpOllMkO7eMn3qa8WkHZC4E2XAMSMHcgGIaqOpQ15ymLWEdktmcEurDPCJzW1TkYdgr9buzbgvBZ4RECYFsF5n98cdYKOwjKCXTK19jvIxHiYIhwqFSKSRaRO.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/f/Ci/v4I6AWugCkjlDMT2WYHY41CroCgaUVd009uhXq69GO4qLV3xJQUE434UUUQuwZv3vFm7awfPmQkbpAitAuOIFHnXvrojecY4DSpCmqKyqJMIzPbLO860xDcOJefm.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/c/rJ/iGLFKcA6GmSnkCL3CyaqwgsNyrQ9WC1S43L1m4M8tqx1NYxSojK4z9faPesr9uGI7IsilACGW93zbdPhRtGdL868tQODAhXIsc7GWzTcIoDlP55bbPmivyFVvw5Z.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/g/Z/k8/ZTO1OKHvQCB7b1V3xnYJ4Fh71W7yriMR5vPcA2yIyWjfwnQ9Oypt0alFrbzm2Edzv3dtK7MGBDRD4yqooDQRcYmTa9iGwyb0xR4k3cMHEck4xZ4Uh9boqsgaA6eQ.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/E/d/JH/Swn8NW2GliU5GMMZJSJT3FfncjJtJrOZbJyGgpEPmcYhU4v3yr4Faz3L4tcv6MAjco0ysICGo2kkQbbiqWwL3HEgi7NjwOXtdNkM6vBYoB1gOVa4OXmBHVdHgs5f.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/9/kn/nIyGybDnxqpSeCo88PP3Eh325spsLq9OLRRJZmjIkIxrG4KLfkx9HlGwpshUQdw6zW55G0HB7mKzTAZXpaN8zM38iTPU2EOSVEZ6zaGAWkAC5VibBTInPpo18wMp.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/4/V/dD/zWW3mOkWf6xf1vwBgVTO8ImkA7DpTHBAevoEzVRGLhYQtfCWPfFXqODKLJu4lZjZVh2C1wPVUCAJJQbphLBVfx60yYZfaX3NXzDTR7Wmeq4qHXtyGc8fkN7DEpa6.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/W/z/01/1PBOAcnV1hGc0gM3sLj3h1R3EMh2sXon8zXqKQByriPQDNC6vLCWugplKTl8e32vtYKOAjVE3Q1xz8GgB6XR9JlJSbeQ346L711hJzViKFux46xgDeXV59jhoncl.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/Q/eM/VqTIVFssE3dtZ7LO0Ggeu3N9EKluclJUAy0F1xYctW0RAbDUOBcjrSZ3yq24esbjy0jgDGqHLg0PHxJWBVRCKCuyxyau43UmKnPlQt8raiFWaUAMEJMGvFtiRNS3.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/f/q/hA/UE79G0wQJkYPhc8xqHuberjN2ff2sUB2fFFButGprRcV9YOK7xdtaV8W2JioE3a70cuT3Ux4Ew4amkbpUUb81zqA6ubbe9lfamblT97QxStksqrdtBjPz8Lr7boU.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/e/Rx/btnF2w4UizsFRuNp9ExU1nGD92M3msgJBUF3Q9Xr6CAPnCK5yuRN6DhYhaJThHcXBGhfjIAHKaCNk3Y43CwbiM3pzX5HiNEhpJNHuyGjnClncfKLCgWZazutWmBN.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/T/Oy/D8wBWfGyN9KzDLSgdzDyVbl2IJnzq3Ta97nriANGFHRoVfhbGDzpen830k6PckTbhPAiGeoyxRLLVPXvEHMqby8nlqgpBE4DvuW6VtTIuZTCxBnYwkxLEWoed92s.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/6/KM/GxNutZomZZGXJquhYjGH36MFwqVXw9WWa0JZOvzbCHiWHZmldSE1WprHCiciPjqEkngfmoNAo9USD34PFjFalcLpj3bFfPj3hM0iVFQ5jPH4q9KNF5vg26HHPQlv.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/Q/WZ/CALnq0LX14ykf9HCcUrG6ATD3U8FJNsqji2WY2NOqMMZ6Wh1zMvLrqaxkIqwlBFJzd4FFgVaZJ9eXxvrkorR1qXP06couKVXVwVkHLZpSYrha93SJubv9LennCKv.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/o/q/bS/YrEMBY2JRHcjKI84Qfy1IMlTRFABrJGmFFUzBK6semliIklxgMNkRB4acy4In4IRjhA5pVXgrujo7Dx2miThPoc2Mq5RYzkKUsAlvzOeFmXNFYmSNZB1mozUv0o1.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/3/9/OY/8ZDLdzM0bQJs86kslXrhxV2dsJiyQzcwExGRPySLjywx0I2EoDGcXupFMyPM321Sfyt92XS59BJqkYtptOOd9j0Frh4Oz0Zz1t8wy4jijDJIm58zs2UMVVl1m4O4.jpg)
![Sample image from Pesteh](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/r/ns/XFWOgZCaQAGICPHTKleGx1sjNkzefikkzkHdiRtGTnxHxTEaWy5WpyqsfW29M6VQLuuu4JnSf7ToNqxurAGlMG0cuXnWz12Zs67SCbh3YyssCVTvi82BQQdyb8wR.jpg)
Class balance #
There are 1 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ã…¤ | Images ã…¤ | Objects ã…¤ | Count on image average | Area on image average |
---|---|---|---|---|
pistachioâž” rectangle | 423 | 3929 | 9.29 | 6.75% |
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pistachio rectangle | 3929 | 0.76% | 1.99% | 0% | 1px | 0.17% | 118px | 19.67% | 71px | 11.83% | 1px | 0.09% | 124px | 11.59% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/pistachios/main/stats/classes_heatmaps.png)
Objects #
Table contains all 3929 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ã…¤ | Class ã…¤ | Image name click row to open | Image size height x width | Height ã…¤ | Height ã…¤ | Width ã…¤ | Width ã…¤ | Area ã…¤ |
---|---|---|---|---|---|---|---|---|
1âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 90px | 15% | 64px | 5.98% | 0.9% |
2âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 42px | 7% | 67px | 6.26% | 0.44% |
3âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 78px | 13% | 61px | 5.7% | 0.74% |
4âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 58px | 9.67% | 63px | 5.89% | 0.57% |
5âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 72px | 12% | 49px | 4.58% | 0.55% |
6âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 82px | 13.67% | 59px | 5.51% | 0.75% |
7âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 71px | 11.83% | 68px | 6.36% | 0.75% |
8âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 94px | 15.67% | 57px | 5.33% | 0.83% |
9âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 74px | 12.33% | 62px | 5.79% | 0.71% |
10âž” | pistachio rectangle | 60-20_563.jpg | 600 x 1070 | 60px | 10% | 48px | 4.49% | 0.45% |
License #
Citation #
If you make use of the Pistachios data, please cite the following reference:
@article{rahimzadeh2021detecting,
title={Detecting and counting pistachios based on deep learning},
author={Rahimzadeh, Mohammad and Attar, Abolfazl},
journal={Iran Journal of Computer Science},
pages={1--13},
year={2021},
publisher={Springer}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-pistachios-dataset,
title = { Visualization Tools for Pesteh Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/pistachios } },
url = { https://datasetninja.com/pistachios },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Pesteh can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='Pesteh', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.