Search found 17 matches

by augur4u
Wed Jan 09, 2019 11:07 am
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi kwagyeman,
Wow,quick and good job!
I really appreciate your assistance!
These days I am very busy with exams.
This weekend I will have enough time to develop my project.
I will seek your instruction if I will encounter problems.

Thank you so much. :D
by augur4u
Sat Jan 05, 2019 3:48 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi, your solution is perfect “I can do like a flag which would enable population of an array value otherwise which would be null if the flag isn't passed to the method.”
Yes, adding a flag parameter in find_blob() and a method named pixels_distribution() which returns one-dimensional array.
by augur4u
Sat Jan 05, 2019 2:53 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi, Good idea! I rethink my solution again. Thank you! By the way, Could you add a parameter named pixels_distribution in find_blobs()? If the function is called with an array parameter myarray[w] like image.find_blobs(,pixels_distribution=myarray,), the function will compute the number of pixels in...
by augur4u
Sat Jan 05, 2019 2:06 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

I wanna know the number of pixels in every column of the blob.
by augur4u
Sat Jan 05, 2019 2:03 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi,
Yes, the memory is very limited in openmv.
But I wanna know the number of every column in blob.
Could you have better solutions?
Thank you.
by augur4u
Sat Jan 05, 2019 1:37 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi, Thank you so much for your quick suggestion and help! Could you add and expose a array pixels[w][h] in the blob class to describe which pixels is inside of the blob and which ones are out of the blob but inside the rectangle bounding the blob: If pixels [j]=1, the pixel is inside the blob; If pi...
by augur4u
Sat Jan 05, 2019 1:27 pm
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Hi, Thank you so much for your quick help! Could you add and expose a array pixels[w][h] in the blob class to describe which pixels is inside of the blob and which ones are out of the blob but inside the rectangle bounding the blob: If pixels [j]=1, the pixel is inside the blob; If pixels [j]=0, the...
by augur4u
Sat Jan 05, 2019 9:56 am
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

Re: How to measure volume of objects with irregular shapes

Can I get coordinates of every pixels in blob found with find_blobs()?
If getting the coordinates, I can use calculus’s method to compute the volume accurately.
by augur4u
Sat Jan 05, 2019 4:18 am
Forum: Technical Discussion
Topic: How to measure volume of objects with irregular shapes
Replies: 16
Views: 2147

How to measure volume of objects with irregular shapes

Hi guys, I wanna use vertical and horizontal cameras to measure the volumes of objects with irregular shapes on a moving conveyor belt. Now I can get the pixels and area of vertical and horizontal blobs of the same object with openmv’s image.find_blobs(). But it is not accurate to just use the pixel...
by augur4u
Fri Oct 26, 2018 8:33 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Attached. In the future please use a Linux VM to convert cascades, I'll get around to fixing the script on Windows. Dear iabdalkader, Thank you so much for your help and suggestion. I will install Linux VM to convert cascades and also look forward to your fixing the script on Windows. Thank you aga...
by augur4u
Fri Oct 26, 2018 7:14 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Hi iabdalkader, Thank you so much. Unfortunately I have no Linux so I hope you can help me convert it if you have time. Thanks a ton. I tried to convert it but this file is a web page, seems you downloaded it from github, you need to download the raw xml file. Hi iabdalkader, Thank you so much for ...
by augur4u
Thu Oct 25, 2018 4:06 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Hi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only supports the most basic Haar cascade (using the old format). If you're having a different issue with the script please post the command you used and the error messages. Hi iabdalkader, than...
by augur4u
Wed Oct 24, 2018 11:59 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Hi iabdalkader, I tried to use your cascade_convert.py to convert haarcascade_frontalcatface.xml but always failed. and I don't know why. could you help me convert it? Thanks a ton! Hi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only support...
by augur4u
Tue Oct 23, 2018 7:43 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Hi iabdalkader,

I tried to use your cascade_convert.py to convert haarcascade_frontalcatface.xml but always failed. and I don't know why.
could you help me convert it?
Thanks a ton!
by augur4u
Tue Oct 23, 2018 7:42 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 60
Views: 32283

Re: implement own Haar-Cascade

Hi, face_eye_detection.py looks fine but it doesnt work with the eye cascade generated by me. I have attached the cascade in my previous post, could you please regenerate and try? Thanks for the support. Much appreciated! The script should generate an identical cascade. Note I never tested the conv...

Go to advanced search