Code Monkey home page Code Monkey logo

Comments (5)

x-projekt avatar x-projekt commented on August 10, 2024

Implementation of stream_mode complete. But the image doesn't seem to undergo denoising when captured directly to a numpy array. This has resulted in reduction of trigger time on server side.
But socket transfer causes the overall trigger time to increase. This network latency can be reduced by increasing the socket.recv() buffer size.
So, tradeoff between trigger_time and image_quality.?

from dual-raspi-stereo-vision.

x-projekt avatar x-projekt commented on August 10, 2024

Find out a method of converting BytesIO stream into numpy array directly without much lag. This would help maintain image_quality while keeping the time almost same.
We want numpy array because we don't want to perform the time consuming task of reading/writing to disk.

from dual-raspi-stereo-vision.

x-projekt avatar x-projekt commented on August 10, 2024

Capturing image directly to ndarray removes the pink tint that is visible on normal-path-capture. Don't know why this is happening.

  • Implemented the main process loop in stream_mode.

Remaining work:

  • Find out the diff between direct-path and ndarray image capture
  • Need to implement multiprocessing in the main process loop
  • Testing and debugging yet to be performed.

from dual-raspi-stereo-vision.

x-projekt avatar x-projekt commented on August 10, 2024

from dual-raspi-stereo-vision.

x-projekt avatar x-projekt commented on August 10, 2024

Testing successful. Everything is working..!!

from dual-raspi-stereo-vision.

Related Issues (6)

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.