Closed parthgoe1 closed 5 years ago
can you please elaborate what all changes you did? what was the input file? And you are getting this error in DetectPlate.py?
I did not make any changes to the code. DetectPlate.py is working perfectly. But when I import it to segmentcharacter.py it makes a 3d array and gives an error.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Apoorva Dave notifications@github.com Sent: Sunday, October 14, 2018 1:29:33 PM To: apoorva-dave/LicensePlateDetector Cc: Parth Goel [ CSE-2017 ]; Author Subject: Re: [apoorva-dave/LicensePlateDetector] it is showing a value error (#1)
can you please elaborate what all changes you did? what was the input file? And you are getting this error in DetectPlate.py?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apoorva-dave/LicensePlateDetector/issues/1#issuecomment-429604887, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhndcUi-wpz2f4mRWrFJmWusN9HJnTIXks5uku7lgaJpZM4Xa3do.
In the min_row, min_col, max_row, max_col = region.bbox Line i am getting following error in DetectPlate.py? ValueError: too many values to unpack (expected 4)
Are you using some other image or video as I am unable to reproduce it. My friends have also used the same code and with the image/video examples given in repo, it is working fine for them. Can you share the image which you are using to test it?
On printing region.bbox what are you getting? It should be sequence of values like (718, 1115, 730, 1129)
Hi dear apoorva I use image/video examples given in repo. But run python 3.6. When print(region) i see in IPython console following output <skimage.measure._regionprops._RegionProperties object at 0x000002E043AB6208>
On Tuesday, November 13, 2018, Apoorva Dave notifications@github.com wrote:
Are you using some other image or video as I am unable to reproduce it. My friends have also used the same code and with the image/video examples given in repo, it is working fine for them. Can you share the image which you are using to test it?
On printing region.bbox what are you getting? It should be sequence of values like (718, 1115, 730, 1129)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apoorva-dave/LicensePlateDetector/issues/1#issuecomment-438133224, or mute the thread https://github.com/notifications/unsubscribe-auth/Ambi-Dh_ovLpPTy2eUoJdAHFVQfMrew8ks5uuky5gaJpZM4Xa3do .
Also print(region.bbox) in the console see follow out put (0,489,0,63,532,3) I uesd video12.mp4.
On Tuesday, November 13, 2018, Apoorva Dave notifications@github.com wrote:
Are you using some other image or video as I am unable to reproduce it. My friends have also used the same code and with the image/video examples given in repo, it is working fine for them. Can you share the image which you are using to test it?
On printing region.bbox what are you getting? It should be sequence of values like (718, 1115, 730, 1129)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apoorva-dave/LicensePlateDetector/issues/1#issuecomment-438133224, or mute the thread https://github.com/notifications/unsubscribe-auth/Ambi-Dh_ovLpPTy2eUoJdAHFVQfMrew8ks5uuky5gaJpZM4Xa3do .
I tried looking into it but still couldn't identify why region.bbox is giving you 6 values rather than 4. Did you try capturing these values and see if you are getting the same result? eg : take any 2 dummy variables t1, min_row, t2, min_col, max_row, max_col
I fixed this error using 2 dummy variables as following min_row, min_col,null, max_row, max_col,null= region.bbox But I went through the following error in DetectPlate.py. ValueError: 3-dimensional arrays must be of dtype unsigned byte, unsigned short, float32 or float64؟
On 11/17/18, Apoorva Dave notifications@github.com wrote:
I tried looking into it but still couldn't identify why region.bbox is giving you 6 values rather than 4. Did you try capturing these values and see if you are getting the same result? eg : take any 2 dummy variables t1, min_row, t2, min_col, max_row,
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/apoorva-dave/LicensePlateDetector/issues/1#issuecomment-439629792
I am getting the same error. could you fix this error?
I am getting the same error. could you fix this error?
I got the same error too. You can try to change image from RGB to gray format.
ValueError: too many values to unpack (expected 4)