hamuchiwa / AutoRCCar

OpenCV Python Neural Network Autonomous RC Car
BSD 2-Clause "Simplified" License
3.33k stars 1.47k forks source link

Delay in steam.py #77

Open rajaa1996 opened 6 years ago

rajaa1996 commented 6 years ago

I get too much delay during streaming of video a lag of about 20sec i use vncserver chrome extension is there any other way to stream or changes to make the delay small

Gooose1909 commented 6 years ago

If u follow his method for streaming u will have stream without any delays

On Thu 15 Mar, 2018, 8:31 AM rajaa1996, notifications@github.com wrote:

I get too much delay during streaming of video a lag of about 20sec i use vncserver chrome extension is there any other way to stream or changes to make the delay small

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJuiWSv2K2BHVO0MTw6xv5AzN0F7g8ks5tedmPgaJpZM4Sre9H .

rajaa1996 commented 6 years ago

I did the same as mentioned in this repository but I dono how to stream to my pc using which software

Gooose1909 commented 6 years ago

U dont have to use any software Just python Go to test folder from ur pc And under stream_test edit the ip to your computer's ip, 4000 as port And paste the raspberry pi folder in ur raspberry pi And open stream python file and change the ip your computer 's Ip and same port number (4000) for that to work

Note: both. py will have your computer' s ip and both your computer and raspberry pi should be in same network (same wifi) After this run the py file first in ur Computer then on your pi

On Thu 15 Mar, 2018, 8:57 AM rajaa1996, notifications@github.com wrote:

I did the same as mentioned in this repository but I dono how to stream to my pc using which software

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373249302, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJum28w7BI7yOddPLPn77M1DJ_cbfmks5ted-xgaJpZM4Sre9H .

rajaa1996 commented 6 years ago

Tysm ?!!great man!!!!

Gooose1909 commented 6 years ago

Works fine now?????

On Thu 15 Mar, 2018, 9:33 AM rajaa1996, notifications@github.com wrote:

Tysm ?!!great man!!!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373254010, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJumk6EIUC42c7gu731uBSVRUTqvydks5teegNgaJpZM4Sre9H .

rajaa1996 commented 6 years ago

Where should I run rc_driver.py on my computer or on my raspberry pi

Gooose1909 commented 6 years ago

Computer The file in 'computer' should be run in computer The files in' raspberry pi 'should be run on pi

On Thu 15 Mar, 2018, 9:34 AM rajaa1996, notifications@github.com wrote:

Where should I run rc_driver.py on my computer or on my raspberry pi

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373254136, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJuujI8yl0fjClDg4QqOHsFdoIDcg2ks5teehLgaJpZM4Sre9H .

rajaa1996 commented 6 years ago

I copied my the computer folder on my pc then how should I run can u tell me little in detail plz

Gooose1909 commented 6 years ago

Did u flash the arduino file to your arduino and connect it to the RC car's remote??

On Thu 15 Mar, 2018, 9:40 AM rajaa1996, notifications@github.com wrote:

I copied my the computer folder on my pc then how should I run can u tell me little in detail plz

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373254921, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJutrx0-9Ri-JK4JuhGkHeP-1mVKgwks5teenDgaJpZM4Sre9H .

rajaa1996 commented 6 years ago

I used l293d connected to arduibo nano then connect it to my raspberry pi

rajaa1996 commented 6 years ago

I control via my PCs keyboard

Gooose1909 commented 6 years ago

Can u send me your project files and details??

On Thu 15 Mar, 2018, 9:48 AM rajaa1996, notifications@github.com wrote:

I control via my PCs keyboard

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373255955, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJun_ne4wyOROdn64_jiwe7gv8jOP7ks5teeungaJpZM4Sre9H .

rajaa1996 commented 6 years ago

@Goose1909 Check this post https://github.com/sidroopdaska/SelfDrivingRCCar/blob/master/README.md

Gooose1909 commented 6 years ago

@rajaa1996 Thats same as of hamuchiwa's The reason i tried to send string via socket was i couldn't able to interface RC remote to arduino Cos i couldn't find correct points Thats why Anyone wanna help me with that problem

On Thu 15 Mar, 2018, 8:12 PM rajaa1996, notifications@github.com wrote:

@Goose1909 https://github.com/goose1909 Check this post https://github.com/sidroopdaska/SelfDrivingRCCar/blob/master/README.md

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373399650, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJut-h0fM0OUR7mbEh5QqQ7quf83X6ks5ten25gaJpZM4Sre9H .

rajaa1996 commented 6 years ago

I have some prob can u give ur mail id so that I can contact u

