# Counting potatoes

**URL:** <https://forum.core-electronics.com.au/t/counting-potatoes/22036>\
**Category:** Uncategorized\
**Created:** [10 March 2025 09:47 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036 "2025-03-10T09:47:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ed290729](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@Ed290729](https://forum.core-electronics.com.au/u/Ed290729)\
**Post date:** [10 March 2025 09:47 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/1 "2025-03-10T09:47:30Z")

</div>

I want to count potatoes going across a conveyer belt in a mobile harvester.

I am wanting to count the number of potatoes as the harvester goes across the paddock.

So I am wanting to combine vision of the number of potatoes on the belt with a GPS position and then send the result over the 4G network to the owner’s mobile device.

I am thinking of using the AI capacity of Rasberry Pi 5 and the Waveshare coms card.

Any thoughts ?

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [10 March 2025 10:19 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/2 "2025-03-10T10:19:09Z")

</div>

Hi Ed  
Welcome

> [@Ed290729](#):
>
> I want to count potatoes going across a conveyer belt in a mobile harvester.

Well, good luck with that. The last time I saw a potato harvester the conveyor was quite wide and I think from memory it shakes a fair bit to release any soil clinging to the spud. Don’t really know how you would go about “counting” them.

If you just want vision to send somewhere that is doable I think but actually “counting” as in counting the actual number I think the jury would be out on that one. You might be able to estimate somehow using the vision but the sizes would vary surely, which would make estimating the number questionable.

If you could get them to go down the conveyor in single file some sort of beam break or similar system would count them but would probably slow up the digging process to an unacceptable speed.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Pixmusix](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/pixmusix/32/9719_2.png) [@Pixmusix](https://forum.core-electronics.com.au/u/Pixmusix)\
**Post date:** [10 March 2025 23:00 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/3 "2025-03-10T23:00:49Z")

</div>

How accurate do you need your count to be?  
i.e. are we ok with +/-5% or were are we needing +/-0.05%?

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/zach/32/10899_2.png) [@Zach](https://forum.core-electronics.com.au/u/Zach)\
**Post date:** [11 March 2025 01:02 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/4 "2025-03-11T01:02:48Z")

</div>

Hey @Ed290729, welcome to the forums!

Some great input from @Robert93820 and @Pixmusix regarding accuracy and feasibility, counting a few potatoes with low accuracy may be simple, but I would think that isn’t very useful.

That being said, you would be amazed by some of the capabilities of the new AI products from Raspberry Pi when paired with vision algorithms like YOLO and AI modules like Hailo.

See the below videos for some examples of people counting:

[![](https://img.youtube.com/vi/HcyoqrIGMl4/maxresdefault.jpg "Booth Visitors Counter with Raspberry Pi 5 and AI Kit #pi5 #hailo8l #ai") ](https://www.youtube.com/watch?v=HcyoqrIGMl4)

[![](https://img.youtube.com/vi/ePBmXABJ_aQ/maxresdefault.jpg "Raspberry Pi AI Kit : How to Set Up Real-Time Object Counter #raspberrypi #ai") ](https://www.youtube.com/watch?v=ePBmXABJ_aQ)

(These are two random guides I’ve found that somewhat visualise real-time object counting.)

Looking specifically at the 2nd video’s crosswalk demonstration. It performs relatively well considering the number of people that are largely obfuscated from the camera at any given time. I imagine, given a clear view of all potatoes on the line (such as a birds-eye view), a model trained on your potatoes would produce a result with high relative accuracy.

Curious to see where this goes!

---

<div class="post-metadata">

**Author:** ![Ed290729](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@Ed290729](https://forum.core-electronics.com.au/u/Ed290729)\
**Post date:** [11 March 2025 10:02 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/5 "2025-03-11T10:02:21Z")

</div>

I’m thinking +/- 1% the completed 27t load of potatoes gets paid to the nearest 10 kg.

---

<div class="post-metadata">

**Author:** ![Pixmusix](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/pixmusix/32/9719_2.png) [@Pixmusix](https://forum.core-electronics.com.au/u/Pixmusix)\
**Post date:** [11 March 2025 10:17 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/6 "2025-03-11T10:17:07Z")

</div>

> [@Ed290729](#):
>
> thinking +/- 1%

You know what depending on your lighting and how much image porcessing youre willing to do i bet your in with a chance. Yolo pluggins, the good ones particuarly, provide a chart with error bars.

Pi 5s are like… 2010 laptop powerful. Amazing.

---

<div class="post-metadata">

**Author:** ![Ed290729](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@Ed290729](https://forum.core-electronics.com.au/u/Ed290729)\
**Post date:** [11 March 2025 10:25 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/7 "2025-03-11T10:25:57Z")

</div>

Thanks, I’m looking through the Cytron Technologies videos which then needs their guides to explain the details.

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [11 March 2025 11:25 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/8 "2025-03-11T11:25:07Z")

</div>

Hi Ed  
Just a bit curious.  
Why are you counting the NUMBERS of potatoes when you get paid by the kilo (weight).  
Surely the number of kilos is the most important. Which you are not going to get bu counting the NUMBERS of potatoes.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [12 March 2025 00:29 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/9 "2025-03-12T00:29:09Z")

</div>

> [@Pixmusix](#):
>
> Pi 5s are like… 2010 laptop powerful. Amazing.

Man looking at my old laptop from 2017 a new Pi5 16GB that is overclocked to ~3GHz would give it a run for its money.

---

<div class="post-metadata">

**Author:** ![Pixmusix](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/pixmusix/32/9719_2.png) [@Pixmusix](https://forum.core-electronics.com.au/u/Pixmusix)\
**Post date:** [12 March 2025 00:32 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/10 "2025-03-12T00:32:52Z")

</div>

You can overclock a pi5 to 3ghz!?! 🫨  
Absolutely wild.  
🧨

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [12 March 2025 00:49 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/11 "2025-03-12T00:49:21Z")

</div>

3GHz is about the max, and will really depend on the “silicon lottery”, personally my Pi5 isn’t a fan of anything higher than 2.9GHz and refuses to boot with anything higher, but I have read tales of people getting up as high as 3.3GHz

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [12 March 2025 01:18 UTC](https://forum.core-electronics.com.au/t/counting-potatoes/22036/12 "2025-03-12T01:18:22Z")

</div>

Hi Dan  
A classic example of stressing things to and beyond limits. All for what?? Mostly greatly reduced reliability as you have pointed out with the failure to boot.  
Cheers Bob  
PS anyway this is not counting potatoes.
