awbrown90 / advance-lane-finding Goto Github PK
View Code? Open in Web Editor NEWImplementing advance lane finding using computer vision
Implementing advance lane finding using computer vision
Hello, after looking at your Advance-Lane-Finding project, can you tell me how to build my own project? The How can i run
Hello sir,
I'm trying to run main_image_gen.py in python3.6.2
I had an error at LineTracker.py line 222, which I made a fix:
conv_template = np.concatenate((np.ones(self.window_width),np.zeros(int(self.center_dis-self.window_width+pad)),np.ones(self.window_width)))
After that now I'm getting another error:
====== RESTART: D:\Python\Advance-Lane-Finding-master\main_image_gen.py ======
Traceback (most recent call last):
File "D:\Python\Advance-Lane-Finding-master\main_image_gen.py", line 113, in
frame_centers = curve_centers.track_line(warped)
File "D:\Python\Advance-Lane-Finding-master\LineTracker.py", line 303, in track_line
self.recent_centers.append(self.new_track(warped))
File "D:\Python\Advance-Lane-Finding-master\LineTracker.py", line 225, in new_track
| (((line_ref == -1) & (curve_direction == 1)) & ((len(conv_signal[max(l_center+self.window_width/2+self.center_dis+pad+l_dis,0):min(l_center+self.window_width/2+self.center_dis+pad+self.padding+l_dis,warped.shape[1])])) != 0)) | (((line_ref == -1) & (curve_direction == -1)) & ((len(conv_signal[max(l_center+self.window_width/2-self.padding+self.center_dis+pad+l_dis,0):min(l_center+self.window_width/2+self.center_dis+pad+l_dis,warped.shape[1])])) != 0) )):
TypeError: slice indices must be integers or None or have an index method
Sorry I just started to learn python for this project, any help any help would be appreciated!
Thanks.
Hello sir,
I found another I got error at main_image_gen.py, line 147
left_fit = np.polyfit(res_yvals, leftx, 3)
It says x and y should have same length. So I assume the array length of res_yvals and leftx could be different sometime?
Hello sir,
Is this working for Python2? I'm getting some errors with pickle
ValueError: unsupported pickle protocol: 3
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.