Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~12.9K People Reached
Favorite Tags

16 Posted Topics

Member Avatar for ben25x

Hey guys, I'm using OpenCV to get an image from my webcam and then run it through code. It's supposed to be live feed, and I got this code from an online tutorial (somewhat revised): #include <stdio.h> #include <stdlib.h> #include <opencv/cvaux.h> #include <opencv/highgui.h> //opencv libraries #include <opencv/cxcore.h> CvCapture* camCapture; //opencv …

Member Avatar for ben25x
0
384
Member Avatar for fafa70

cvInRangeS uses RGB values, right? There are websites that allow you to know the exact RGB values of a certain color on a color pad. Get your max and min from there and plug into cvColor(R, G, B) as your parameters. To see which parameters it is, type cvInRangeS( and …

Member Avatar for ben25x
0
547
Member Avatar for ben25x

Hi, I'm trying to start a project with computer vision. I have a video recorder that gives its live output in the AV yellow/red cables. I am asking how in the world to somehow get those to come into the PC, preferrably through the USB port, so that I can …

Member Avatar for Rik_
0
109
Member Avatar for ben25x

This code prints coordinates for a square that another program uses. For space's sake I have cut out all the other program's code, but I believe it is a simple syntax mistake with my if() statements. I have followed the rules and looked just about everywhere and followed all of …

Member Avatar for Adak
0
173
Member Avatar for ben25x

Before looking at the code, here's an explanation: NIDAQmx is a hardware-in-the-loop integration software from National Instruments. They give this sample code to create any voltage out of the card. The variable "float64 data[1]" is a double precision floating point that defines the actual voltage being emitted from the card; …

Member Avatar for ben25x
0
456
Member Avatar for ben25x

Hello, I've been having a lot of trouble with a variable type called "float64". I'm trying to create a do{}while loop to make the number count up each time. data is also defined as an array. [CODE]float64 data[1]; int i; do{ for(i=0;i<1;i++) { data[i]=data[i]+.01; if(data[i]>9.99) data[i]=-9.99; } }while('0'=='0');[/CODE] Any guidance …

Member Avatar for ben25x
0
128
Member Avatar for ben25x

Hello everyone. I am looking to see if there is any possible way Visual Basic 6.0 code can run in Visual C++ 2008 Express. Any help would be very appreciated.

Member Avatar for Ancient Dragon
0
433
Member Avatar for ben25x

I have figured out how to create command buttons and have tried to change their general color, but to no avail. This is what I tried, but it did nothing: [CODE]Option Explicit Dim WithEvents Com As CommandButton Private Sub Form_Load() Set Com = Me.Controls.Add("vb.commandbutton", "BtnName") With Com .Left = 100 …

Member Avatar for WaltP
0
4K
Member Avatar for ben25x

I have JUST started learning basic (as of TODAY, actually) and I get the "basic" gist of it ;) but i have looked everywhere and cannot find out how to make the program do something [I]without[/I] the user doing anything. i'm sure it's a simple [CODE]Private Sub 'something[/CODE], but i …

Member Avatar for AndreRet
0
733
Member Avatar for ben25x

I have just started learning Basic, and i know you can create command butons from the virtual environment, but how do you create (and, more importantly, let the user drag around) them from code?

Member Avatar for ben25x
0
3K
Member Avatar for Hakeemiredia

one of the requirements for Daniweb is we can't help w/ homework assignments. sorry!!

Member Avatar for AndreRet
0
92
Member Avatar for theoryforlife

i'd say just use logic and what you know about c++ right now. part of the daniweb thing is we cant help you on homework assignments. but, so, you cant use ANY for() loops in the while() one, & vice versa?

Member Avatar for theoryforlife
0
249
Member Avatar for ben25x

I have searched and deleted on this code, but I am still stumped on where the "unresolved external" it's complaining about is. Here is the code:[CODE]#include <windows.h> #include <stdio.h> #include <string.h> #include <tchar.h> #include "resource.h" #define GETITEM(item) GetDlgItem(hWndDlg, item) void convert (HWND hWndDlg) { wchar_t ConvertTime[9], ETime[8], UKTime[8], HKTime[8], Hour[8], …

Member Avatar for Banfa
0
245
Member Avatar for ben25x

i have searched everywhere and i cannot find a simple c example for creating a simple click button, where if the user clicks on it, the program prints something to the screen, or something. any help would be very appreciated.

Member Avatar for Ancient Dragon
0
2K
Member Avatar for ben25x

I am quite stumped on something in C. I found this code on the Internet, and it only gives me one error; however, I cannot seem to fix it. The variable in the function the compiler's complaining about is: [CODE]char ConvertTime[8][/CODE] and the function itself is a windows one: [CODE]GetWindowTextW(GETITEM(IDC_CONVERT_TIME), …

Member Avatar for ben25x
0
345
Member Avatar for ben25x

hey this is a just for fun topic (a.k.a. NOT homework) but if you can please reply: I am working in Visual C++ and I can't get any <iostream> operation to write a single character to a variable and then check it in an if() statement. Here is my last …

Member Avatar for Nick Evan
0
208

The End.