This study aimed to produce a robust real-time pear fruit counter for mobile applications using only RGB data, the variants of the state-of-the-art object detection model YOLOv4, and the multiple object-tracking
This is my code, hope it'll help: #include<cstdio>#include<algorithm>#include<cstring>#include<iostream>#definerep(i,l,r)for(inti=l;i<=r;++i)#definegi gI()usingnamespacestd;typedeflonglongll;inlinell gI(){ll p=0,flag=1;charc=getchar();while((c<'0'||c>'9')&&c!='-')c...