포스트

건설 현장 위험 감지 프로젝트

깃 설치

1
2
sudo apt-get update
sudo apt-get install git

아나콘다 설치

1
wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh

installconda

1
bash Anaconda3-2024.02-1-Linux-x86_64.sh

bash

  • yes/no 나오면 yes
  • more 나오면 enter 계속 누르기
  • Enter/Ctrl C 나오면 enter

  • 설치 이후 conda –version을 누르면 coynda 명령어를 사용할 수 없다고 나옴. 터미널을 껐다가 재실행하면 작동됨

condaver

가상환경 생성

1
2
conda create -n p310_construction python=3.10
conda env list

envlist2

필요한 라이브러리 설치

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pip3 install opencv-python==4.7.0.72 \
opencv-python-headless==4.7.0.72 \
Pillow==10.3.0 \
torch==2.3.0 \
torchvision==0.18.0 \
ultralytics==8.2.21 \
imageio==2.34.1 \
imgaug==0.4.0 \
numpy==1.26.4 \
python-dotenv==1.0.1 \
sahi==0.11.16 \
pycocotools==2.0.7 \
onnx==1.16.1 \
gunicorn==22.0.0 \
imagecorruptions==1.1.2 \
Flask-JWT-Extended==4.6.0 \
Flask-Limiter==3.7.0 \
Flask-SQLAlchemy==3.1.1 \
redis==5.0.4 \
apscheduler==3.10.4 \
speedtest-cli==2.1.3 \
streamlink==6.7.4 \
tenacity==8.3.0 \
Flask==3.0.3 \
Flask-SocketIO==5.3.6 \
Flask-Cors==4.0.1 \
eventlet==0.36.1


이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.