Coder Social home page Coder Social logo

Comments (3)

Abishevs avatar Abishevs commented on June 29, 2024

Hi, the way python works is near imposibble to get async functionality nativly. There are work arounds, but they seem complex so I didn't dive into it.

Have you got any progress? Also openCV is quite resource intensive, that might be reason that your video was lagging( I had 8gb version of pi and 5ghz wifi connection, so didnt have any lag.

I may later add a new commit with updated code and some videos/pictures of the actual car used. As this was a school project and the summer break started, I didn't have time to finnish up this project on Github.

from wifi-car-with-raspberry-pi4.

zoldaten avatar zoldaten commented on June 29, 2024

hi.
i made a project based on yours that only operates telemetry (no video as it laggy on pi zero v2). to work with video i got webrtc webserver working. all work perfectly but i have to open 2 web pages: one for operate (flask server), one for watch (web-rtc). dont know how join them right now.

i have "upgraded" your current project - now it lets using native csi camera on Raspbian 64 bullseye, thanks for this project - https://github.com/pageauc/MoTrack-Picam2-Demo

see my fork of your project it needs only to change 2 strings in camera.py:

from strmcam import strmcam
self.vs = strmcam() 

and add to dir some files from project above: strmpilibcam.py,strmcam.py,configcam.py

Screenshot_3

from wifi-car-with-raspberry-pi4.

Abishevs avatar Abishevs commented on June 29, 2024

One option would be to run an camera server on an ip that could be added as an video link in flask app. There got a be options for it. That way you would still have two servers, but opencv with my aprouch is quite extensive in terms of performance. So good call with you aprouch. I tested this with an rtc camera with an ip camera, works great if you have resourcources. Guesinng pico doesn't have that... So does it aprouch work smoothly with your dual server aprouch??

from wifi-car-with-raspberry-pi4.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.