in Education by
My last question on image recognition seemed to be too broad, so I would like to ask a more concrete question. First the background. I have already developed a (round) pill counter. It uses something similar to this tutorial. After I made it I also found something similar with this other tutorial. However my method fails for something like this image Although the segmentation process is a bit complicated (because of the semi-transparency of the tablets) I have managed to get it My problem is here. How can I count the elongated tablets, separating each one from the image, similar to the final results in the linked tutorials? So far I have applied distance transform and then my own version of watershed and I got As you can see it fails in the adjacent tablets (distance transform usually does). Take into account that the solution does have to work for this image and also for other arrangements of the tablets, the most difficult being for example I am open to use OpenCV or if necessary implement on my own algorithms. So far I have tried both (used OpenCV functions and also programmed my own libraries) I am also open to use C++, or python or other. (I programmed them in C++ and I have done it on C# too). JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Given that the pills are all identical and don’t overlap, simply divide the total pill area by the area of a single pill. The area is estimated simply counting the number of “pill” pixels. You do need to calibrate the method by giving it the area of a single pill. This can be trivially obtained by giving the correct solution to one of the images (manual counting), then all the other images can be counted automatically.

Related questions

0 votes
    I wrote a program which gets matches between 2 pictures. And this is the code. but if I use ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    I wrote a program which gets matches between 2 pictures. And this is the code. but if I use ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    How can we determine whether a file is successfully opened or not using fopen() function in C?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    #include void display(int *q,int,int); int main(){ int a[3][4]={ 2,3,4,5, 5,7,6,8, 9,0,1,6 }; display(a,3,4); return 0; } void display(int *q,int row,int col){ int i,j; for(i=0;i...
asked Jun 14, 2022 in Education by JackTerrance
0 votes
    #include void display(int *q,int,int); int main(){ int a[3][4]={ 2,3,4,5, 5,7,6,8, 9,0,1,6 }; display(a,3,4); return 0; } void display(int *q,int row,int col){ int i,j; for(i=0;i...
asked Jun 8, 2022 in Education by JackTerrance
0 votes
    Can WampServer be used successfully in production? Is this a bad idea? So everyone knows, and I don' ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    Can WampServer be used successfully in production? Is this a bad idea? So everyone knows, and I don' ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    Create a program that will successfully take in two mixed numbers and add, subtract, divide, and multiply them. In Python! Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Create a program that will successfully take in two mixed numbers and add, subtract, divide, and multiply them. Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Create a program that will successfully take in two mixed numbers and add, subtract, divide, and multiply them. Please help!!!!!!!!!! Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Create a program that will successfully take in two mixed numbers and add, subtract, divide, and multiply them. Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    Which of these variables stores the number of hits that are successfully served out of cache? (a) hits ... questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    ____________ denotes the largest timestamp of any transaction that executed write(Q) successfully. (a) W- ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
...