How to install OpenCV in Microsoft Visual Studio 2017
How to install OpenCV in Microsoft Visual Studio 2017 is created by AKElevon.
Steps to install OpenCV in Microsoft Visual Studio 2017
Step 1: Install Visual Studio 2017
Step 2: Install OpenCV
Step 3: Include OpenCV to system path
• Go to Advanced System Settings --) Environment Variables --)System Variables --) Path
• Click on ‘Edit’. Now, click ‘New’ to add new environment variable.
• Copy and paste the path of bin folder inside OpenCV package.
• Press OK and exit the environment variable.
Step 4: Create a new empty console application
Step 5: Include OpenCV in Visual Studio
• Change the Debug environment to x64.
• Inside Properties of the project, then CC++ --)General. Copy the path to include folder of opencv and paste it inside Additional Include Directories. Then, click Apply.
• Go to linker --) General. Copy the path to folder containing opencv lib files and paste it inside Additional Library Directories. Then, click Apply.
• Go to Input. Edit Additional Dependencies and paste the the files end with d.lib file’s name.
• Exit the Properties by clicking OK.
Step 6:
• Move .dll files from bin to System32
Step 7: Test the code
=====================================================
Application:
-----) Install OpenCV in MSVS 2017
=====================================================
Software Used:
------) Microsoft Visual Studio 2017
======================================================
Components:
• Microsoft Visual Studio 2017
======================================================
Other Projects:
Four Way Traffic Light System Using Arduino Simple Version
------ https://youtu.be/mJ0ANveFoZ8
C# Window form Button and Text Box
------ hhttps://youtu.be/EqHBA7lSOeg
=====================================================
AKElevon also Support (If you have any question or you can get help about any project Mail me) and Work in Following Fields.
=====Mail programmer74432@gmail.com====
1- 8051 related Projects
2- Image Processing Using Matlab
3- Electronics Projects
4- Machine Learning
5- Deep Learning using Matlab
6- Arduino Projects
7- Python and C++ --Window Form
8- C# Window Form
9- PLC Projects
10- Computer Vision using C++
11- OpenCV using C++
Bytronic Industrial Control Simulation Using LogixPro
Bytronic Industrial Control Simulation Using LogixPro is created by AKElevon. The bytronic industrial control trainer is a system that was designed to represent a typical industrial process automation system. Its objective is to ensure the assembly of plastic rings and aluminum pegs. It is made up of 2 conveyor system. The conveyors are of two types; chain conveyor and a belt conveyor. The chain conveyor processes the pegs and rings up the upper sort area.
=====================================================
Application:
-----) Automatic Assembly System
=====================================================
Software Used:
------) Logix Pro
======================================================
Components:
• Logix Pro
======================================================
Other Projects:
Four Way Traffic Light System Using Arduino Simple Version
------ https://youtu.be/mJ0ANveFoZ8
C# Window form Button and Text Box
------ hhttps://youtu.be/EqHBA7lSOeg
=====================================================
AKElevon also Support (If you have any question or you can get help about any project Mail me) and Work in Following Fields.
=====Mail programmer74432@gmail.com====
1- 8051 related Projects
2- Image Processing Using Matlab
3- Electronics Projects
4- Machine Learning
5- Deep Learning using Matlab
6- Arduino Projects
7- Python and C++ --Window Form--
8- C# Window Form
9- PLC Projects
Four Way Traffic Light System with Counter Using Arduino
Video:
Description:
We can use 2bit decoder IC's for LED's to reduce usage of Arduino Pins. We can also use 4bit Up/Down Counter for Seven Segment. We use its Down Counter mode. We can use BCD Decoder IC's to decode input bits into Seven segment inputs.=====================================================
Application:
-----) To control Traffic
=====================================================
Software Used:
------) For Arduino Programming ***Arduino IDE****
------) For Simulation ***Proteus***
======================================================
Components:
- · Arduino UNO
- · Seven Segments Common Anode
- · LED’s (Red, Green, Blue/Yellow)
- · 4555 IC’s (2 to 4bit Decoder)
- · 74191 IC’s (4bit Up/Down Counter)
- · 7447 BCD Decoder IC’s
Code:
//Four
Way Traffic Light System With 3Bit Counter Using Arduino UNO
const int south_B1
= 0;
const int south_B2
= 1;
const int east_B1
= 2;
const int east_B2
= 3;
const int west_B1
= 4;
const int west_B2
= 5;
const int north_B1
= 6;
const int north_B2
= 7;
const int clk1 =
11; //Pulse For Timer1/Counter
of North
const int clk2 =
9; //Pulse For
Timer2/Counter of East
const int clk3 =
10; //Pulse For
Timer2/Counter of West
const int clk4 =
8; //Pulse For
Timer2/Counter of South
void setup() {
// put your
setup code here, to run once:
pinMode(north_B1, OUTPUT);
pinMode(east_B1, OUTPUT);
pinMode(west_B1, OUTPUT);
pinMode(south_B1, OUTPUT);
pinMode(north_B2, OUTPUT);
pinMode(east_B2, OUTPUT);
pinMode(west_B2, OUTPUT);
pinMode(south_B2, OUTPUT);
pinMode(clk1, OUTPUT);
pinMode(clk2, OUTPUT);
pinMode(clk3, OUTPUT);
pinMode(clk4, OUTPUT);
update(LOW, LOW, LOW, LOW, LOW, HIGH,
HIGH, LOW);
count(0);
delay(990);
update(LOW, LOW, LOW, LOW, LOW, HIGH,
HIGH, LOW);
count(0);
delay(990);
update(LOW, LOW, LOW, HIGH, HIGH, LOW,
LOW, LOW);
count(1);
delay(990);
update(LOW, LOW, LOW, HIGH, HIGH, LOW,
LOW, LOW);
count(1);
delay(990);
update(LOW, HIGH, HIGH, LOW, LOW, LOW,
LOW, LOW);
count(2);
delay(990);
update(LOW, HIGH, HIGH, LOW, LOW, LOW,
LOW, LOW);
count(2);
delay(990);
update(HIGH, LOW, LOW, LOW, LOW, LOW,
LOW, HIGH);
count(3);
delay(990);
update(HIGH, LOW, LOW, LOW, LOW, LOW,
LOW, HIGH);
count(3);
delay(990);
}
void loop() {
// put your
main code here, to run repeatedly:
update(LOW, LOW, LOW, LOW, LOW, HIGH,
HIGH, LOW);
count(3);
delay(990);
update(LOW, LOW, LOW, LOW, LOW, HIGH,
HIGH, LOW);
count(3);
delay(990);
update(LOW, LOW, LOW, HIGH, HIGH, LOW,
LOW, LOW);
count(3);
delay(990);
update(LOW, LOW, LOW, HIGH, HIGH, LOW,
LOW, LOW);
count(3);
delay(990);
update(LOW, HIGH, HIGH, LOW, LOW, LOW,
LOW, LOW);
count(3);
delay(990);
update(LOW, HIGH, HIGH, LOW, LOW, LOW,
LOW, LOW);
count(3);
delay(990);
update(HIGH, LOW, LOW, LOW, LOW, LOW,
LOW, HIGH);
count(3);
delay(990);
update(HIGH, LOW, LOW, LOW, LOW, LOW,
LOW, HIGH);
count(3);
delay(990);
}
void update(boolean x1, boolean x2, boolean x3, boolean x4, boolean x5, boolean x6, boolean x7, boolean x8)
{
digitalWrite(north_B1, x1);
digitalWrite(north_B2, x2);
digitalWrite(east_B1, x3);
digitalWrite(east_B2, x4);
digitalWrite(west_B1, x5);
digitalWrite(west_B2, x6);
digitalWrite(south_B1, x7);
digitalWrite(south_B2, x8);
}
void count(int tec)
{
if (tec == 0)
{
digitalWrite(clk1, LOW);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4, LOW);
delay(10);
digitalWrite(clk1, HIGH);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4, LOW);
}
else if (tec == 1)
{
digitalWrite(clk1, LOW);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4, LOW);
delay(10);
digitalWrite(clk1, HIGH);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4, HIGH);
}
else if (tec == 2)
{
digitalWrite(clk1, LOW);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4,
LOW);
delay(10);
digitalWrite(clk1, HIGH);
digitalWrite(clk2, LOW);
digitalWrite(clk3, HIGH);
digitalWrite(clk4, HIGH);
}
else
{
digitalWrite(clk1, LOW);
digitalWrite(clk2, LOW);
digitalWrite(clk3, LOW);
digitalWrite(clk4, LOW);
delay(10);
digitalWrite(clk1, HIGH);
digitalWrite(clk2, HIGH);
digitalWrite(clk3, HIGH);
digitalWrite(clk4, HIGH);
}
}
======================================================
Other Projects:
Four Way Traffic Light System Using Arduino Simple Version
------ https://youtu.be/mJ0ANveFoZ8
Four Way Traffic Light System DLD Project
------ https://youtu.be/Sso0yG1Leq4
=====================================================
AKElevon also Support (If you have any question or you can get help about any project Mail me) and Work in Following Fields.
=====Mail programmer74432@gmail.com====
1- 8051 related Projects
2- Image Processing Using Matlab
3- Electronics Projects
4- Machine Learning
5- Deep Learning
6- Arduino Projects
7- Python and C++ --Window Form--