Detection is a general term that describes the action of finding an object, event or state during a process.
Questions tagged [detection]
2165 questions
502
votes
130 answers
Stopping scripters from slamming your website
I've accepted an answer, but sadly, I believe we're stuck with our original worst case scenario: CAPTCHA everyone on purchase attempts of the crap. Short explanation: caching / web farms make it impossible to track hits, and any workaround (sending…

Dave Rutledge
- 5,525
- 7
- 27
- 24
362
votes
30 answers
How to detect page zoom level in all modern browsers?
How can I detect the page zoom level in all modern browsers? While this thread tells how to do it in IE7 and IE8, I can't find a good cross-browser solution.
Firefox stores the page zoom level for future access. On the first page load, would I be…

understack
- 11,212
- 24
- 77
- 100
165
votes
16 answers
How to detect the physical connected state of a network cable/connector?
In a Linux environment, I need to detect the physical connected or disconnected state of an RJ45 connector to its socket. Preferably using BASH scripting only.
The following solutions which have been proposed on other sites do NOT work for this…

Jeach
- 8,656
- 7
- 45
- 58
121
votes
11 answers
How can I detect if the user is on localhost in PHP?
In other words, how can I tell if the person using my web application is on the server it resides on? If I remember correctly, PHPMyAdmin does something like this for security reasons.

Richie Marquez
- 2,228
- 3
- 19
- 18
114
votes
6 answers
What is the mAP metric and how is it calculated?
In Computer Vision and Object Detection, a common evaluation method is mAP.
What is it and how is it calculated?

cerebrou
- 5,353
- 15
- 48
- 80
113
votes
7 answers
Detecting CPU architecture compile-time
What is the most reliable way to find out CPU architecture when compiling C or C++ code? As far as I can tell, different compilers have their own set of non-standard preprocessor definitions (_M_X86 in MSVS, __i386__, __arm__ in GCC, etc).
Is there…

Alex B
- 82,554
- 44
- 203
- 280
88
votes
8 answers
How can I detect if Flash is installed and if not, display a hidden div that informs the user?
How can I use javascript/jQuery/etc to detect if Flash is installed and if it isn't, display a div that contains information informing the user that they need to install flash?

KingNestor
- 65,976
- 51
- 121
- 152
50
votes
6 answers
Just upgraded my OS X to Yosemite, Android Device Chooser not showing device - what to do?
After upgrading to OS X Yosemite I found that eclipse was not working because JAVA was not properly installed. I installed it and now I am able to open eclipse.
When I connect my device, I am able to see my device on the device list in eclipse.…

joel
- 747
- 2
- 9
- 20
50
votes
4 answers
Detecting Operating Systems in Ruby
Is there a way to detect the operating system in ruby? I am working on developing a sketchup tool that will need to detect Mac vs. Windows.

user1546594
- 539
- 1
- 4
- 4
45
votes
1 answer
Faster RCNN for TensorFlow
Has anyone implement the FRCNN for TensorFlow version?
I found some related repos as following:
Implement roi pool layer
Implement fast RCNN based on py-faster-rcnn repo
but for 1: assume the roi pooling layer works (I haven't tried), and there…

RyanLiu
- 1,557
- 2
- 18
- 27
41
votes
5 answers
NLTK and language detection
How do I detect what language a text is written in using NLTK?
The examples I've seen use nltk.detect, but when I've installed it on my mac, I cannot find this package.

niklassaers
- 8,480
- 20
- 99
- 146
32
votes
5 answers
Cepstral Analysis for pitch detection
I'm looking to extract pitches from a sound signal.
Someone on IRC just explained to me how taking a double FFT achieves this. Specifically:
take FFT
take log of square of absolute value (can be done with lookup table)
take another FFT
take…

P i
- 29,020
- 36
- 159
- 267
32
votes
3 answers
How to detect current JSF-Version?
I am developing a jsf-webapp and now I need to know what JSF-Version I am using? Where can I look this up? Thanks in advance.

Jochen
- 1,746
- 4
- 22
- 48
30
votes
5 answers
Detect which image is sharper
I'm looking for a way to detect which of two (similar) images is sharper.
I'm thinking this could be using some measure of overall sharpness and generating a score (hypothetical example: image1 has sharpness score of 9, image2 has sharpness score of…

econstantin
- 791
- 1
- 7
- 15
27
votes
2 answers
Detecting colors for an Image using PHP
How can I detect the top 2 colors of an Image in PHP?
for example I have this image:
This function/process will return: 0000FF or blue and FFFF00 or YELLOW
Thanks

Tech4Wilco
- 6,740
- 5
- 46
- 81