분류 전체보기253 [OpenCV] Mac M1 실리콘 환경에 설치하기 컴퓨터 그래픽스 실습을 위해 OpenCV를 제가 사용하는 맥북에 설치하는 과정을 설명합니다. 환경 확인 CMake 3.9 or higher Git Python 2.7 or later and Numpy 1.5 or later 터미널을 열어 cmake가 설치되어 있는 지 확인합니다. cmake --version 설치 저는 바탕화면에 CG 디렉토리를 생성하여 내부에 설치했습니다. cd Desktop cd CG git clone https://github.com/opencv/opencv.git 아래 명령을 통해 opencv_contrib 또한 설치합니다. git clone https://github.com/opencv/opencv_contrib.git CG 디렉토리 내 build_opencv 디렉토리 생성 후 .. 2023. 5. 12. [React-Native] 두 Modal을 활용하여 뒷 배경 어둡게 처리하기 React Native 에서 기본적으로 제공하는 Modal 만을 활용해 Modal 활성화 시 배경을 어둡게 하도록 코드를 작성해 보겠습니다. 대부분의 앱들에서 볼 수 있는 사용자 경험입니다. 실행 화면 구현한 실행 화면부터 확인해 보겠습니다. - 뒷 배경 흐림에 fade 옵션을 준 경우 - 뒷 배경 흐림에 none 옵션을 준 경우, 보다 즉각적인 반응을 얻을 수 있습니다. 저라면 이 버전을 사용할 것 같네요. Modal 구현 이를 구현하기 위해 두 가지 Modal을 사용해야 합니다. 하나는 뒷 배경을 어둡게 할 ContainerModal 이고 나머지 하나는 사용자가 집중하게 될 내용을 담을 TestModal 입니다. ContainerModal 뒷 배경을 어둡게 처리할 Modal 입니다. 어떻게 어둡게 할.. 2023. 5. 6. [React-Native] NativeWind 스타일링 미적용 문제 해결 TailWind 디자인 패턴을 RN 앱에 사용하기 위해 사용하는 라이브러리로 NativeWind가 있습니다. NativeWind를 활용한 스타일링이 적용되지 않을 때 시도할 수 있는 해결 방법들입니다. 캐시 삭제 NativeWind 스타일링은 각 파일의 캐쉬를 활용합니다. 바로 적용이 안되는 경우 캐쉬를 삭제한 후 다시 빌드를 시도합니다. npx react-native start --reset-cache tailwind.config.js 확인 NativeWind는 tailwind.config.js 파일을 통해 스타일링을 적용할 파일들을 확인합니다. 새로운 파일을 생성한 경우 파일을 다시 확인해 보세요. 제 경우, MainScreen 파일을 새로 만든 후 tailwind.config.js 파일에 해당 파일.. 2023. 4. 30. [React-Native] Xcode DVTCoreDeviceEnabledState 빌드 오류 해결 발생 에러 아래와 같은 에러를 남기며 IOS 앱을 빌드할 수 없었습니다. warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ITerviewClientMobile' from project 'ITervie.. 2023. 4. 29. [머신러닝] Linear Regression 해당 글은 교재 Statistical Learning with R을 챕터별로 정리한 글입니다. Linear Regression RSS (Residual Sum of Squares) we have to choose minimized RSS LSM (Least Square Method) can get intercept and slope(coefficient) with minimized RSS SE (Standard Error) Confidential Interval Hypothesis Test H0 and H1 Hypothesis test P-value smaller -> important T-Statistic Bigger T-stat -> smaller p-value -> reject H0 Assessin.. 2023. 4. 25. [머신러닝] Introduction 해당 글은 교재 Statistical Learning with R을 챕터별로 정리한 글입니다. statistical learning : understanding data with vast tools Supervised Learning vs Unsupervised Learning supervised : given input and output ex) regression(wage), classification(stock) unsupervised : Given only input ex) dimension reduction, clustering Prediction vs Inference prediction : predict Y from X inference : understand relationship -> w.. 2023. 4. 25. 이전 1 ··· 27 28 29 30 31 32 33 ··· 43 다음