easy_gauge_basic¶
Support |
|
|---|---|
Required licenses |
EasyGauge |
Recommended images |
Any image from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Make subpixel measurements with eVision in a Qt application.
Code highlights¶
Setup the gauge widget.
self.gauge_widget = EasyGaugeWidget() self.gauge_widget.set_gauge_type(eVision.EShapeType.PointGauge) self.gauge_widget.set_transition_type(eVision.ETransitionType.Bw) self.gauge_widget.set_transition_choice(eVision.ETransitionChoice.LargestAmplitude) self.gauge_widget.set_view_results(True)
Perform a measurement with the gauge.
self.xxx_gauge.Measure(self.image)