tracking

OpenCV4Android conversion from MatOfKeyPoint to MatOfPoint2f

旧街凉风 提交于 2019-12-22 00:24:25
问题 I am trying to use OpenCV for Android (OpenCV 2.4.3) I am writing a program to track keypoints. I am trying to use FeatureDetector to detect keypoints and then Video.calcOpticalFlowPyrLK to track them. The question that has me stumped is that the FeatureDetector function returns a MatOfKeyPoint while calcOpticalFlowPyrLK takes a MatOfPoint2f. Note that MatOfKeyPoint is different from MatOfPoint (Conversion from MatOfPoint to MatOfPont2f is straightforward). Here is my code so far: //Feature

Multiple Blob Tracking

旧街凉风 提交于 2019-12-21 20:59:34
问题 I would like to track some traffic signs from a video. I found a nice way to solve the problem here: Link My question now is: How should I handle the case of new incoming blobs? I mean for a Blob one could define a search-region, but maybe in the next frame there is also a second thing that appears? How should I handle this? 回答1: from what I understand from the paper you provide, this system is already made to track several signs at a time, appearing and disappearing. See the end of §2 : the

Is it possible to exclude links from tracking

左心房为你撑大大i 提交于 2019-12-21 07:14:15
问题 I am building an app which is utilizing Sendgrid Marketing Email API, with the purpose of sending newsletters. It has a number of links to articles, but also banner ads and other service links. We would obviously like to keep tracking of article links, but exclude other links from affecting the click rate. Is it possible in any way to mark links which we don't wish to add to tracking? 回答1: Minor thread necromancy to let anyone who gets here via google know that they added an attribute to

How to track online users in Rails?

人盡茶涼 提交于 2019-12-21 01:18:39
问题 This was always a problem for me, as rails doesn't have some mechanisms for session tracking like java frameworks do, what methods do you use to track who is currently logged on your site? I use a simple method by setting up last_visited field with current time every time user clicks somewhere on the site, and then checking for users which have updated that field in (lets say) last 10 minutes. What other methods are there besides this one? 回答1: If you are using the active_record_store for

C++ CvSeq Accessing arrays that are stored

核能气质少年 提交于 2019-12-20 05:51:50
问题 The program I am working with is currently able to draw rectangles onto peoples heads as they move below the camera that is pointing down at them. What I am now struggling to do is to use these stored coordinates so that I can track the rectangles as they move slightly between each of the frames. Here is the specific function that I am using to do this: void FindHeads(cv::Mat Img, vector<RECT>* detectBox) { CvMemStorage* m_storage; m_storage = cvCreateMemStorage(0);//The default size of the

How to track distance via GPS on Android?

风流意气都作罢 提交于 2019-12-19 11:05:54
问题 How would I go about tracking the distance a user travels? I don't necessarily care about storing waypoints, although that may be necessary to calculate distance anyway. So far, I am creating a LocationManager and regsitering an onLocationChanged listener, and then calculating the raw distance between two points when the listener fires. The problem here is that if I leave the app sit still on a desk for 10, 15 minutes, it will say I have traveled .5 miles. How should I go about checking for

Tracking a download button click with Analytics using events

狂风中的少年 提交于 2019-12-19 06:24:10
问题 I'm tracking the Download button click on a website featuring a project of mine with this code: function trackDownload(link) { try { _gaq.push(['_trackEvent', 'Downloads', 'Click', 'Setup executable']); setTimeout('document.location = "' + link.href + '"', 100); } catch (err) {} return false; } And the button is something as: <a href="files/setup.exe" onclick="return trackDownload(this);">Download</a> So, when a user clicks it, an event is pushed to Analytics and then the user is redirected

Tracking a download button click with Analytics using events

点点圈 提交于 2019-12-19 06:22:52
问题 I'm tracking the Download button click on a website featuring a project of mine with this code: function trackDownload(link) { try { _gaq.push(['_trackEvent', 'Downloads', 'Click', 'Setup executable']); setTimeout('document.location = "' + link.href + '"', 100); } catch (err) {} return false; } And the button is something as: <a href="files/setup.exe" onclick="return trackDownload(this);">Download</a> So, when a user clicks it, an event is pushed to Analytics and then the user is redirected

Drawing angled rectangles in OpenCV

江枫思渺然 提交于 2019-12-18 16:58:09
问题 I am using OpenCV and python to work on a project that involves body tracking, and I am using HSV values to find a skin tone then draw a box around it. However although I can find the tracked object and draw a box around it the rectangles are always vertical, and I would like to know if there is anyway angle the rectangles so they better show the detected object, somewhat like the minEnclosingCircle function, but using a rectangle The images probably explain what I am looking for better. The

Realtime Face-tracking on Iphone [closed]

余生长醉 提交于 2019-12-18 10:46:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anybody know which,currently,is the best library for realizing a real time face-tracking solution for iPhone? I've done a research but I've found quite old articles about OpenCV portings. I would like to know if there is any specific,reliable,fast (and possibly free) AR solution for overlay in real time an