Giter Site home page Giter Site logo

data-generator-nottrashcar's People

Contributors

dlh06 avatar duydeja-vu avatar lamhoangtung avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

data-generator-nottrashcar's Issues

Thiếu multiprocessing khi decode 2 ảnh nhận từ simulator

Trong image_callback() đang phải xử lý 2 ảnh được gửi từ simulator trong cùng 1 thời điểm là ảnh RGB và ảnh Depth.

def image_callback(rgb_data, depth_data):
    temp = np.fromstring(rgb_data.data, np.uint8)
    rgb_img = cv2.imdecode(temp, cv2.IMREAD_COLOR)
    temp = np.fromstring(depth_data.data, np.uint8)
    depth_img = cv2.imdecode(temp, cv2.IMREAD_COLOR)
    ...

Ở thời điểm hiện tại mới chỉ xử lý tuần tự RGB rồi đến Depth, làm vậy có thể khiến cho tốc độ nhận và lưu ảnh bị giảm xuống, có thể gây ra skip frame, sai frame, etc ..

Để giải quyết vấn đề này cần implement xử lý đa luồng, decode cả ảnh RGB và ảnh Depth trong cùng một thời điểm, có thể trên 2 core hoặc 2 thread khác nhau.

Thiếu Keylistener và synchronizer với frame trong video save lại từ simulator

Hi. Hiện tại data generator đang thiếu Keylistener và synchronizer với frame trong video save lại từ simulator. Như team đã thảo luận, chúng ta sẽ làm key listener chạy trên 1 process riêng và song song với image recorder, sau đó sẽ tìm cách sync hai output lại với nhau.

Key Listener sẽ được base trên thư viện keyboard, sử dụng chủ yếu là hàm record() và object KeyEvent. Object KeyEvent sẽ có một số thuộc tính cần chú ý như time, nameevent_type.

Anh em tập trung xây cho xong tính năng này càng sớm càng tốt nhé.

And btw, hãy tạo nhánh (branch) riêng để làm, không bao giờ được phép commit hay push vào master nhé

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.