Inspection
- Controller
- Event
MouseController
MouseController.mouse_event()
MouseController.mouseDoubleclick_event()
MouseController.mouse_wheelEvent()
MouseController.mouse_wheelEvent_ori_label()
MouseController.mouse_release_event()
MouseController.menuMouseEvent()
MouseController.mouseMovedOriImage()
MouseController.init_ori_ratio()
MouseController.init_result_ratio()
- Camera
- Serial Controller
getPassword()
AxisController
AxisController.open_axis_controller()
AxisController.set_speed_axis()
AxisController.go_connect_serial()
AxisController.go_disconnect_serial()
AxisController.go_reset()
AxisController.go_absolute_moving()
AxisController.go_related_moving_forward()
AxisController.go_related_moving_backward()
AxisController.help_axis_controller()
- Video Controller
- Event
- Help
- Source
- parameters
CameraParameters
CameraParameters.connect_event()
CameraParameters.list_cam_available()
CameraParameters.handle_combo_box()
CameraParameters.delete_camera_param()
CameraParameters.update_params()
CameraParameters.add_new_params()
CameraParameters.clear_all()
CameraParameters.get_params_from_form()
CameraParameters.close_dialog()
- parameters
- Image
- Inspection Tools
- Inspection View
- Widgets
Main
- class plugins.Thread_inspection.main.Controller(main_application)[source]
Bases:
QMainWindow
This Class is for control the widget event to the execute function.
- Parameters:
() (main_application) – This argument send QWidget from main application.
class (which is can access the function and variable from that)
class
- resized
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- camera_parameter = 'camera_parameters/camera_parameters.json'
- connect_event()[source]
Connect every event on user interface like button event, mouse event and etc to the function processing.
- open_image()[source]
Open Dialog to search the file image from directory. This function also will read the comment from metadata image.
- connect_to_moildev()[source]
Connect to Moildev SDK, need provide camera parameter database and type of camera.
- onclick_load_video()[source]
Open Dialog to search video file from Directory. after you select the video file, it will show the prompt to select the type of camera.
- dialog_camera_oke()[source]
The function will execute when you press accept or ok in dialog camera type selection.
- open_cam_params_window()[source]
Open the window of camera parameter form, this window you can update, add, and delete the camera parameter from database.
- open_camera()[source]
open the camera from the available source in the system, this function provide 2 source namely USB cam and Streaming Cam from Raspberry pi.
- running_video(video_source)[source]
Open Video following the source given.
- Parameters:
() (video_source) – the source of media, can be camera and video file.
- save_image()[source]
Save image into local directory, it can save original image or result image from panorama or anypoint processing.
- addWidget(image)[source]
Add the image widget in the list view of saved image. it can be reopen when you select. :param image (): the image saved.
- saved_image_activated()[source]
Function that for connect with the event in list widget to reopen the image.
- selectDir()[source]
Select directory to save image. This function create to make it not always ask the directory by open dialog, after directory save not None, it will pass open dialog prompt.
- Returns:
None.