myCobot camera module v2.0
Applicable models: myCobot 280, myPalletizer 260, mechArm 270
Product image
Specifications:
Name | myCobot camera module v2.0 | |
---|---|---|
Model | myCobot_cameraHolder_J6 | |
Color | White (default) | |
Material | ABS injection molding | |
Size | 836416 | |
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 | Lego connector | |
Environment requirements | Normal temperature and pressure | |
Applicable equipment support | ER myCobot 280 series, ER myPalletizer 260 series, ER mechArm 270 series, ER myBuddy 280 series |
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: Lego connector, camera module with USB cable
Camera installation:
Structural installation:
Insert the Lego connector into the reserved socket of the camera module:
Align the camera module with the connector plugged in to the socket at the end of the robot arm and insert it:
Electrical connection:
PI version
Insert the USB cable into the USB port of the base:
M5 version Plug the USB cable into the USB port of the laptop:
Python programming control
import cv2
import numpy as np
cap = cv2.VideoCapture(0) # "0", determined by the camera device number queried
while(True):
ret, frame = cap.read()
cv2.show('frame', frame)
# Press the Q key on the keyboard to end the program
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()