



First, I recommend you upgrade to the newest OpenPnP test
version.
Then update the pipeline to the standard pipeline, so you can
benefit from the newest Parametric control.
https://github.com/openpnp/openpnp/wiki/Computer-Vision#using-new-stock-pipelines
https://github.com/openpnp/openpnp/wiki/Exposed-Pipeline-Parameters
Use the sliders to set the threshold. See the animation here:
If this does not help:
The SOT-23 "triangular" instability is well known. You can try to use the Multishot feature, as shown in the video here (sorry for the stuttering commentary there, I hope you still understand it is about isolating and detecting the pins on both sides separately):
https://youtu.be/P-ZudS7QQeE?t=296
To understand this function, you probably best read the Wiki too (and watch the whole video).
https://github.com/openpnp/openpnp/wiki/Vision-Compositing
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/99cef913-a2c8-433b-a984-dbc12d4c017en%40googlegroups.com.
Hi jamoiam
please respond publicly, so others can learn, this is an Open Source community!
I'm reposting your message here:
> Sorry for the delay. I had to absorb your suggestions and find time to do it.
> I thought I had made the changes correctly but now getting an unexpected vision error that I don't know how to fix.
>
This in itself does look good! Press the yellow step button (
) to advance
to the next shot, where it isolates the single pin on the
opposite.
It might help to rewatch the video (again, sorry for the
stuttering):
https://youtu.be/P-ZudS7QQeE?t=296
At 5:45 you see how it also uses two bracketing shots to nail down the part, that's the whole trick of using Multi Shot vision:
+ 
Maybe it fails on the second shot, but you would have to document
this best by using Test Alignment and sending the log.
Side Notes:
You should improve camera shading to remove bright elements. The
whole area behind the nozzle tip (yellow hatching) should be
shaded. With your light showing like that, you probably also need
to crop away the sides (blue hatching), so only the center square
is left.

Alternatively, you could use a longer (tele) lens, so the
existing shade is filling the view vertically, you could then
still crop horizontally.
See also:
https://github.com/openpnp/openpnp/wiki/Nozzle-Tip-Background-Calibration
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/11f22f18-2743-99e3-82b0-554caafeabde%40makr.zone.