Commit 2b75e67b authored by Maria Kleppestø Mcculloch's avatar Maria Kleppestø Mcculloch
Browse files

Merge branch 'mariakmc-main-patch-22133' into 'main'

Update README.md

See merge request !2
parents 0c697268 71d57ede
......@@ -2,10 +2,33 @@
This is the documentation of the code for the project
### Dependencies
### Install Third party
As the script depends on the ArcFace library to compute the scores, this library needs to be installed first.
The library installation can be found here: https://github.com/deepinsight/insightface
It also depends on a third party DET script.
### Computing the baseline.
One can use the code present in main.py to compute the baseline. In order to achive this, one needs to
1. Change the projectpath the project paht as it is on your local machine
`` projectpath = "my/project/path/ ``
2. Uncomment the following lines:
```
QualEval = QualityEvaluator("Instance-Name", projectpath, imgsdir, "subjectnr/samplenr")
QualEval.ArcFace_init()
QualEval.readInDataset(params, projectpath, imgsdir, "ArcFaceCasia", True )
QualEval.ComputeBaselines()
QualEval.SaveBaslines()
```
### Compute quality metrics
### Plot quality metrics
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment