Comments (3)
It’s late at night on the West Coast right now, so I’m just going to post a short comment for now.
Very short answer: my data collection process really sucks (because it’s unitinuitive) and I’m currently refactoring it based on best practices from here: http://docs.donkeycar.com/guide/get_driving/. If you scroll down about half way on that page you’ll see a really slick mobile web UI that you can use to gather training data. The full refactoring will take another 5-6 week’s most likely. I highly recommend looking at the donkeycar repo in general.
The long answer is sort of in the main readme of my repo, but if that’s insuifficent then a better answer will take me too long to type over my phone now. I’ll reply back to this issue with better instructions once I’ve finished he refactoring.
from self-driving-car.
Okay, I am now reading more into the code and the readme. Respond with a thumbs up, so I know I am going in the right direction.
- We install FFMPEG to stream video from RPi to PC
Use stream_mjpeg_video.py
and display it using OpenCV streamer fromutil.py
to confirm it is working.- Then basically
save_streaming_video_data.py
saves streamed video on local pc and the server logs the key strokes. - We copy paste them to a single location.
- Then cross reference the saved images time stamp with the saved keystrokes timestamps and make clean training data
from self-driving-car.
Not really relevant here but adding it incase someone else stumbled on this problem, I was using the code here, to capture the frames and stream back to the server.
I had used
for _ in camera.capture_continuous(stream, 'jpeg'):
instead of
for _ in camera.capture_continuous(stream, 'jpeg', use_video_port=True):
That was the source of the problem!! Getting smooth 20-30 FPS now!
Thanks a bunch for all your help @RyanZotti
from self-driving-car.
Related Issues (20)
- FFSERVER HOT 9
- REST API HOT 1
- Reinforcement learning HOT 2
- /etc/ff.conf_original HOT 1
- Thank you for the code. I have achieved it. HOT 1
- Output Video Frame Rate? HOT 20
- TensorBoard Visualisation HOT 4
- Improve Deployed Model's Autonomous Driving Behavior HOT 12
- FFmpeg HOT 3
- Possible Issue with "self.images_per_epoch" in Dataset.py HOT 2
- Using a Servo motor for Steering HOT 11
- drive_api.py does not show live feed? HOT 4
- How to do data processing and model training on my own PC or laptop rather than AWS? Please help. HOT 1
- ai_drive not working from cnn trained models. HOT 1
- ai_drive not working.
- model
- localhost/drive not found HOT 1
- Dataprep error HOT 1
- Circuit connecttion HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-driving-car.