Search found 10 matches
- Mon Jun 29, 2009 11:30 am
- Forum: OptiTrack SDK
- Topic: GetFrameImage throws exception
- Replies: 2
- Views: 3633
Re: GetFrameImage throws exception
<t>Ok if I write it this way it works:<br/> <br/> camera->GetFrameImage(frame, width, height, 0, 8, 0));<br/> <br/> This is, without sending out a buffer. So It's obvious it's a size thing.<br/> <br/> Since my buffer has to be of size:<br/> <br/> (PixelWidth x PixelHeight x (BitsPerPixel / 8))<br/> ...
- Mon Jun 29, 2009 7:45 am
- Forum: OptiTrack SDK
- Topic: GetFrameImage throws exception
- Replies: 2
- Views: 3633
GetFrameImage throws exception
When I try to use GetFrameImage() I get this error: Unhandled exception at 0x77e78197 in Texture Project.exe: 0xC0000005: Access violation reading location 0x0a0a0a0e. All other functions works ok. I have used this function before, but I get this error when trying to use this DLL. This is my Debug L...
- Wed Jun 24, 2009 1:03 pm
- Forum: OptiTrack SDK
- Topic: GetFrameImage in float buffer instead of BYTE buffer
- Replies: 1
- Views: 2773
GetFrameImage in float buffer instead of BYTE buffer
<t>Hello,<br/> <br/> I'm trying to use OptiTrack SDK in Unity, but since I can only get the Texture buffer in float form (from 0.0 to 1.0 instead of BYTE from 0 to 255). Is there a function to get the frame image in the float form? Or what do you recommend to do the conversion? Since doing a for sta...
- Fri Mar 13, 2009 5:20 am
- Forum: OptiTrack SDK
- Topic: Heap corruption problem
- Replies: 9
- Views: 9473
Re: Heap corruption problem
Ok I will check them up, thanks for your time.
I will update this post for further information.
I will update this post for further information.
- Wed Mar 11, 2009 11:40 am
- Forum: OptiTrack SDK
- Topic: Heap corruption problem
- Replies: 9
- Views: 9473
Re: Heap corruption problem
<r><URL url="http://willhostforfood.com/?Action=download&fileid=58415"><LINK_TEXT text="http://willhostforfood.com/?Action=down ... leid=58415">http://willhostforfood.com/?Action=download&fileid=58415</LINK_TEXT></URL><br/> <br/> There it is.. try to remove comment from line 53 in optitrack....
- Wed Mar 11, 2009 6:36 am
- Forum: OptiTrack SDK
- Topic: Heap corruption problem
- Replies: 9
- Views: 9473
Re: Heap corruption problem
<r>Ok now without /DEBUG it crashes as well.<br/> <br/> Here it's my code now:<br/> <URL url="http://pastebin.com/fb9b0b61">http://pastebin.com/fb9b0b61</URL><br/> <br/> That code works well, and the video buffer is displayed correctle, but when I try to use cvConvertImage() it crashes. BUT the func...
- Wed Mar 11, 2009 5:14 am
- Forum: OptiTrack SDK
- Topic: Heap corruption problem
- Replies: 9
- Views: 9473
Re: Heap corruption problem
Thanks for the reply. That is not my case, since I'm asking for a 8-bit per pixel buffer. And the size of the buffer is right, (PixelWidth x PixelHeight x (BitsPerPixel / 8)) => (640 x 480 x (8 / 8)) = 307200. And that is the size of my buffer, 307200, so the buffer is large enough. I realized that ...
- Tue Mar 10, 2009 12:21 pm
- Forum: OptiTrack SDK
- Topic: Heap corruption problem
- Replies: 9
- Views: 9473
Heap corruption problem
If I comment out the line that is calling cvConvertImage(), it works well. Otherwise, I get this error: http://img13.imageshack.us/img13/4011/69751645.png "Windows has triggered a breakpoint in cvsample.exe. This may be due to a corruption of the heap, which indicates a bug in cvsample.exe or a...
- Tue Mar 10, 2009 5:09 am
- Forum: General OptiTrack Support
- Topic: OptiTrack + OpenCV
- Replies: 2
- Views: 3670
Re: OptiTrack + OpenCV
Yep thanks, I already manage to solve that.
But anyway, I think that working with 8bits instead of 32 it's far better, so I'm trying to figure that out.
But anyway, I think that working with 8bits instead of 32 it's far better, so I'm trying to figure that out.
- Mon Mar 09, 2009 6:40 am
- Forum: General OptiTrack Support
- Topic: OptiTrack + OpenCV
- Replies: 2
- Views: 3670
OptiTrack + OpenCV
<r>Anyone know what pixel format work best with OptiTrack + OpenCV integration?<br/> Right now I'm using:<br/> <br/> <URL url="http://pastebin.com/f5e5941e3">http://pastebin.com/f5e5941e3</URL><br/> <br/> And getting this result:<br/> <br/> <URL url="http://img26.imageshack.us/img26/6163/20090309112...