Pipelines can now expose essential stage properties as parameters to be controlled directly from vision settings, without having to go to the pipeline editor. These parameters can be controlled using customizable sliders. During adjustment, the camera view shows a preview of the affected stage and/or the pipeline end result. The solutions makes tuning pipelines much easier. See the Wiki:
https://github.com/openpnp/openpnp/wiki/Exposed-Pipeline-Parameters
2022-02-19 Background CalibrationAutomatic calibration of the bottom camera background can be enabled to drive the color- keyed removal of the background in a bottom vision pipelines. The calibration is done with no part is on the nozzle tip, during the nozzle tip calibration (for run-out compensation).
The MaskHSV stage for knocking out the green key-color of Juki nozzle tips (and similar) is fully controlled. A trouble-shooting function detects bad background conditions such as missing shading, nozzle tip reflections etc. See the Wiki:
https://github.com/openpnp/openpnp/wiki/Nozzle-Tip-Background-Calibration
2022-01-23 Advanced Camera CalibrationCamera setup and calibration has been improved to eliminate the need for manual setup of camera flips, rotation, position, units-per-pixel scaling, and lens distortion compensation. In addition, camera tilt is also now corrected. See the Wiki:
Alignment (Bottom Vision) and Fiducial Locator vision settings (including the pipelines) are now stored in separate Vision Settings entities that can be assigned to Parts, Packages and to the default Machine Setup Vision presets.
If a setting is not assigned on any of these levels, it will be inherited from the more general level. The system allows for more efficient, more centralized management of vision settings. The vision settings are now also available on the GUI for all these levels. Quick specialization and generalization functions are provided. The OpenPnP stock settings and pipelines are always present in the central list and can be assigned and copied.
Existing configurations with old part settings are migrated automatically. All combinations of settings and pipelines that happen to be equal will be unified into one new Vision Setting. Inheritance will be established, where Vision Settings are common among Parts or Packages.
A new table linking feature (in the menu) can be used to link a selected Part to its Package, Feeder and Vision Settings. Selecting one, automatically selects the other across tabs.
It is all Issues & Solutions guided. Just give it a try!
To answer your question: due to some chicken and egg considerations, it is still a two-step process:
All the manual calibration steps are still available in OpenPnP,
but they are disabled (grayed out) once you let Advanced Camera
Calibration do its magic. The reason it is still available is that
some machines might not support all technical aspects that are
needed to perform the automatic calibration.
Plus we also don't want to break existing configurations, i.e.
the old stored settings are still fully supported.
_Mark
--
You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/2GHhEK8UpMQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4b4df078-5b64-43dc-8141-63c12c1cff04n%40googlegroups.com.
The symptoms you describe, might indicate that your camera is
quite tilted, i.e not looking down perfectly perpendicular to the
machine X/Y plane. I have the same problem on my machine, and had
to disable Advanced Camera Calibration, until I can physically
adjust the camera.
There is a checkbox, on that tab, that can easily be switched
off.
The Advanced Camera Calibration is doubtlessly a very valuable
addition, but the testing version runs fine without it. Camera
tilt compensation is only needed for feeders that are much
higher/lower in Z than the PCB surface Z, and that use
vision.
With disabled Advanced Camera Calibration, confirm that the
machine still runs at least as fine as before.
Anything that needed to be migrated, like the new Vision
Settings, should still work as before.
_Mark
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/a45ae954-5542-427e-ad03-0e7d4a39ab44n%40googlegroups.com.
Cannot reproduce it. On what OS is that?
Can you provide the machine.xml?
I don't have a clue, all your related settings look good. As I do not have your cameras, I obviously can't reproduce.
Do you know Process Explorer? It could at least give some hints
towards thread CPU usage:
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
Select "Properties..." on the javaw.exe process, then go to the
"Threads" tab. Send a screenshot.
Its a bit helpless...
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4dd7a95f-f754-3518-889e-d7771c46c8d7%40makr.zone.
Hi Jan,
The result is what I expected. You see most of the CPU load is
used in the qcap.dll which is a part of Windows Direct X. It is a
known issue, that it uses a lot of CPU load, even if OpenPnP does
nothing with the frames.
Maybe you improved lighting recently?
Are you sure, the load actually drops when you show the camera views (not "None")? That would be very unexpected!
When I examined the issues, I confirmed that OpenPnP or Java is
not to blame. Other Non-Java programs have the exact same CPU load
when using two cameras (tested with OBS studio).
There is a newer Windows API for multimedia that moves the load
to the GPU. But that does not seem to really change the result on
my notebook: same amount of fan cooling required, same noise!
Given the load is not actually limiting on today's multi-cores,
this is zero-sum. And those with cheapo/weak CPUs won't have
dedicated GPUs either.
If you think about it: in my case with two Full HD ELP cams,
there are two good quality/rather high bandwidth Full HD
1080p/30fps or two HD 720p/60fps streams being constantly decoded.
That is not nothing!
When I started editing video in DV format, at tiny 576i resolution, I needed a dedicated very expensive hardware just to copy footage from the DV tapes to the HD. No real-time viewing or editing, of course. Real-time viewing was only possible from the camera, playing the tape, using an analog video overlay window on a special graphics card. 😂
For background (you might also follow the links at the end):
https://makr.zone/camera-fps-cpu-load-and-lighting-exposure/519/
_Mark
Hi Dave,
As far as I know, this was not introduced by the testing version, i.e. it is the same in the develop branch. Or do you have information to the contrary?
I'd like to close this round now, without opening new
constructions sites. But that does not mean that development will
stop after that. The testing version is then open for new stuff
again.
_Mark
With "troubleshooting" you mean Issues & Solutions?
You can do it both ways:
> Is there any way to accurately position the camera? It
is known that in the camera the matrix itself may not be in the
plane and it is hard to tell if it is even. Maybe there are
some markers in the camera view to have a reference point?
Not easy. The best I can tell you...
You can also perform Advanced Camera Calibration and then read
the tilt angle on the tab. But it is hard to know which way it
goes. Maybe @Tony can help.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BSVFECf2ByseTevkO_%3D%2BWenMTWPrBL5A_ZSH9uQusy4RE9VoA%40mail.gmail.com.
Like I said:
I'd like to close this round now, without opening new
constructions sites. But that does not mean that development
will stop after that. The testing version is then open for new
stuff again.
😁
Yes, machine triggered global shutter still frames would lighten
the load significantly.
The only down-side I see would be adaptive Camera Settling, that obviously only works with a video stream. But that's only necessary on mechanically "challenged" machines, like mine, that shake and vibrate after moves 😅
Sorry, I don't know. I would assume the latter.
--
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/28bb3333-4819-4c51-ac5d-142dfb4da740n%40googlegroups.com.