hackershackofficial / tracking-turret Goto Github PK
View Code? Open in Web Editor NEWA motion tracking turret.
A motion tracking turret.
I'm using a Logitech Webcam (C270) hooked up to the sentry turret. Everything works fine except when I try to actually run the code. The camera feed runs at a decent framerate (20+). But when an object moves into view that is tracked (Ex. Box drawn around it) the framerate is fine for the first 3¬ frames of tracking, and then after that, the framerate tanks to something like 1 frame every 2 seconds. The turret's motors are also slowed. I'm using OpenCV 3.1 right now. How can I solve this issue?
Thanks!
As of March, 2021, Google accounts don't login into Chrome. I cannot
clone the turret repository to my raspberry pi:
git clone [email protected]:HackerHouseYT/Tracking-Turret.git
Great project but noticed that there was no link back to the extensive Youtube video to put this work in context.
Would recomment adding this to the readme
https://www.youtube.com/watch?v=HoRPWUl_sF8
Thanks for sharing and putting the video & code together.
hey, i am making this project using your method. when i try to clone the repository from GIT HUB i get the following error
Cloning into 'Tracking-Turret'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
please help me out, give me access to the repository so i can complete the project, i have spent too much time and effort on this up till now.
When trying to run python turret.py
Traceback (most recent call last):
File "turret.py", line 411, in <module>
t = Turret(friendly_mode=False)
File "turret.py", line 177, in __init__
self.mh = Adafruit_MotorHAT()
File "/usr/local/lib/python2.7/dist-packages/Adafruit_MotorHAT/Adafruit_MotorHAT_Motors.py", line 232, in __init__
self._pwm = PWM(addr, debug=False, i2c=i2c, i2c_bus=i2c_bus)
File "/usr/local/lib/python2.7/dist-packages/Adafruit_MotorHAT/Adafruit_PWM_Servo_Driver.py", line 59, in __init__
self.setAllPWM(0, 0)
File "/usr/local/lib/python2.7/dist-packages/Adafruit_MotorHAT/Adafruit_PWM_Servo_Driver.py", line 95, in setAllPWM
self.i2c.write8(self.__ALL_LED_ON_L, on & 0xFF)
File "/usr/local/lib/python2.7/dist-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/usr/local/lib/python2.7/dist-packages/Adafruit_PureIO/smbus.py", line 236, in write_byte_data
self._device.write(data)
IOError: [Errno 121] Remote I/O error
I made sure I followed all of your instructions, via your GitHub README.md, but I still can't get this to work. I did purchase a different motor hat model on accident: http://www.raspberrypiwiki.com/index.php/Stepper/Motor/Servo_Robot_Expansion_Board_SKU:418460.
Do you have any recommendations?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.