Skip to content

julienGautier77/camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camera

Data acquistion with different type of camera based on pyQtgraph
It use visu module to display the data received

Works with different cameras types:

-Basler (pip install pypylon: https://github.com/basler/pypylon )

-Pixelink (pip install pixelinkWrapper: https://github.com/pixelink-support/pixelinkPythonWrapper.

-The imaging source (https://github.com/TheImagingSource/IC-Imaging-Control-Samples).

-Allied technology pip instal git+https://github.com/alliedvision/VimbaPython (official library works with vimba 2.5.)

-IDS camera use pyueye (pip install pyueye)

captureTot

Requirements

Usages

appli = QApplication(sys.argv)
appli.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyqt6'))
e = CAMERA("cam='FirstAllied'",fft='off',meas='on',affLight=False)
e.show()
appli.exec_()

Or use createNewCam.py :

a messagewindows will be created with all camera connected

choose one and run the .py created

Parameters

    cam : TYPE str, optional  
        DESCRIPTION.   
            cam='choose' : generate a input dialog box which the list of all the camera connected (allied,basler,imagingSource)   
            cam='cam1' : open the camera by the ID and type save in the confFile.ini  
            ncam='menu': generate a input dialog box with a menu with all the camera name present in the .ini file   
            cam='firstAllied' open the first allied vision camera  
            cam='firstBasler' open the first Basler camera  
            cam='firstImgSource' open the first ImagingSource camera  
        The default is 'choose'.  
    confFile : TYPE str, optional  
        DESCRIPTION.  
            confFile= path to file.initr  
            The default is 'confCamera.ini'.  
    **kwds:  
        affLight : TYPE boolean, optional  
            DESCRIPTION.  
                affLight=False all the option are show for the visualisation  
                affLight= True only few option (save  open cross)  
                The default is True.  
        multi add time sleep to access QApplication.processEvents()   
        + all kwds of VISU class