ksseverson57 / campy

Python package for streaming video from multiple cameras to disk. Features real-time compression and debayering using FFmpeg.
MIT License
37 stars 18 forks source link

'campy.cameras.flir' Module Not Found #7

Closed josephbima closed 3 years ago

josephbima commented 3 years ago

Getting this error when trying to use FLIR cameras. I tried this both on the master branch and also on the flir branch, and received the same error. I have downloaded the FLIR SDK, maybe it is an issue with the download path?

This is my config file

# Recording parameters
videoFolder: "./test"
videoFilename: "0.mp4"
frameRate: 200
recTimeInSec: 30

# Camera parameters
cameraMake: "flir"
numCams: 2
cameraSelection: [0,1]
# cameraSettings: "./campy/cameras/basler/settings/acA1920-150uc_1152x1024p_100fps_trigger_RGB_p6.pfs"
cameraNames: ['Camera1', 'Camera2']

# Compression parameters
ffmpegLogLevel: ["warning","warning"]
gpuID: -1
pixelFormatInput: 'bayer_rggb8' #'bayer_bggr8' 'rgb24'
pixelFormatOutput: "rgb0"
codec: "h264"
quality: "21"

# Display parameters
chunkLengthInSec: 30
displayFrameRate: 10
displayDownsample: 2

# Other parameters
ffmpegPath: [] #["/home/usr/Documents/ffmpeg/ffmpeg"]
frameWidth: 1280 # 1152
frameHeight: 1024 # 1024
ksseverson57 commented 3 years ago

This issue should be resolved. Try the latest master branch. Previous version was missing init.py in flir camera module.