Gooose1909 commented 6 years ago

sugan170@gmail.com

On Fri 16 Mar, 2018, 7:59 AM rajaa1996, notifications@github.com wrote:

I have some prob can u give ur mail id so that I can contact u

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-373584257, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJugNTQqvLnt5E-oDbXFynxoGsKoNhks5teyNtgaJpZM4Sre9H .

marcusvn commented 6 years ago

hello @rajaa1996 I would like to have some question, can you contact me plz? my email: nguyenphuc1206@gmail.com

kxrf97 commented 5 years ago

@Gooose1909 can you advise me on training the model? my car just keep going left .....

ShwetaLalwani commented 5 years ago

@Gooose1909 How to select port ? Or any port number is fine? How you chose 4000?

Gooose1909 commented 5 years ago

You can select any number for port . I prefer 4000 and 4001 If you want u cant select 5000 too

On Sat 23 Mar, 2019, 19:05 ShwetaLalwani, notifications@github.com wrote:

@Gooose1909 https://github.com/Gooose1909 How to select port ? Or any port number is fine? How you chose 4000?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-475870260, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJumPfCl_NKalgD67BmwIgOUfp0It5ks5vZi2EgaJpZM4Sre9H .

Gooose1909 commented 5 years ago

I faced the same issue i just made my own RC car fixed everything

On Wed 6 Mar, 2019, 21:56 kxrf97, notifications@github.com wrote:

@Gooose1909 https://github.com/Gooose1909 can you advise me on training the model? my car just keep going left .....

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-470175018, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJuhvlrydHHNv928SWJ4MmN0_MnqP8ks5vT-wygaJpZM4Sre9H .

ShwetaLalwani commented 5 years ago

Thanks..

kxrf97 commented 5 years ago

I mean how you train the car? My car just keep going randomly lol. 😂😂

kxrf97 commented 5 years ago

I manage to stream 15 to 20 frame per second

Gooose1909 commented 5 years ago

Run collect training data.py To collect your images Then run training Then u can run rc driver On Sat 23 Mar, 2019, 19:10 kxrf97, notifications@github.com wrote:

I mean how you train the car? My car just keep going randomly lol. 😂😂

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-475870645, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJurnUowqACG_FsmGdMwBMF6b3c-dpks5vZi7jgaJpZM4Sre9H .

kxrf97 commented 5 years ago

Yaaa after i trained, and run rc driver, my car cant successfull navigate within the track

Gooose1909 commented 5 years ago

Accuracy ??

On Sat 23 Mar, 2019, 19:18 kxrf97, notifications@github.com wrote:

Yaaa after i trained, and run rc driver, my car cant successfull navigate within the track

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-475871170, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJut2OCElbj_rTZ1inRGs1J9aMgg1cks5vZjCagaJpZM4Sre9H .

kxrf97 commented 5 years ago

Around 70, how many data u collect from a single short track

Gooose1909 commented 5 years ago

200+

On Sat 23 Mar, 2019, 19:23 kxrf97, notifications@github.com wrote:

Around 70, how many data u collect from a single short track

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-475871591, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJulioZ9UVv69WQTNRlucrrUNXKuGCks5vZjHsgaJpZM4Sre9H .

kxrf97 commented 5 years ago

Accuracy?

Gooose1909 commented 5 years ago

89+

On Sat 23 Mar, 2019, 19:55 kxrf97, notifications@github.com wrote:

Accuracy?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/77#issuecomment-475874073, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJumWDN9ODU5ejT-qSFlnyAw_Z7PsDks5vZjk9gaJpZM4Sre9H .

ShwetaLalwani commented 5 years ago

Is your project completed? @Gooose1909

arpitpartani commented 5 years ago

U dont have to use any software Just python Go to test folder from ur pc And under stream_test edit the ip to your computer's ip, 4000 as port And paste the raspberry pi folder in ur raspberry pi And open stream python file and change the ip your computer 's Ip and same port number (4000) for that to work Note: both. py will have your computer' s ip and both your computer and raspberry pi should be in same network (same wifi) After this run the py file first in ur Computer then on your pi On Thu 15 Mar, 2018, 8:57 AM rajaa1996, @.***> wrote: I did the same as mentioned in this repository but I dono how to stream to my pc using which software — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#77 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgOJum28w7BI7yOddPLPn77M1DJ_cbfmks5ted-xgaJpZM4Sre9H .

still getting an error of cannot assingn requested address while running test_stream_server in computer linux

Siraj95Abudaber commented 5 years ago

@Gooose1909 could you please contact me on my e-mail : serajabudaber@gmail.com