Git Product home page Git Product logo

Comments (5)

vilari-mickopf avatar vilari-mickopf commented on June 3, 2024 1

This has been rewritten and it will come soon, but for now here is dirty fix. You can use load_sample func from #9 and in plotter's draw_last_sample substitute:
last_sample = self.__get_previos_data(gesture) with last_sample = load_sample(gesture).

plotter = Plotter(queue.Queue())
plotter.show()
plotter.draw_last_sample(<path>)

from mmwave-gesture-recognition.

vilari-mickopf avatar vilari-mickopf commented on June 3, 2024

Or even easier, you can just substitue at line 85:

last_sample = Logger.get_last_sample(gesture)
if last_sample[-1] == '/':
    return None 
df = pd.read_csv(last_sample).reset_index().values

with

df = pd.read_csv(gesture).reset_index().values

and then again, instead of passing the gesture, you pass desired path to plotter.draw_last_sample method.

from mmwave-gesture-recognition.

hua812586 avatar hua812586 commented on June 3, 2024

Okay, I'll try both of those. Thank you very much for your clarification.

from mmwave-gesture-recognition.

hua812586 avatar hua812586 commented on June 3, 2024

Hello @vilari-mickopf. I'm bothering you again.
I modify the characteristics of the training (mainly in get_all_data-->get_data) and the monitored data (mainly in do_predict-->__predict_thread) on the basis of your code, but when plotting, obj is not displayed properly, what is this because? (I commented out the x, y handling in the plot_detected_objs and __get_previos_data functions).
image
image
image

from mmwave-gesture-recognition.

vilari-mickopf avatar vilari-mickopf commented on June 3, 2024

Sorry for delay, repo is now updated and supports offline plotting. Have a look at main in mmwave_gesture/utils/plotter.py for an example. Data and models are now hosted on dropbox, so follow readme on how to get them (additional data is also recorded).

from mmwave-gesture-recognition.

Related Issues (11)

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.