DeepLabCut-live-GUI
                                
                                
                                
                                    DeepLabCut-live-GUI copied to clipboard
                            
                            
                            
                        using Basler camera with deeplabcut-live-GUI
Hi,
I cannot make our Basler camera work with deeplabcut-live-GUI. I installed dlclivegui from the Basler branch, installed pylon viewer, pypylon, swig. the Gui opens, but I cannot see my camera.
Windows 11 python 3.9
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\TDT\anaconda3\envs\dlc_live\lib\tkinter_init_.py", line 1885, in call return self.func(*args) File "C:\Users\TDT\anaconda3\envs\dlc_live\lib\site-packages\dlclivegui\dlclivegui.py", line 317, in edit_cam_settings arg_names, arg_vals, arg_dtypes, arg_restrict = self.get_cam_args() File "C:\Users\TDT\anaconda3\envs\dlc_live\lib\site-packages\dlclivegui\dlclivegui.py", line 380, in get_cam_args cam_obj = getattr(camera, this_cam["type"]) AttributeError: module 'dlclivegui.camera' has no attribute 'Add Camera'
What am I missing?
Any advice would be very helpful. Thank you Nadine
Hi, I encountered the same problem but by:
- Downloading the basler camera python file "https://github.com/DeepLabCut/DeepLabCut-live-GUI/blob/master/dlclivegui/camera/basler.py" and putting that in the cameras folder in the dlc-live solves the job.
 - You also need to write the importing statement "from dlclivegui.camera.basler import BaslerCam" inside the init.py file/
 
You can now see your basler camera inside the 'Add Camera' inside the dlc-live gui :)