--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ac9d27c2-1ff3-4a7d-91ad-19eaf53c8c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/fb43c5fd-4b85-4fad-8aa5-cdaa8f9314d5%40googlegroups.com.
New sliders for R and Z good idea, but probably much more time required to do it. Adding 90 more primitive but probably much easier/faster to do until you add sliders in future.
Both my proposals are only suggestions how to make life easier but not critical if problematic...
<cv-pipeline>
<stages>
<cv-stage class="org.openpnp.vision.pipeline.stages.ImageCapture" name="0" enabled="true" settle-first="true"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.ImageWriteDebug" name="13" enabled="true" prefix="bv_source_" suffix=".png"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.BlurGaussian" name="10" enabled="true" kernel-size="15"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.MaskCircle" name="4" enabled="true" diameter="200"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.ConvertColor" name="1" enabled="true" conversion="Rgb2Gray"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.Threshold" name="12" enabled="true" threshold="180" auto="false" invert="false"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.FindContours" name="5" enabled="true" retrieval-mode="List" approximation-method="None"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.FilterContours" name="9" enabled="false" contours-stage-name="5" min-area="4500.0" max-area="6000.0"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.MaskCircle" name="11" enabled="true" diameter="0"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.DrawContours" name="7" enabled="true" contours-stage-name="5" thickness="1" index="-1">
<color r="255" g="255" b="255" a="255"/>
</cv-stage>
<cv-stage class="org.openpnp.vision.pipeline.stages.DetectCirclesHough" name="circle" enabled="true" min-distance="50" min-diameter="75" max-diameter="85" dp="1.0" param-1="80.0" param-2="10.0"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.MaskCircle" name="black image" enabled="true" diameter="0"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.DrawCircles" name="2" enabled="true" circles-stage-name="circle" thickness="2">
<color r="255" g="0" b="18" a="255"/>
</cv-stage>
<cv-stage class="org.openpnp.vision.pipeline.stages.MinAreaRect" name="result" enabled="true" threshold-min="1" threshold-max="255"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.ImageRecall" name="14" enabled="true" image-stage-name="4"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.DrawRotatedRects" name="8" enabled="true" rotated-rects-stage-name="result" thickness="2" draw-rect-center="true" rect-center-radius="10" show-orientation="false"/>
<cv-stage class="org.openpnp.vision.pipeline.stages.ImageWriteDebug" name="15" enabled="true" prefix="bv_result_" suffix=".png"/>
</stages>
</cv-pipeline>
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/14f5be24-1a3b-4c02-9de3-a5e6b5cf055b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a19e9ac0-b7f6-4442-ac57-14b49f870c7b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/2f1fbfd1-3056-428d-ac39-da50f6bd6fed%40googlegroups.com.
I would expect some (most) of those debug images to show a rolling shutter effect, due to the way the setup wizard works. The wizard runs the pipeline on the raw camera feed so that it can display helpful information (various colour circles) in the camera view in realtime - so saving an image every time the pipeline runs will indeed result in a lot of images with blur/rolling shutter visible.
However, the actual wizard part that's handling the interactions (Click first part, second, etc) should be doing the normal settle-and-capture behaviour.
Michael, what incorrect behaviour are you actually seeing in the wizard? If the camera isn't moving and is over the tape, do the holes show as correctly detected in the camera view?
Something else to try - when you click the Auto Setup button, hold down Alt/Option at the same time as you click the button, which will show some additional coloured debug circles in the camera view, which may help highlight any issues you have.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cceb41f2-0ffd-49a5-b729-88e46abfe542%40googlegroups.com.
ok a couple of issues I see:1) You're meant to click the centre of the *component*, not the *hole*. Clicking the hole will actually make it ignore the hole (due to it checking for holes only a minimum distance from the selected component, to avoid picking up any holes in the component itself).
2) Having two pieces of tape visible in the camera at once is an issue currently; there isn't very good logic around selecting the correct tape.
3) The exception you're seeing occasionally is a bit odd - it looks like your pipeline is sometimes missing the "results" stage, or at least the stage isn't actually outputting anything.
So:1) Click the components in the tape instead. :)
2) This is next on my list to address - make the auto setup wizard smarter about selecting the correct piece of tape when there are multiple in view. What's there now is just a direct port of the old system.3) I'll add a check around that code, or more appropriately look into how that can happen in the first place (I was under the impression that code was safe, but clearly it isn't always?)
Thanks for the detailed report!
For removing false/instable hough circles, insert canny processing, example using you'r image:
Here i have inserted additional stage of simpleblob filter that detect false positive.
Mark this stage with result and if present , remove the circles near this points.
The keypoints are drawed with blue color, small circles in this image.
If you do adaptive thresholding, you could separate strips. Exemaple here:
and the resulting strips, i have selected it manually from the two strips found,
Using thresholding it is possible to check what pocket is empty or not.
I doin't know if this or full automatic strip setup is really wanted or just complicates it,
because of general difficult understanding of vision pipeline potential on people that
don't have low level vision background.