[OpenCV]:Visual Studio 2012 搭建 OpenCV2.4.3
[OpenCV under Visual Studio 2012 Ultimate] [Tentative experimentation for x86] Thereare really sofew materials for installing the OpenCV(2.4.3) for Visual Studio 2012. Hence, I have read several blogs to do it, and fortunately Igot it. ---
[OpenCV under Visual Studio 2012 Ultimate]
[Tentative experimentation for x86]
There are really so few materials for installing the OpenCV(2.4.3) for Visual Studio 2012. Hence, I have read several blogs to do it, and fortunately I got it.
----------------------------------------------------------------------------------------------------------------------------
[Envrionment]:
[1] OpenCV 2.4.3
[2] Winodws Eight
[3] Visual Studio 2012 Ultimate
[Steps]:
[1]Based on that you have installed the visual studio 2012 under windows eight.
[2]Download the opencv2.4.3 fromhttp://opencv.org/, you may choose the windows vision.
And it will prompt the download page automatically.
[3]Double-Click the excutive file(.exe), which will help you unzip it, accurately not "installing".
And now, we assume the whole directory is -->H:\MySoftware\OpenCV\opencv\
[4]Thenceforth, you get a documentation folder named "opencv", which includes a lot of files
for current domainant platforms ie: Winodws, Mac, Linux/Unix, iOS, Android.
Make sure, you get the folder called "build", which is extreme significant for us.
[5]Add the items for your "Path" system variable. Carefully I push two directories into the "Path".
(1)H:\MySoftware\OpenCV\opencv\build\x86\vc10\bin\
(2)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\
Maybe, the second one is meaningless.
Step by step, complish it.
[6]Restart the Visual Studio 2012, if you have runned it.
[7]Now, we may create a new VC++ project under VS2012.
I founded the Win32 Console Application and chose the "Empty Project".
[8]Look up at your VS2012 File Bar, and manipulate follow under sequence:
View -- Other Windows -- Property Manager, so you get the little "Propert Manager Window".
[9]Concentrate the "tree", you get the one like this:
yourSolutionName:
@Debug|Win32
#Microsoft.Cpp.Win32.user
#Application
#Unicode Support
#Core Windows.Libraries
@Release|Win32
#Microsoft.Cpp.Win32.user
..... .....
[10]Right-Click the orange one called "Microsoft.Cpp.Win32.user", and tap the "Properties" item.
[11]Thereby, a simple window show you where you will work.
[12]Press the "VC++ Directories" the resident on the left tree.
[13]Focus on the right part. And click the "Include Directories" and edit it by pressing the down-arrow.
Add the three items into it.
(1)H:\MySoftware\OpenCV\opencv\build\include\
(2)H:\MySoftware\OpenCV\opencv\build\include\opencv\
(3)H:\MySoftware\OpenCV\opencv\build\include\opencv2\
Save it after you have done.
[14]Further more, tap the item "Library Directories" and edit it too.
Push one directory into it :H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\
And save it.
[Additionally]Press the "Linker" one the left tree, and choose "Input". Concentrate the right part,
and edit the "Additional Dependencies" by adding three items:
(1)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_core243d.lib
(2)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_highgui243d.lib
(3)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_imgproc243d.lib
And save it.
[15]Now, you can "cultivate" some opencv codes in your empty project.
[For example]:
#include "highgui.h";
int main(int argc , char** argv)
{
IplImage* img= cvLoadImage("./hello.jpg"); //Be sure you have a picture in the root dir
cvNamedWindow("Test One", CV_WINDOW_AUTOSIZE);
cvShowImage("Test One",img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Test One");
return 0;
}
//Happily, you may find the visual studio 2012 can auto-complete the part of the function
//, which stands for the success of including the opencv header file.
//But if you attempt to run it, vs2012 will prompt error saying "Lacking MSVCP100D.dll".
//So Awful.
[16]So let's solve this problem and try to think about "WHY".
(Reason:)You may remember or not, we choose the folder which is named "vc10".
That stands for "Visual Studio 2010" not "2012", so maybe there is something
gone away from 2010 to 2012. To conquer it, we can find the nut called "MSVCP100D.dll"
, get it and put it into the right place.
[17]So "google" is a good buddy, get sufficient results of "MSVCP100D.dll" , and you can choose one
for downloading.
[18]Put this guy into the "Windows\System32\" folder, just it.
[19]Run your OpenCV Project again. What was worse, a "POP" again. This time it complain about
"NO MSVCR100D.dll". Look at it again: it is not "MSVCP100D.dll" but "MSVCR100D.dll".
[20]So, you may have got the method: google it --> download it -->put it into Windows\System32\.
[21]Now, come back to your cute Visual Studio 2012 andRUNyour OpenCV Project
(Whose codes you have done) again.
[22]HeHe, it works........................
[23]So, you get the OpenCV now, and it is the lastest one. Enjoy it.
----------------------------------------------------------------------------------------------------------------------------
[Notice]
The method above just show the [Debug Modle]. If you desire to get the [Release One], come back to the
[STEP NINE] and choose the GREEN ONE, and the setting for the "Linker" changing to :
(1)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_core243.lib
(2)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_highgui243.lib
(3)H:\MySoftware\OpenCV\opencv\build\x86\vc10\lib\opencv_imgproc243.lib
Remeber save it.
There is no "d", becuase the character "d" stands for "DEBUG" in this area.
----------------------------------------------------------------------------------------------------------------------------
[SO CUET THE OPENCV IS]

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

뜨거운 주제











특정 코드 예제가 필요한 OpenCV 튜토리얼을 쉽게 설치하려면 pip 명령을 사용하세요. OpenCV(OpenSource 컴퓨터 비전 라이브러리)는 개발자가 이미지를 빠르게 구축하는 데 도움이 되는 수많은 컴퓨터 비전 알고리즘과 기능을 포함하고 있습니다. 및 비디오 처리 관련 애플리케이션. OpenCV를 사용하기 전에 먼저 OpenCV를 설치해야 합니다. 다행스럽게도 Python은 타사 라이브러리를 관리할 수 있는 강력한 도구인 pip를 제공합니다.

OpenCV는 컴퓨터 비전 및 이미지 처리를 위한 오픈 소스 라이브러리로, 기계 학습, 이미지 인식, 비디오 처리 및 기타 분야에서 널리 사용됩니다. OpenCV를 사용하여 개발할 때 프로그램을 더 효과적으로 디버깅하고 실행하기 위해 많은 개발자는 강력한 Python 통합 개발 환경인 PyCharm을 선택합니다. 이 문서에서는 PyCharm 사용자에게 특정 코드 예제와 함께 OpenCV 설치 튜토리얼을 제공합니다. 1단계: Python 설치 먼저 Python이 설치되어 있는지 확인하세요.

마더보드의 SPDIFOUT 연결 라인 순서 최근에 전선의 배선 순서에 문제가 발생했습니다. 온라인에서 확인해 보니 1, 2, 4가 out, +5V, ground에 해당한다는 정보도 있고, 1, 2, 4가 out, ground, +5V에 해당한다는 정보도 있습니다. 가장 좋은 방법은 마더보드 설명서를 확인하는 것입니다. 설명서를 찾을 수 없으면 멀티미터를 사용하여 측정할 수 있습니다. 먼저 접지를 찾은 다음 나머지 배선의 순서를 결정할 수 있습니다. 마더보드 VDG 배선 연결 방법 마더보드의 VDG 배선을 연결할 때 VGA 케이블의 한쪽 끝을 모니터의 VGA 인터페이스에 연결하고 다른 쪽 끝을 컴퓨터 그래픽 카드의 VGA 인터페이스에 연결해야 합니다. 마더보드의 VGA 포트에 연결하지 않도록 주의하세요. 연결되면 다음을 수행할 수 있습니다.

플레이어는 Mistlock 왕국에서 플레이할 때 건물을 짓기 위해 다양한 재료를 수집할 수 있습니다. 많은 플레이어가 야생에서 건물을 지을 수 있는지 알고 싶어합니다. Mistlock 왕국에서는 건물이 제단 범위 내에 있어야 합니다. . Mistlock Kingdom에서는 야생에 건물을 지을 수 있나요? 답변: 아니요. 1. 미스트락 왕국의 야생 지역에는 건물을 지을 수 없습니다. 2. 건물은 제단의 범위 내에서 건축되어야 한다. 3. 플레이어 스스로 Spirit Fire Altar를 설치할 수 있지만, 범위를 벗어나면 건물을 지을 수 없습니다. 4. 산에 직접 구멍을 파서 집으로 삼을 수도 있어 건축자재를 소모할 필요가 없습니다. 5. 플레이어가 직접 지은 건물에는 편안함 메커니즘이 있습니다. 즉, 인테리어가 좋을수록 편안함이 높아집니다. 6. 높은 편안함은 플레이어에게 다음과 같은 속성 보너스를 제공합니다.

PyCharm은 JetBrains에서 개발한 강력한 Python 통합 개발 환경(IDE)으로 Python 개발자가 코드를 작성하고, 프로그램을 디버그하고, 프로젝트를 관리하는 데 도움이 되는 다양한 기능과 도구를 제공합니다. PyCharm에서 강력한 컴퓨터 비전 라이브러리인 OpenCV를 사용하면 이미지 처리, 비디오 처리 및 기타 작업을 쉽게 수행할 수 있습니다. 이 문서에서는 PyCharm에서 OpenCV를 설치 및 구성하는 단계를 자세히 설명하고 특정 코드 예제를 제공합니다. 1.안

오늘날 정보가 풍부한 시대에 소셜 미디어 플랫폼은 사람들이 정보를 얻고 공유하는 주요 수단이 되었습니다. 개인과 기업에게 정보의 최대 전파와 영향력 강화를 위한 효과적인 계정 네트워크 구축은 해결해야 할 시급한 과제가 되었습니다. 1. 계정 매트릭스를 구축하는 방법은 무엇입니까? 1. 타겟 고객을 명확히 합니다. 계정 매트릭스를 구축하기 전에 핵심은 타겟 고객을 명확하게 정의하고 그들의 요구, 관심사 및 소비 습관을 심층적으로 이해하여 보다 타겟화된 콘텐츠 전략을 개발할 수 있다는 것입니다. 2. 적절한 플랫폼을 선택하십시오. 대상 그룹의 특성에 따라 레이아웃에 적합한 소셜 미디어 플랫폼을 선택하십시오. 현재 주류 소셜 미디어 플랫폼에는 Weibo, WeChat, Douyin, Kuaishou 등이 있습니다. 각 플랫폼에는 고유한 사용자 그룹과 커뮤니케이션 특성이 있으므로 실제 상황에 따라 선택해야 합니다.

PyTorch 설치 가이드: PyCharm에서 개발 환경을 빠르게 설정하십시오. PyTorch는 현재 딥 러닝 분야에서 가장 널리 사용되는 프레임워크 중 하나이며 사용 용이성과 유연성이 특징이며 개발자들이 선호합니다. 이 글에서는 딥 러닝 프로젝트 개발을 시작할 수 있도록 PyCharm에서 PyTorch 개발 환경을 빠르게 설정하는 방법을 소개합니다. 1단계: PyTorch 설치 먼저 PyTorch를 설치해야 합니다. PyTorch 설치는 일반적으로 시스템 환경을 고려해야 합니다.

모바일 인터넷의 급속한 발전으로 인해 짧은 동영상 애플리케이션인 Douyin은 사람들의 일상생활에 없어서는 안 될 부분이 되었습니다. 인기 있는 Douyin 계정을 보유하면 팬들의 관심을 끌 수 있을 뿐만 아니라 상업적 가치도 가져올 수 있습니다. 그렇다면 최고의 Douyin 계정을 설정하는 방법은 무엇입니까? 1. Douyin 계정을 설정하는 가장 좋은 방법은 무엇입니까? 1. 명확한 포지셔닝 Douyin 계정을 만들 때 먼저 포지셔닝을 명확히 해야 합니다. 재미있는 조커가 되고 싶나요, 아니면 전문 지식 공유자가 되고 싶나요? 명확한 포지셔닝은 정확한 팬을 유치하여 계정 가치를 높이는 데 도움이 됩니다. 2. 계정 이름: 좋은 계정 이름은 팬들이 한눈에 당신을 기억할 수 있게 해줍니다. 계정 이름은 귀하의 포지셔닝과 관련하여 간결하고 명확해야 하며 어느 정도 창의성이 있어야 합니다. 다른 사람과 혼동을 피하기 위해 너무 흔한 이름은 사용하지 마십시오.
