Dual-Mag-Data is a python library created to convert raw image and log data from the Dual-Mag camera into processed color images and csv files with collated image and system status data. The library currently implements the following minimal set of features:
- color conversion and contrast enahncement of images
- Collation of system status and ROI detector data in csv file
- Creation of javascript files to load from Dual-Mag-Dash
Additional features as described in the "Where help is needed" section.
- python3 and several python modules (listed bellow)
- Data generated from a Guatek Dual-Mag plankton camera (2020 versino and up)
- VS Code
- Miniconda
- Powershell for use on Windows
- Install Powershell
- Download from this link: PowerShell-7.0.3-win-x64.msi
- Follow setup instructions from MSI Package here: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1
- Install Miniconda 3.8 Windows 64-bit
- Download from this link: https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
- Follow installations instructions installing into accepting defaults when prompted. Install into user’s home directory
- In the windows search bar (Type here to search) type in Anaconda Prompt (miniconda3)and click on the icon to open an anaconda shell
- At the shell type conda init powershell to setup PowerShell to use the miniconda installation
- Test Miniconda and Powershell
- Type: powershell into the windows search bar and click on the PowerShell 7 (x64) icon
- If setup correctly after a few seconds you should see a prompt that looks like: (base) PS C:\Users[username]> where [username] is your username
- Type python into the prompt to start python and record version
- Setup Dual-Mag Virtual Environment
- Type exit() at the python prompt to exit back to powershell
- Create the dual-mag virtual environment and activate it
- PS C:\Users[username]> conda create -n dual-mag python=3.9.1
- PS C:\Users[username]> conda activate dual-mag
- Install required python modules into the new virtual environment
- (dual-mag) PS C:\Users[username]> pip install pystache
- (dual-mag) PS C:\Users[username]> pip install loguru
- (dual-mag) PS C:\Users[username]> pip install scikit-image
- (dual-mag) PS C:\Users[username]> pip install opencv-python
- (dual-mag) PS C:\Users[username]> pip install psutil
- (dual-mag) PS C:\Users[username]> pip install pandas
- (dual-mag) PS C:\Users[username]> pip install parse
- Download Dual-Mag-Data Repo
- Download software from: https://github.com/guatek/Dual-Mag-Data/archive/master.zip
- Extract to a convenient location, for example: C:\Users[username]\software
We use GitHub Issues as the official bug tracker
If you need support beyond github please use our Contact Page or reach out to us directly via email or slack.
- Copyright 2021 Guatek (http://www.guatek.com)
- Licensed under MIT (https://github.com/guatek/Dual-Mag-Data/blob/master/LICENSE.md)