Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
Readme Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Jun 8, 2019
1 parent 300681c commit 2fc9c32
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ formatted ```.txt``` files.

## Installation

### Requirements
#### Linux
### Binary Build Requirements
#### Ubuntu Linux

* libomp-dev

* pyqt5-dev-tools

* python3-pip

* Python 3.6 or above

* The following PyPi packages from ```requirements/requirements-linux.txt```:
Expand All @@ -26,6 +30,11 @@ opencv-contrib-python==4.0.0.21
tensorflow==1.13.1
numpy==1.16.2
```
##### Build Binary:
```bash
cd build_tools
./build_ubuntu_binary.sh
```

#### MacOS
* [Homebrew](https://brew.sh)
Expand All @@ -45,7 +54,11 @@ opencv-contrib-python-headless==4.0.0.21
tensorflow==1.13.1
numpy==1.16.2
```

##### Build Binary: (NOT WORKING)
```bash
cd build_tools
./build_for_macos.sh
```

### Download prebuilt binaries

Expand All @@ -65,6 +78,7 @@ numpy==1.16.2
* Run as a source distribution:

```bash
sudo apt-get install python3-pip
sudo apt-get install pyqt5-dev-tools
sudo apt-get install libomp-dev
sudo pip3 install -r requirements/requirements-linux-python3.txt
Expand All @@ -73,13 +87,6 @@ python3 slgrSuite.py
python3 slgrSuite.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
```

* Build Binary

```bash
cd build_tools
./build_for_macos.sh
```

#### macOS


Expand All @@ -94,12 +101,6 @@ python3 slgrSuite.py
python3 slgrSuite.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
```

* Build Binary
```bash
cd build_tools
./build_for_macos.sh
```

## Usage

### Create pre-defined classes
Expand Down
2 changes: 0 additions & 2 deletions build-tools/build-for-macos.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
# To be run from the build-tools/ directory
# TODO: Install into a virtualenv so the binary isn't massive
# Run this script as the super user after running:

which -s brew
if [[ $? != 0 ]] ; then
Expand Down

0 comments on commit 2fc9c32

Please sign in to comment.