Skip to content

Commit e9a61b1

Browse files
committed
Updated UML diagrams and edited build scripts
1 parent 398a746 commit e9a61b1

File tree

11 files changed

+22
-12
lines changed

11 files changed

+22
-12
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,36 +36,35 @@ Continuous integration is tracked by using Travis CI and code coverage is tracke
3636
| :--- | :---: | ---: |
3737
| OpenCV | 4.5.1 | [Apache 2](https://github.com/opencv/opencv/blob/master/LICENSE) |
3838
| Eigen | 3.X.X | [MPL2](https://www.mozilla.org/en-US/MPL/2.0/FAQ/) |
39-
| GTest | 1.X.X | [BSD 3-Clause](https://github.com/google/googletest/blob/master/LICENSE) |
4039

4140
Run this command in the root directory to install the dependencies :
42-
43-
chmod a+x install_dependencies.sh
44-
./shell_scripts/install_dependencies.sh
45-
41+
```
42+
chmod a+x scripts/install_dependencies.sh
43+
./scripts/install_dependencies.sh
44+
```
4645

4746
## System Architecture
4847
The following shows the activity diagram for our proposed schema :
4948
<img alt="activity" src="assets/activity.png" width="75%" />
5049

5150
*Fig 1 : Activity Diagram*
5251

53-
The corresponding class diagram can be found [here](https://github.com/aditiramadwar/Human_Detection_Tracking-CPP/blob/Phase_1/documents/Class_Diagram.pdf).
52+
The corresponding class diagram can be found [here](https://github.com/aditiramadwar/Human_Detection_Tracking-CPP/blob/Phase_1/documents/Phase1_revision/Class_Diagram.pdf).
5453
## Testing
5554
Unit Testing will be used to test each submodule and ensure complete code coverage. For this Google Gtest will be leveraged and identical test classes and methods will be created with minimal modification in order to facilitate testing.
5655

5756
Additionally, a small test subset of the COCO test data will be used to validate model accuracy.
5857

5958
## Building without code coverage
6059
Execute these commands in the root folder :
61-
62-
chmod a+x shell_scripts/build_without_coverage.sh
63-
./shell_scripts/build_without_coverage.sh
64-
60+
```
61+
chmod a+x scripts/build_without_coverage.sh
62+
./scripts/build_without_coverage.sh
63+
```
6564
## Building with code coverage
6665
Execute these commands in the root folder :
6766
```
6867
sudo apt-get install lcov
69-
chmod a+x shell_scripts/build_with_coverage.sh
70-
./shell_scripts/build_with_coverage.sh
68+
chmod a+x scripts/build_with_coverage.sh
69+
./scripts/build_with_coverage.sh
7170
```

assets/activity.png

66.3 KB
Loading

assets/design.gif

-97.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

scripts/build_with_coverage.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rm -rf build/
2+
mkdir build
3+
cd build
4+
cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ../
5+
make
6+
make code_coverage

scripts/build_without_coverage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rm -rf build/
2+
mkdir build
3+
cd build
4+
cmake ..
5+
make
File renamed without changes.

shell_scripts/build_with_coverage.sh

Whitespace-only changes.

0 commit comments

Comments
 (0)