webcam monochrome display system using galileo gen2 - 3

by:LCD Mall     2020-08-06
Would you like to implement the webcam display system using the Galileo GEN2 board?
This structure can fulfill your wishes if you wish!
What do you need: in order to implement the webcam display system, you need a Linux system with OpenCV Library.
The following steps will guide you to install a Linux operating system in a microcomputerSD card.
Now you can insert the burning Micro
SD card on the Galileo GEN2 board.
Power on the motherboard and connect to USB-
Serial port converter.
In the converter, you only connect the RXI, TXO, and GND pins.
You can refer to the attached picture.
You must install the driver of the serial converter in your PC.
Linux running after Galileo, any short-term or putty of Wade can be used to open the console (shell)
Galileo Linux in your PC.
You can use the console to install OpenCV Library cad to control the Galileo board through the Linux shell.
The home page teaches you how to connect the Galileo board using PuTTY.
The user name of the default account is root.
You don\'t give the password.
Before installing the OpenCV library, you can re-Micro for you
SD card partition.
If this is not done, the available space for Linux systems is too small to complete complex work.
How the home page leads you backsize the micro-
SD card partition.
Before installing the OpenCV Library, Ethernet must be set up.
The following steps will guide you in setting up Ethernet.
Now connect the Ethernet cable to your Galileo board.
Enter ifup enp0s20f6 type ifconfig to check if your network set is correct to start the network.
If you can, you can access the installation OpenCV library over the internet.
This home page will guide you in installing python-
Opencv package containing OpenCV Library.
There is a bug in Python-opencv package.
To fix this error you should edit the file/usr/lib/pkgconfig/opencv. pc.
Delete statement ,-
File for Lopencv_ts.
C program can be found in attachment.
In the Linux shell, you can enter the following statement to compile the program to create the execution file (
New_arduino_webcam_rt_nf).
Connect the webcam to the Galileo board and then run the execution file by entering it.
/New_arduino_webcam _ rt_nf 55 you can change the number that must be between 3 and 143.
This number controls the block size of the OpenCV cvadapthreshold function.
Numbers affect the display style.
Connect the Nokia 5110 LCD to the Galileo motherboard with the guide shown in the figure.
The PCD8544 Arduino library of the Nokia 5510 LCD can be downloaded in the following URL.
Decompress the password for this. Rar file is 406.
You must save the unzipped Library folder under the library path of the Arduino IDE.
The attachment is the Arduino sketch rar file.
Please decompress the RAR file.
Please refer to the home page and burn the Arduino sketch in the Galileo board.
Now the images taken by the webcam can be displayed in the Nokia 5110 LCD.
The LCD can display about 2 frames per second.
I have attached two LCD numbers in this step.
Examples of testing my system are YouTube video 1, YouTube video 2, and YouTube video 3.
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...