-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/anelsalas/FaceRecognition
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
# FaceRecognition | ||
Face Recognition Python script. | ||
Working on the jetson nano and also on windows using a USB camera. | ||
|
||
setup: | ||
jetson nano: | ||
sudo sh archiconda.sh -b -p /opt/archiconda3 | ||
now runnig conda3 install | ||
sudo /opt/archiconda3/bin/conda install scikit-learn | ||
then | ||
conda create -n [Virtualenv_Name] python=3.7 scikit-learn | ||
source activate py3k | ||
then install opencv through the sh script | ||
sudo sh install_opencv4.0.0_Nano.sh | ||
wait ... it takes over an hour on the nano | ||
after this you will have scikit-learn installed on the virtual environment | ||
and also opencv 4.0.0 | ||
remember to move cv2.so to cv2.so | ||
cd /usr/local/python/cv2/python-3.6 | ||
|
||
mv cv2.cpython-36m-aarch64-linux-gnu.so cv2.so | ||
|
||
|
||
windows: | ||
on windows what worked was | ||
py -m pip install opencv | ||
py -m pip install scikit-learn | ||
|
||
|