hypermedia.video.opencv.capture(III)V [closed] - opencv

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I've downloaded OpenCV version 1 for my Windows 7 laptop from this website. For some reason, whenever I try to run one of the example sketches like the face_detection or threshold, I get this error message:
UnsatisfiedLinkError: hypermedia.video.opencv.capture(III)V
Have I downloaded the wrong version?

Make sure you've also installed OpenCV 1.0 itself, not just the Processing wrapper.
Also make sure the installer sets the PATH variable.
At this point you should be able to run a basic sample which doesn't access the camera.
If not, you can check manually if the PATH variable includes the path to OpenCV in Environment Variables.
If you can run an OpenCV Processing sample without camera access but are getting errors when accessing the webcam try installing WinDVIG_101.
On windows I sometimes found the OpenCV Processing wrapper sometimes worked with some Processing versions and not others. Try testing both Processing 2.0+ and Processing 1.5.1

Related

Can Directx9/10 programs run in Directx 11? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am planning to learn to program with Directx9/10 this summer.My computer has Directx11 installed. I was wondering if previous versions will work on it? I tried running a few sample codes from Frank Luna's website I ran into some errors.
Yes absolutely.
But if you are using any of the DX helper DLLs (D3DX_xx.dll) that comes with the SDK (and not shipped in Windows), you may need to redistribute those binaries with your application.
For local development, easiest thing to do is just install the DirectX 9 or 10 SDK on your computer. It should copy the extra helper DLLs as appropriate.

How to create an CSV file for OpenCV [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I was reading on Facial Recogntion on OpenCV and it required me to use an CSV file for my project. I am using Ubuntu 12.04 and I think it is telling me to use Python to write the code. I have no idea of the code and what I want is to get my own image into the CSV file and let it work. How do I do that? I only have a C++ background and I don't know what to do. Can someone please teach me how to make one of those files? I have googled for a long time but no results.
http://docs.opencv.org/trunk/modules/contrib/doc/facerec/tutorial/facerec_video_recognition.html
The CSV file here is used to define the learning database for FaceRecognition, it's just a list of image files and a corresponding subject id :
/path/to/subject1image1.jpg;0
/path/to/subject1image2.jpg;0
/path/to/subject1image3.jpg;0
...
/path/to/subject2image1.jpg;1
/path/to/subject2image2.jpg;1
...
/path/to/subject3image1.jpg;2
...
You could do this by hand if you have the time or you could use their python script.
To use the script you just have to respect the file hierarchy /basepath/<subject>/<image.ext> then simply run the script with python and it will generates the corresponding CSV file.

RoR possible problems with a printer [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm about to start development of an application with Ruby on Rails, which requires to print stuff, mostly tickets.
I'm guessing the printer I use won't have much impact.
So the question is, what are the different things I should take into consideration with the printing? I'm thinking a normal ruby program should have communication with a printer.
The most portable solution here is for your Rails application to emit a PDF and then hand that off to either the browser for rendering and printing, or to inject it into a local print spooler.
There are a number of ways to get PDF out of Ruby depending on your requirements. The easiest method is to render HTML and use a library to convert it to PDF like PDFKit. A method with more control is one where you draw out the document using a library like Prawn.

I want to learn driver developement so how to start in this? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to learn device driver development so how to start ? Any media for beginner or something ?
The canonical reference is Linux Device Drivers 3rd Edition - although it's a few years old now, it's close enough to current kernels.
Quite a lot of stuff is not covered in here - particularly anything that's device or bus specific, or the way the kernel has been developing to support ARM SoC devices over the last few years.
I would suggest to go start learing Linux device driver under PC environment so as you can co-relate most of things you are familier with ,One approach is to go get linux source code and try to understand how kernel is being called and how single user space process is initiated from kernel space .You can also follow this below given page would be helpful for you.
http://en.wikiversity.org/wiki/Reading_the_Linux_Kernel_Sources

calling command-line utility from app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is it possible to call a command-line utility from a running app on iOS devices?
The utility is a binary executable and is supposed to be included in the app package.
There already are command line utilities (think iSSH) on the iPhone. If what you mean, however, is "can you use underlying UNIX system utilities" or "run a utility you bundle onto a iPhone shell", no it's not possible.
Apart from that, bundling an opensource utility with a closed source application will open interesting legal challenges, you would have to be very attentive to implications of licenses.

Resources