freemocap / skellycam

The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸
GNU Affero General Public License v3.0
19 stars 5 forks source link

Hot fix: don't display diagnostic plots on mac #29

Closed philipqueen closed 1 year ago

philipqueen commented 1 year ago

The diagnostic plots that are created after a recording are created in a separate matplotlib GUI, which causes the main skellycam GUI to crash on a Mac. This problem also leads freemocap to crash when recording with webcams on a mac.

This PR adds a system check that turns off the diagnostic plot creation if a Mac is being used. It also displays a warning to Mac users that diagnostic plots aren't being created. This is a hot fix until we are able to move the diagnostic plots into a "diagnostics" widget within qt.

There was also a missing tqdm dependency in requirements.txt that was added.