Archive

I use a Acer aspire 5517 and has a built-in webcam. It doesn't work when using Skype

 

Read more

I use a USB hub to connect my keyboard, mouse printer, scanner etc.

Today it shows me a message "power surge on USB hub". What does this mean?

Read more

My last memory card in the camera has had created auto folders like "pictures/ videos etc.," but I formatted the card and my camera says "memory card not supported"

 

Read more

How to print PowerPoint slides as a handout. But I want the slides to be a little bigger than the normal so that I can read.

 

Read more

I use a Panasonic NV-GS27EB camcorder. When I plug the usb in the device is not recognized by my laptop. (Compaq)

 

Read more

Is it possible to change the entire RGB value of the image rather than changing it by layer by layer in Photoshop C5?

 

Read more

Using the Kodak Easyshare, I chose "get items for the device and delete them". How can I restore the old pictures?

Read more

My camera is a Kodak. When I plug the SD card into my laptop I can't read it using the Kodak software. How can I read the contents?

Read more

I'm getting an undefined reference to cv::Mat::Mat error when i compile this program

 
#include <opencv/cv.h>
#include <highgui.h>
#include <stdio.h>
#include <limits>
#include <stdlib.h>
 
using namespace cv;
using namespace std;
 
IplImage* g_image = NULL;
IplImage* g_gray = NULL;
int g_thresh = 100;
CvMemStorage* g_storage = NULL;
 
void on_trackbar(int)
{
if( g_storage == NULL )
{
g_gray = cvCreateImage( cvGetSize( g_image ), 8, 1 );
g_storage = cvCreateMemStorage(0);
}
else
{
cvClearMemStorage( g_storage );
}
 
CvSeq* contours = 0;
cvCvtColor( g_image, g_gray, CV_BGR2GRAY );
cvThreshold( g_gray, g_gray, g_thresh, 255, CV_THRESH_BINARY );
cvFindContours( g_gray, g_storage, &contours );
cvZero( g_gray );
if( contours )
{
cvDrawContours(
g_gray,
contours,
cvScalarAll(255),
cvScalarAll(255),
100 );
}
cvShowImage( "Contours", g_gray );
}
 
Rect boundingRect ( const CvSeq* contour )
{
// Points initialization
Point min ( std::numeric_limits<int>::max(),std::numeric_limits<int>::max() );
Point max ( std::numeric_limits<int>::min(),std::numeric_limits<int>::min() );
 
// Getting bounding box coordinates
for( int i=0; i<contour->total;...

Read more

I need a C code that allows a user to input data and computes its area and volume?

 

Read more