- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
16 Posted Topics
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 …
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 …
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 …
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 …
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; …
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 …
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.
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 …
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 …
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?
one of the requirements for Daniweb is we can't help w/ homework assignments. sorry!!
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?
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], …
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.
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), …
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 …
The End.