Controller
InitMoildev
- class InitMoildev.Config(filename)[source]
-
Bases:
object
Reading the parameter camera from *.json file
Constructor method :param filename = .json file: :param filename = dictionary:
- Returns:
-
camera name camera sensor width camera sensor height iCx iCy ratio image width image height calibration ratio parameter0 parameter1 parameter2 parameter3 parameter4 parameter5
- get_alpha_beta(mode, delta_x, delta_y)[source]
-
calculate the alpha beta from specific coordinate image. :param mode = the anypoint mode.: :param mode = integer.: :param delta_x = the coordinate point in quadrant 1 X axis.: :param delta_x = integer.: :param delta_y = the coordinate point in quadrant 1 Y axis.: :param delta_y = integer.:
- Returns:
-
alpha beta.
OpenCam
OpenCamera
- class OpenCamera.OpenCameras(*args: Any, **kwargs: Any)[source]
-
Bases:
Ui_Dialog
This class is to control the window selecting camera. :param MainWindow = Is the parent class window. :type MainWindow = QtWidget of mainWindow UI. :param recentWindow = is the object of this recent window. :type recentWindow = QtDialog inheritance from mainWindow class.
Constructor method. *this is the way to make the ui can link each other.
- handle_activated_combobox()[source]
-
This function is to handle combo box to select _source camera. - if select USB Camera then it will hide the object UI for streaming camera - On the other hand, if you choose a streaming camera, it will hide the component object UI for the USB camera
- check_port_camera()[source]
-
Check the camera usb that available in computer
- Returns:
-
will showing the port camera available
RatioImage
- class RatioImage.Set_RatioImage(MainWindow)[source]
-
Bases:
object
To solve the ratio image problem where using the various of camera type.h
:param parent= MainWindow of User Interface :type parent = QtWidget object
Constructor Method
Video Controller
- class VideoControler.Video_Controler(Mainwindow)[source]
-
Bases:
object
The class to control the video. this class also inheritance from mainwindow class. :param parent : main window class :type : -
Constructor method
- videoButtonDisable()[source]
-
This method has function to disable the buttons control video when not in video mode.