Detection is a general term that describes the action of finding an object, event or state during a process.
Questions tagged [detection]
2165 questions
15
votes
4 answers
Best way to detect IronPython
I need to write a module which will be used from both CPython and IronPython. What's the best way to detect IronPython, since I need a slightly different behaviour in that case?
I noticed that sys.platform is "win32" on CPython, but "cli" on…

Meh
- 7,016
- 10
- 53
- 76
15
votes
4 answers
How does Windows Azure Service Bus Queues Duplicate Detection work?
I know that you can set duplicate detection to work over a time period with an azure service bus queue. However, does anyone know whether this works based on the objects in the queue?
So if I have an object with an id of "SO_1" which gets put on the…

Ross Vernal
- 483
- 1
- 5
- 20
15
votes
2 answers
Linux Kernel Rootkit samples
I'm working on some new techniques for Linux Kernel Rootkit Detections as my thesis. I need some sample of rootkits to test my method and also do some machine learning tests.
But not the old-dusty ones in packetstorm that could be found in computer…

Shayan
- 548
- 6
- 24
14
votes
5 answers
Python OpenCV - Find black areas in a binary image
There is any method/function in the python wrapper of Opencv that finds black areas in a binary image? (like regionprops in Matlab)
Up to now I load my source image, transform it into a binary image via threshold and then invert it to highlight the…

Marco L.
- 1,489
- 4
- 17
- 25
14
votes
2 answers
Detect circles in openCV
I have a problem with choosing right parameters for HoughCircles function. I try to detect circles from video. This circles are made by me, and has almost the same dimension. Problem is that camera is in move.
When I change maxRadius it still…

Toriam
- 157
- 1
- 1
- 6
14
votes
4 answers
Android - How to approach fall detection algorithm
I want to be able to feature a fairly simple fall detection algorithm in my application. At the moment in onSensorChanged(), I am getting the absolute value of the current x,x,z values and subtracting SensorManager.GRAVITY_EARTH (9.8 m/s) from this.…

bobby123
- 1,006
- 4
- 14
- 24
14
votes
2 answers
Detect if event listener is supported
Is it possible to detect if certain events are supported in certain browsers?
I can detect if the browser supports document.addEventListener, but I need to know if it supports the event DOMAttrModified. Firefox and Opera support it, but Chrome and…

Ben
- 5,117
- 2
- 27
- 26
14
votes
3 answers
Finding the Sky/Ground separation in OpenCV
I am trying to detect the horizon in an image, and return a mask of the sky (or inverted as the ground). While there seems to be many uses for it, I am battling to find a good solution. What's worse is that it seems like such a simple problem, and…

Andre Coetzer
- 169
- 1
- 5
14
votes
1 answer
Improving accuracy OpenCV HOG people detector
I'm working in a project. A part of project consist to integrate the HOG people detector of OpenCV with a camera streaming .
Currently It's working the camera and the basic HOG detector (CPP detectMultiScale ->…

Ricardo
- 300
- 1
- 3
- 12
14
votes
5 answers
Detect mouse direction - JavaScript
var direction = ""
var mousemovemethod = function (e) {
var oldx = 0;
if (e.movementX < oldx) {
direction = "left"
} else if (e.movementX > oldx) {
direction = "right"
}
oldx = e.pageX;
}
This is how I detect the…

CRQ
- 357
- 2
- 4
- 14
13
votes
3 answers
Digital image processing of corn kernels
I am trying to identify and count insect-infested corn kernels from good or healthy corn kernels. I have done the thresholding up until drawing contours around all the corn kernels in the image.
FYI, the insect-infested kernels have holes and…

SMD
- 131
- 2
13
votes
2 answers
How to detect a cracked iPhone App and a jailbroken device (different methods)
I'm building a blacklisting service for cracked iPhone apps and I am curious if I missed a method for detecting cracked apps.
In the moment following app crack detection methods are available for the service:
checking plist size
checking signer…

Robse
- 131
- 1
- 1
- 3
13
votes
1 answer
What would be the most efficient way to detect all closed paths in a collection of segments and connectors?
We have a data set which is comprised of Connectors and Segments. Each segment has exactly two connectors, but each connector can belong to zero or more segments (i.e. connector 'A' in the left image below has no segments, while connector 'M' has…

Mark A. Donohoe
- 28,442
- 25
- 137
- 286
13
votes
4 answers
iOS Motion Detection: Motion Detection Sensitivity Levels
I have a simple question. I'm trying to detect when a user shakes the iPhone. I have the standard code in place to detect the motion and this works no problem. However, in testing this on my actual phone, I've realized that you have to shake the…

zic10
- 2,310
- 5
- 30
- 55
13
votes
7 answers
How do I detect Chromium specifically vs. Chrome?
Is there a way to detect if a visitor to my site is running Chromium as opposed to Google Chrome? Even basic UA sniffing (which I know is bad practice) would suffice for my particular case, but it appears that Chromium and Chrome share the same UA…

daGUY
- 27,055
- 29
- 75
- 119