Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
skruglewicz
Published

Bird Feeder Defender with the AMD KRIA™ KR260 Robotics Kit

I intend to address the problem of squirrels invading my bird feeders using a surveillance system designed with the KRIA™ KR260. Kit

IntermediateWork in progressOver 1 day89
Bird Feeder Defender with the AMD KRIA™ KR260 Robotics Kit

Things used in this project

Hardware components

Kria™ KR260 Robotics Starter Kit
AMD Kria™ KR260 Robotics Starter Kit
×1
usb camera
Point 2 View USB document camera
×1
Seeed Studio GROVE BUZZER MODULE
×1

Story

Read more

Code

USB Camera Test

Python
I used this code to test my USB Camera
import cv2
import numpy as np
cap = cv2.VideoCapture("/dev/video0") # check this
while(True):
# Capture frame-by-frame
ret, frame = cap.read()
# Our operations on the frame come here
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
# Display the resulting frame
cv2.imshow("frame",gray)
if cv2.waitKey(1) & 0xFF == ord("q"):
break
# When everything done, release the capture
cap.release()

Credits

skruglewicz
25 projects • 10 followers
I am now a retired Senior Software Engineer with a Bachelor’s of Science Degree in Computer Science from Boston University.

Comments