- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have started to write a python extension to control my F200.
At the moment it is very very rough but I have posted it on gitHb should anyone want to play with it or extend it.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great job! Thanks for supporting RealSense SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I currently have a memory leak in my extension. Using the code on GitHub when I run the test file "1.py" during debugging, the memory usage rises until it causes an error. As far as I can see I am releasing everything but obviously there is something I am missing.
Any suggestions welcomed.
(This is the first C++ I have written in a decade and the first Python extension so I my apologies for its rather lashed together appearance)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Having not done anything on this for a while I thought I'd pick it up again.
I found the memory leak issue was to do with numpy being required to be explicitly told to take ownership of the data. This, however, allows one frame to be returned and then on the next frame an access violation occurs. Tried various things but still can't get anythingworkable.
Suggestions welcomed.
current code is at https://github.com/binraker/PyRealSense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works!!
My latest commit to the aforementioned Github repo is functional (if simple). It should allow anyone wanting to build a python application with one of these cameras to have a good starting point to do so.
I shall continue to update it as I add more features.
Peter
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page