detection

Possibility for a website to track the user's chrome extensions, or their behaviour?

馋奶兔 提交于 2019-12-06 15:56:24
I am fairly interested in my website visitor's Chrome extensions, and what they do ( outgoing network communication, file saving, storage, etc. ) Is there any possibility to detect these? No. That would be a nasty invasion of privacy. The closest you could come to detecting an extension would be to examine the DOM and JS environment of your page and see if the browser modified it in ways you didn't expect … but that would be a massively broad problem to solve, so you could only practically do it to look for very specific effects (which is what ad-blocker-blockers do). For some specific

Detecting similarity in two video files

丶灬走出姿态 提交于 2019-12-06 14:38:35
I am working on detecting similarity between 2 videos in Java. The user will suggest two videos, and software has to detect whether they are similar by checking the file content. I read that it is possible to compare each frame of the 2 videos. Can anyone please share any suitable algorithms (or code or methods) that can be implemented in Java? thkala There is a huge variety of algorithms for determining similarity in images. A search for image similarity algorithm and video similarity algorithm in Google Scholar will produce a large number of related papers - there are also a few questions (e

laser curved line detection using opencv and python

此生再无相见时 提交于 2019-12-06 12:36:18
I have taken out the laser curve of this image : (source: hostingpics.net ) And now, I'm trying to obtain a set of points (the more, the better), which are in the middle of this curve. I have tried to split the image into vertical stripes, and then to detect the centroid. But it doesn't calculate lots of points, and it's not satisfactory at all ! img = cv2.Canny(img,50,150,apertureSize = 3) sub = 100 step=int(img.shape[1]/sub) centroid=[] for i in range(sub): x0= i*step x1=(i+1)*step-1 temp = img[:,x0:x1] hierarchy,contours,_ = cv2.findContours(temp, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)

Not detecting multiple circles in Image

别来无恙 提交于 2019-12-06 11:09:16
My code is straightforward. i am trying to detect 22 balls but ionly getting a few. I think it has something to do with the CvSeq* circles = cvHoughCircles Can anyone help me please and thank you! #include <stdio.h> #include <cv.h> #include <highgui.h> #include <math.h> int main(int argc, char** argv) { IplImage* img = cvLoadImage("C:\\Users\\Nathan\\Desktop\\SnookerPic.png"); IplImage* gray = cvCreateImage (cvGetSize(img), IPL_DEPTH_8U, 1); CvMemStorage* storage = cvCreateMemStorage(0); cvCvtColor(img, gray, CV_BGR2GRAY); // This is done so as to prevent a lot of false circles from being

Detecting multiple simultaneous keypresses in C#

十年热恋 提交于 2019-12-06 10:02:12
I am looking to emulate hyperterminal functionality for my Serial Communication in C# by detecting the keypresses of certain key combinations (escape sequences) which cannot be typed out such as Ctrl+C, Ctrl+Z, etc. I understand that these keys have their ASCII equivalents and can be transmitted as such. But I am facing problems with the detection of multiple keypresses. Some of my code is provided as a reference : private void Transmitted_KeyDown(object sender, KeyEventArgs e) { if (e.Modifiers == Keys.Control || e.Modifiers== Keys.Shift || e.Modifiers==Keys.Alt) { var test = (char)e.KeyValue

Detect which APIs are present in UWP app

回眸只為那壹抹淺笑 提交于 2019-12-06 08:59:07
Understanding why it's not recommended to detect the device type to perform run-time functionality, best practices dictate detecting which APIs are present instead. This way, users running their tablet in desktop mode, for instance, will not experience undesired behavior. Also, since hardware is so dynamic, checking for user interactions like touch capability is not a good approach either. On our project, we have decided to identify the APIs we'll need for three different screen widths - small, medium, and large. Microsoft has listed these APIs here . But this list is rather long and checking

Detect if interface is in promiscuous mode with C

孤街浪徒 提交于 2019-12-06 07:59:27
问题 I am doing a different tools to check security of linux servers... nothing important and very similar to the tools of chkrootkit. One of the tools I want to do, is like the ifpromisc.c from chkrootkit, that is detect if one of the server interfaces is in promiscuous mode. I found an answer on stackoverflow: howto check a network devices status in C? But after check this solution, I noticed is only for old kernels, because new libpcap doesn't set IFF_PROMISC flag when uses PACKET_MR_PROMISC. I

Reading iPhone files from PC / Mac programmatically

被刻印的时光 ゝ 提交于 2019-12-06 03:51:09
Applications like iPhone Explorer can show the contents for each installed iPhone application on Mac OS X (even on non-jailbroken devices) when iPhone is connected using USB-cable. I'm trying to do something similar, programmatically copy some files from my iPhone app's folder. I have done some experiments with open-source frameworks/products built to use iTunes-framework, like iPhoneBrowser and MobileDevice Library. I can connect to iPhone, now the problem is how to enumerate Apps folder items? iPhoneBrowser or MobileDevice Library don't support or provide any easy way for that. Even when

Objective-C : is it possible to detect QR code data type?

这一生的挚爱 提交于 2019-12-06 02:44:57
I did qr code with Zxing, Right now I can read data but what I want is : Example: Be able read type of QR Code is wifi, VCard, Calendar, url, etc... if detect QR Code is wifi so I be able code to change wifi setting key, So, how do i know that data read from QR code is wifi? QR Code itself does not specify any types. Its plain text. It can be an HTTP URL or a custom URL. (e.g. it should have "type://wifi" inside it. You can then use it to see what the type is). But off-the-shelf, there is no such thing. You have to know who is creating the QR Codes and what is he storing in them. There is no

how to detect known objects in OpenCV?

僤鯓⒐⒋嵵緔 提交于 2019-12-06 02:29:34
问题 I am try to draw shapes in the window in real time. The shapes are like tangle ,rectangle ,circle , half or circle and "Z" in the screen using yellow color. The size and the shape may not be same to the original image. But Program know all the original shapes. Because they are predefined. I want to know how i can identify the correct shape. as an example, is there possible way to do this? can I use template matching for this? Please help me with this.. 回答1: You can use different methods to