detection

How to detect language of user entered text?

I am dealing with an application that is accepting user input in different languages (currently 3 languages fixed). The requirement is that users can enter text and dont bother to select the language via a provided checkbox in the UI. Is there an existing Java library to detect the language of a text? I want something like this: text ...

How do I tell what type of data is inside python variable?

I have a list of variables.. inside the list are strings, numbers, and class objects. I need to perform logic based on each different type of data. I am having trouble detecting class objects and branching my logic at that point. if(type(lists[listname][0]).__name__ == 'str'): # <--- this works for strings elif(type(lists[listname][0])....

ID3 algorithm for corner detection C#

How would the FAST corner detection algorithm be implemented in C#? Here is what I understand about it. It uses the ID3 algorithm to generate candidate pixels to be analysed for corner detection, then places raster circles of a 3 pixel radius around these candidate spots. The circle production is fine, but I cannot yet understand the ID3...

What is the easiest way to use Google AJAX Language API to detect language with PHP?

There is an easy way to use the Google AJAX Language API to detect language with PHP without use any library or a giant framework? ...

Distingushing features of a blog, i.e deference between a blog and a normal site

Hi everyone. I'm looking at things that can distinguish a blog from a normal website. These are things that a program needs to be able identify from the html of a website or particular features that a site supports. For eg. pings. The same for news websites. I'm working on a blog/news monitor program and it will index sites to automatic...

list every font a user's browser can display

Is there a way in javascript to obtain the names of all fonts (or font-families) that the browser can show? (I want to give the user a dropdown with a list of all available fonts, and allow the user to choose a font.) I'd prefer not to have to hardcode this list ahead of time or send it down from the server. (Intuitively, it seems like...

Browser Detection using java/J2EE

In order to achieve browser compatibility in application I am in need of Java class/Bean/Jar which will return the following information current browser of user its Name,version and also the OS of the user. Any thought on this will be really helpful, this should work well in latest versions of all the Modern Browsers such Chrome, Safar...

Get users OS and version number.

I've spent a day on and off Googeling for this; no luck so far. How can I get the users OS and version. Mine would me Mac OS X 10.6.4, the spare PC in the office would be Windows XP SP3. You see what I'm getting at. I've seen a million and one methods to get the users platform alone, just not the version. JS would be ideal, but a serv...

telling Windows from Linux (via network)

I am doing a research on how someone can detect whether another machine is running Windows or Linux, if it runs inside a virutal machine, if it's behind NAT\proxy\VPN and what not. I saw some interesting tools like p0f, which does passive detection. Basically, I know there are implementation differences in TCP and other underlying protoc...

Recognising nearby iPhones running my app

I have a requirement in my iPhone app that I know when somebody running the same app is close by. I'm thinking that GameKit using Bluetooth would let me do that. GPS location is not precise enough in this particular case. However, if the user closes the app then the function won't work anymore. Even under iOS4, the task switching will ...

Detect physical screen dimensions

I know that it is possible for a website to detect a user's screen dimensions in pixels, but is there a way to detect the physical size of a user's monitor (in inches)? ...

Local or Server Based Crawler that Detects the PHP version of a script

I have custom scripts that are were written near the change of php4 and php5 and I am looking to find all of the php4 versions easily so that I can rewrite them so that they work with php5.3. Is there a tool that can perform this on my local machine or the server? ...

Photo recognition with webcam

Hi, in a few months I've got a game to play, but I want to cheat a bit :P by using some webcams. The game is simple you drive with your car around and try to spot images that are taken of the roadside. But I was thinking if I use some webcams, I could scan the surrounding for these photos. I will probably still need to look for these ph...

face detection gap

I have started recently to learn about face detection but due to I am student of phd need to find the gap of face detection.I have studied a lot of paper to find this gap but I am going to confirm my proposal is right or no.are there anyone who know about the gap of face detection ? ...

How to determine real format of an XLSX Excel file?

Hi! I have a well known problem that is described in Extension Warning On Opening Excel Workbook from a Web Site microsoft blog entry. I've added URL rewrite to have URL nicely formatted and my mime type matches exactly XLSX recommended file type. However I still get a warning. I suspect that service that provides me those xlsx files m...

MP3 Bit Rate Quality Detection through Frequency Spectrum Analysis

Does exist any program that detects the bitrate of an mp3? I'm not talking about the effective bitrate that the file has been encoded with, but the real bitrate that can be calculated only by frequency spectrum analysis. For example, to explain more clearly what i mean for the two kinds of bitrates: if i have an mp3 encoded in 128kbps w...

Detecting mobile browsers on the web?

I'm curious to know how to check for iPhone, iPad and other mobile browsers.(JavaScript or CSS) Edit: Not user agent string, please. That can be faked. Possible Dupes: http://stackoverflow.com/questions/1005153/auto-detect-mobile-browser-via-user-agent and http://stackoverflow.com/questions/142273/standard-way-to-detect-mobile...

How to Detect when a CD / DVD / USB Inserted or Removed and Get Drive Letter ?

I want to detect when a Disk ( CD / DVD ) or an USB inserted or removed. I know that I should work with WM_DEVICECHANGE message , but my problem is getting the Volume ( Letter ) of the Drive , I tried to Get it by WMI Query and Win32_VolumeChangeEvent too but I could not! there is an Example and work fine , how can I do this by Delphi?...

iPhone, OpenCV and CvBlobDetector

I found Yoshimasa Niwa's article about blob detection here: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en And something on realtime face detection here: http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/ But what I really want to do is realtime blob detection (...

detect skin tone from an image

I am trying to develop an application which will detect the color of the face once an image is provided. I was able to find out the face detection algorithm from openCV and integrate it. However i could not find any example or interface by which i can detect the color of the face. I have the logic which i am presenting. Please let me kno...