Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ config_tre.ini
config_temp.ini
dataset/*
logs/*
bin/
pyvenv.cfg

# Exclude some libraries
libraries/nitramite_alpr/
Expand Down
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,31 @@ its also tested with version 12. (if you didn't install at upper api section)
8. Separate camera and folder names with comma just like at base config template
9. Run wanted python apps, see `Python Apps` section.

It's critical to setup ini configuration right, you can contact me via email
nitramite@outlook.com or via opening issue if you have problems.
It's critical to setup ini configuration right.


Python side
-----
(Linux)

Not yet done or tried.
1. Install required Python version.
```shell script
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.6
virtualenv --python=/usr/bin/python3.6 ./
source ./bin/activate
```
2. Install dependencies `pip install -r requirements_linux.txt`
3. Run `Setup.py` OR Download cfg and weights from here https://github.com/AlexeyAB/darknet#pre-trained-models, cfg, coco.names https://pjreddie.com/darknet/yolo/
Ensure that cfg file width and height is 608
4. Extract weights, cfg and coco to `models` folder
5. Download PostgreSQL server ( https://www.postgresql.org/ ) I am using version <b>11.6</b> but
its also tested with version 12. (if you didn't install at upper api section)
6. Rename `config.ini.tpl` to `config.ini` and fill details.
* Config.ini content settings explained, see [Config ini](#config-ini)
* For multiple nodes, see [Multi node support](#multi-node-support))
7. Separate camera and folder names with comma just like at base config template
8. Run wanted python apps, see `Python Apps` section.


Process drawing
Expand Down
9 changes: 8 additions & 1 deletion requirements_linux.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
numpy==1.18.1
matplotlib==3.1.2
Pillow==8.2.0
opencv-python==4.1.2.30
opencv-python==4.4.0.44
tensorflow==2.0.3
tensorflow-gpu==2.0.3
Keras==2.3.1
protobuf==3.6.0
scikit-learn==0.22.1
scikit-image==0.16.2
imutils==0.5.3
psycopg2==2.8.4
insightface==0.1.5
mxnet==1.6.0
mxnet-cu100==1.5.0
setuptools==41.0.0