Can you use the summary method if you have a two lane track?
@xpolo10974 жыл бұрын
this is a question from prob ep 2 or 3 but now I'm finding an issue, in the threshold method I returned the mask(like you) and the canny of it being the outline. with the canny the end product when displaying it in cv2.imshow("histogram" imgHist) it doesn't look the same as using it with the mask, it only have the black spikes where the line is. what else do I need to do on the canny for it to work? or those spikes detecting the curve is correct?
@itsmeintorrespain27144 жыл бұрын
The operator // didn't work for me, I had to use int(intensity/2) instead. And also for the trackbars where wT//2 had to be int(wT/2). Took me a while to sort out but after some research I got there in the end.
@saifallahchakroun62534 жыл бұрын
use round(intensity//2) give you better result :)
@itsmeintorrespain27144 жыл бұрын
@@saifallahchakroun6253 Thanks for the suggestion. I'll try it although not with the // operator because that does seem to work for me...I have to use / .
@bee-ih1zi Жыл бұрын
@@saifallahchakroun6253 omg thanku!!
@codingbytalha94802 жыл бұрын
awesome
@dangnguyenvan5500 Жыл бұрын
hi sir! could you shrare video from your webcam, i wanna test my program but i don't have video for testing Thank you so much!
@averno61744 жыл бұрын
WOW
@VanAnhNguyen-qo8oy3 жыл бұрын
histogram doesn't show purple line, what error did i get
@noorfaisal7632 Жыл бұрын
how did you solved the issue?
@varunnangia51214 жыл бұрын
noice
@robotix16694 жыл бұрын
First View
@manishelectronic45409 ай бұрын
Can't parse 'pt2'. Sequence item with index 1 has a wrong type > - Can't parse 'pt2'. Sequence item with index 1 has a wrong type i am getting this error in this line cv2.line(imgHist, (x, img.shape[0]), (x, img.shape[0] - intensity//255), (255, 0, 255), 1)
@popfizz558 ай бұрын
Make sure your imgWarp passes imgThres into the warpImg function. So on line 14: imgWarp = ultis.warpImg(imgThres,points,w,h) If you were to use img instead of imgThres, the 'intensity' variable would end up being an array since img is in color while imgThres is in black and white.