myCobotPro camera module
Applicable models: myCobot 320, myCobot Pro 600, myCobot Pro 630
Product image
Specifications:
Name | myCobotPro camera module |
---|---|
Model | myCobot_Pro_cameraHolder_J6 |
Material | Photosensitive resin |
USB protocol | USB2.0 HS/FS |
Lens focal length | Standard 1.7mm |
Field of view | About 60° |
Supported systems | Win7/8/10, Linux, MAC |
Fixing method | Screw fixing |
Environment requirements | Normal temperature and pressure |
Applicable equipment support | myCobot 320, myCobot Pro 600, myCobot Pro 630 |
Camera flange: Machine vision
Introduction
- USB high-definition camera can be used with suction pump, adaptive gripper, artificial intelligence kit, etc., to achieve precise positioning and calibration with eye in hand.
Installation and use
- Check whether the accessories package is complete: screws and hexagonal wrench, camera module with USB cable
Camera installation:
Structural installation:
Align the camera module with the end of the robot arm according to the required direction, and tighten the screws with the hexagonal wrench
Electrical connection:
Insert the USB cable into the USB port of the base:
Python programming control
Enter the robot system, open the terminal and enter the following command to install opencv
sudo apt-get install -y libopencv-dev python3-opencv
Create a new python file and fill in the following code
#encoding=utf-8
import cv2
import numpy as np
cap = cv2.VideoCapture(0)
while(True):
ret, frame = cap.read()
cv2.imshow('frame', frame)
# Press 'q' to exit
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
Then use python3 in the terminal Run the newly created python file
Taobao link:https://item.taobao.com/item.htm?spm=a1z10.5-c-s.0.0.6945364bve0QX4&id=667084571424