개발

Face Mesh Landmark FACEMESH_NUM_LANDMARKS = 468 FACEMESH_NUM_LANDMARKS_WITH_IRISES = 478 Face Mesh Return multi_face_landmarks (namedTuple) 468개의 x, y, z x, y 는 [0.0] ~ [1.0] 으로 normalized 된 값이고 z는 depth를 나타냄. 작은 값일 수록 카메라와 가까움을 나타냄. https://google.github.io/mediapipe/solutions/face_mesh.html#multi_face_landmarks Face Mesh Cross-platform, customizable ML solutions for live and streaming media. g..
첫째주 insightface recognition arcface_mxnet 모델 학습시키는 것을 서버에서 실행해보았습니다. 도커 환경 설치부터 도커 내에서 gpu를 사용하고, 볼륨 연결과 이미지를 받고 컨테이너를 실행시켜보는 등 기본적인 것들을 실행해보며 알 수 있었습니다. 둘째주 기능을 붙이려고 하는 사이트에 대한 정보를 간단히 공유하고 미디어파이프를 사용하기 위한 기능을 확실히 하고, 미디어파이프 스터디를 해보는 것으로 마무리지었습니다. 셋째주 저번주 회의 이후에는 디버깅 연결해보고, face_detection 관련 소스를 보았습니다. 간단한 진행순서로는 Input video 입력받고 > detection 하고 > overlay 해서 output video 에 씌워 보여주었습니다. 구조는 //med..
OSError: libcudnn.so.7: cannot open shared object file: No such file or directory OSError: libcudart.so.10.0: cannot open shared object file: No such file or directory OSError: libcufft.so.10.0: cannot open shared object file: No such file or directory ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so.8 /usr/lib/x86_64-linux-gnu/libcudnn.so.7 ln -s /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcuda..
docker 사용하여 ubuntu로 돌려보기로 합니다. docker 생성 docker pull ubuntu docker run -itd --name insightface(컨테이너명) ubuntu:latest # 생성 동시 실행 docker exec -it insightface bash # 접속 # exit # 종료 apt-get update && apt-get -y install sudo sudo apt-get install python-pip sudo apt-get install python3-pip pip install mxnet-cu100 sudo apt-get install git git clone --recursive https://github.com/deepinsight/insightface...
실행하려고 하다보니 설치가 안 된 부분이 있어 설치해주고 넘어갑니다. conda install scikit-learn conda install -c apple tensorflow-deps python -m pip install tensorflow-macos 하려고 했는데.. mac os x 12.3 을 위한 거라고 하네요. https://stackoverflow.com/questions/71174306/expected-in-usr-lib-libc-1-dylib-installing-tensorflow-on-m1-macbook-pro 'Expected in: /usr/lib/libc++.1.dylib': Installing Tensorflow on M1 MacBook Pro I am trying to ins..
install 아래 링크를 참고하여 pytorch 를 설치하였다. https://c-juhwan.github.io/posts/m1-pytorch-installation/ M1 맥에서 Pytorch 설치하기 - M1 Native 개요 c-juhwan.github.io setting 소스를 받는다. git clone --recursive https://github.com/deepinsight/insightface.git https://github.com/deepinsight/insightface/tree/master/recognition/_datasets_ 여기에 있는 MS1M-ArcFace 를 다운로드 받는다. GitHub - deepinsight/insightface: State-of-the-art 2D..
얼굴 인식 모델을 만들기 위해 insightface 에서 face recognition 부분의 arc-face 를 선택하여, train 부터 시켜보려고 한다. arc face 는 state of the art face recognition approach 라고 해서 선택하게 되었다. 최첨단 시대로 가봅시다. 네 가지가 있었다. 맘같아서 mxnet 을 하고 싶었다. 그런데 cuda 설치 부분에서 m1을 사용하고 있는 나로써는 설치가 가능하다는 것을 빨리 찾기가 어려웠고, pytorch 는 가능하다는 얘기를 찾은 것 같다. https://github.com/pytorch/pytorch/issues/47702#issuecomment-739442975 GPU acceleration for Apple's M1 c..
brew install opencv 로 설치 후 경로 잘 기억해놓고, xcode로 build settings의 header search path, library search path, other flags path 세 가지 설정해주고 설치 후 보여지는 pkg-config 관련 path 내에서 .pc 파일이 위치한 파일의 이름을 --libs 뒤에 붙이면 된다. 나는 opencv였다. 보여지는 텍스트를 복사 붙여넣기한다. pkg-config --cflags --libs opencv signing&Capabilities 의 disable library validation 체크 main.cpp #include #include int main(int argc, const char * argv[]) { // ins..
내공얌냠
'개발' 카테고리의 글 목록 (6 Page)