MahmudulAlam / Automatic-Identification-and-Counting-of-Blood-Cells

Machine learning approach of automatic identification and counting of blood cells (RBC, WBC, and Platelet) with KNN and IOU based verification.
https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/htl.2018.5098
GNU General Public License v3.0
131 stars 51 forks source link

can you please help me in this #13

Closed Jagan3534 closed 2 years ago

Jagan3534 commented 2 years ago

can you please help me in this

`Traceback (most recent call last): File "C:/Users/jagan/Downloads/Automatic-Identification-and-Counting-of-Blood-Cells-master/Automatic-Identification-and-Counting-of-Blood-Cells-master/test.py", line 26, in output = tfnet.return_predict(image) File "C:\Users\jagan\Downloads\Automatic-Identification-and-Counting-of-Blood-Cells-master\Automatic-Identification-and-Counting-of-Blood-Cells-master\darkflow\net\flow.py", line 83, in return_predict 'Image is not a np.ndarray'

AssertionError: Image is not a np.ndarray `

Originally posted by @Jagan3534 in https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/issues/12#issuecomment-983766303

MahmudulAlam commented 2 years ago

@Jagan3534

Hi, can you please follow these steps: https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/wiki/A-Step-by-Step-Guide-of-How-to-Run-the-Code

Running this code is straightforward and should work without an issue.

Jagan3534 commented 2 years ago

Yes sir it work sir but we want to give input as our image sir Its giving error sir Can you please give us solution sir

Thank you sir

On Wed, Dec 1, 2021, 10:52 PM Mohammad @.***> wrote:

@Jagan3534 https://github.com/Jagan3534

Hi, can you please follow these steps: https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/wiki/A-Step-by-Step-Guide-of-How-to-Run-the-Code

Running this code is straightforward and should work without an issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/issues/13#issuecomment-983860874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVVY7QHYTQ2U4KEMYWBPS3UOZKUBANCNFSM5JEZSA5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MahmudulAlam commented 2 years ago

In that case, please share your code, its hard to tell just by seeing the error message.

Jagan3534 commented 2 years ago

Their no error in your code sir its running cool but it won't take our own image sir when we insert our own image in it. it showing error like before one sir

We need to take code our img as input and it want to show in that image sir.

On Wed, Dec 1, 2021, 11:12 PM Mohammad @.***> wrote:

In that case, please share your code, its hard to tell just by seeing the error message.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/issues/13#issuecomment-983877019, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVVY7XPROTPK6CNCVDCYTLUOZNAPANCNFSM5JEZSA5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MahmudulAlam commented 2 years ago

Try loading the image using cv2

MahmudulAlam commented 2 years ago

Follow this file. Put your image directory to the image name : https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/blob/c8f4e95359ee7ba5a8cff60200cec894b6d3f407/detect.py#L109

Jagan3534 commented 2 years ago

thank you so much sir its working thank you sir its my first project sir thank you for helping me a lot sir

MahmudulAlam commented 2 years ago

Glad to know that it is working.

Jagan3534 commented 2 years ago

Awesome, thanks!

On Thu, Dec 2, 2021, 8:46 PM Mohammad @.***> wrote:

Closed #13 https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/issues/13 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MahmudulAlam/Automatic-Identification-and-Counting-of-Blood-Cells/issues/13#event-5706559750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVVY7QIROKRKV5WDNNWWLLUO6EWJANCNFSM5JEZSA5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.