Yes, that’s problematic with the code I showed. Note that my post is from 2016..
I guess you could include the class name with in the key that’s used in the `mappings` dict.
]]> File “C:\Projects\PycharmProjects\Random\lib\JsonConvert.py”, line 31, in ToJSON
return json.dumps(obj.__dict__, default=clsself.complex_handler, indent=4)
AttributeError: ‘list’ object has no attribute ‘__dict__’
Any ideas?
]]>Thanks!
Unfortunately, I have to admit you are absolutely right…
I’ll put it on my list, but due to a busy week, you’re of course invited to propose a revision.
cheers
]]>Wait. I confused the context.
I do not remember how exactly the socket thing worked. I believe since then there should be some more recent examples. I really can’t tell if it works with multiple kinects, sorry.
I’m not sure, but one could definitely modify the program to recognize a second person and inject additional keypresses (arrow keys, for example).
]]>I have updated the link.
]]>