yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
USB Industrial Grade AI Vision Camera📖
01.Basic course
  • 1.Camera parameters
  • 2.Camera detect
  • 3.Camera preview screen
02.Docker
  • 1.Docker overview and docker installation
  • 2.Common commands for docker image containers
  • 3.Docker images deeply understand and publish images
  • 4.Docker hardware interaction and data processing
  • 5.Enter the bot's docker container
  • 6.Robot development environment construction in Docker
  • 7.How customers can update docker images in the future
03.ROS vision course
  • 0.Camera preview screen
  • 1.QR code
  • 2.Human pose estimation
  • 3.Target Detection
  • 4.AR vision
  • 5.ROS+Opencv basics
  • 6.Face recognition
  • 7.harris corner detection
  • 8.Target tracking algorithm
  • 9.Contour moment
  • 10.Polygon outline
  • 11.Discrete fourier transform algorithm
  • 12.Edge detection algorithm
  • 13.Face detection algorithm
  • 14.Optical flow detection algorithm
  • 15.Contour detection
  • 16.General contour detection
  • 17.Feature point tracking
  • 18.HLS color filtering
  • 19.Hough circle detection
  • 20.Hough linear detection
  • 21.HSV color filtering
  • 22.LK optical flow algorithm
  • 23.Detection algorithm
  • 24.Phase dependent displacement detection
  • 25.Image pyramid sampling algorithm
  • 26.RGB color filtering
  • 27.Clear background detection algorithm
  • 28.Simplified optical flow algorithm
  • 29.Simple filter
  • 30.Threshold image processing
  • 31.Watershed segmentation algorithm
04.Mediapipe course
  • 1.Hand detection
  • 2.Attitude detection
  • 3.Overall inspection
  • 4.Face detection
  • 5.Face recognition
  • 6.Face effects
  • 7.3D object recognition
  • 8.Brush
  • 9.Finger control
  • 10.Gesture recognition
05.Robot Vision course
  • Tracking color line
06.Camera preview and frame rate test
  • Camera preview and frame rate test
Download
  • Docker Image
  • PC_Software
Download ZIP

Welcome to USB Industrial Grade AI Vision Camera repository

0.Camera preview screen

Camera preview screen

Camera preview screenInstall dockerGot imageOnlineOfflineEnter DockerFor Raspberry Pi and JetsonPreview cameraMultiple terminals: enter the same Docker

Briefly introduce how to enter the container and preview the camera image through the Docker script (for detailed Docker content, please refer to the Docker course).

Install docker

Use the Docker official script to install Docker, which is to install the latest version of Docker.

curl -fsSL https://get.docker.com -o get-docker.sh
xxxxxxxxxx
sudo sh get-docker.sh

image-20240308144852153

Got image

Just choose one of the two methods below.

Online

xxxxxxxxxx
sudo docker pull yahboomtechnology/ros-melodic:usb_cam

Offline

xxxxxxxxxx
sudo docker load -i yahboomtechnology-ros-melodic-usb-cam.tar

Enter Docker

Write Docker script file--DockerRos.sh

xxxxxxxxxx
sudo nano DockerRos.sh

For Raspberry Pi and Jetson

Add following content.

xxxxxxxxxx
#!/bin/bash
xhost +
docker run -it \
--net=host \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--security-opt apparmor:unconfined \
--device=/dev/video0 \
yahboomtechnology/ros-melodic:usb_cam /bin/bash

Input following command to add executable permissions

xxxxxxxxxx
sudo chmod +x DockerRos.sh 

Input following command to run script file

xxxxxxxxxx
sudo ./DockerRos.sh

Preview camera

After entering Docker, Input following command to enter the user directory

xxxxxxxxxx
cd
xxxxxxxxxx
python3 CameraPreview.py

image-20240306200740887

Multiple terminals: enter the same Docker

Run Docker through a script: If it has been started through a docker script, you do not need to enter this command again.

xxxxxxxxxx
sudo ./DockerRos.sh

View running containers

xxxxxxxxxx
sudo docker ps

Enter the running container: CONTAINER ID can be the first four digits

xxxxxxxxxx
sudo docker exec -it [CONTAINER ID] /bin/bash

image-20240307143315306

How customers can update docker images in the future
QR code

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文