ObjectTracker | Multiple object tracking with a fixed , overhead camera | Computer Vision library
kandi X-RAY | ObjectTracker Summary
kandi X-RAY | ObjectTracker Summary
Multiple object tracking with a fixed, overhead camera using background subtraction and Kalman filters
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ObjectTracker
ObjectTracker Key Features
ObjectTracker Examples and Code Snippets
Community Discussions
Trending Discussions on ObjectTracker
QUESTION
My use case is that I want to track different objects kept in different rooms. I uploaded the images of object(1) and downloaded the WTO file and successfully able to track it by setting the targetcollection property of object tracker. Now for the object(2) how should I proceed? I tried having two objecttrackers in my single scene and setting the targetcollection property to different WTO files, but it is not working.
...ANSWER
Answered 2019-Mar-11 at 15:30If you don't need to track multiple targets at the same time, you can use a single ObjectTracker with a single WTO file that contains two targets.
In the Target Manager, you can add the second object to an existing project, resulting in a WTO file with two targets.
In Unity, the ObjectTrackable has OnObjectRecognized and OnObjectLost events, which will allow you to distinguish between which target is currently tracked, so you can enable / disable augmentations as necessary.
QUESTION
Looking for example code to understand how to implement EmguCV tracker. I tried few things like in this poorly written code:
...ANSWER
Answered 2018-Aug-14 at 09:26Turns out, it is really simple.
First define a Tracker in a type you desire.
Example:
QUESTION
I have Unity Editor version 2018.2.1 and Vuforia 7.2.23. If I download Vuforia core samples from assets store, I get the following error after importing the assets.. Here are the errors
...ANSWER
Answered 2018-Dec-10 at 20:19The core samples in asset store don't support vuforia 7.2 You have to update vuforia manually (7.3+) or install Unity 2017.3.0 or higher
QUESTION
I am using basic free plan of vuforia and working with Cloud recognition with vuforia. Cloud recognition part is working fine and trackable handler print the cloud recognized image name too. But when I trying to enable tracking for the tacked image target, it is only working for the very first image. After the first one, it gives the following error:I've checked with the different version of unity, it is working with Unity 2018.2.6f1 Personal which is installed on another laptop. But I've Unity 2018.2.12f1 Personal which gives the error. Is it a unity error?
TargetSearchResult cloud-image-name could not be enabled for tracking. UnityEngine.Debug:LogError(Object) Vuforia.TargetFinder:EnableTracking(TargetSearchResult, GameObject) CloudRec:OnNewSearchResult(TargetSearchResult) (at Assets/Scripts/CloudRec.cs:66) Vuforia.ObjectRecoBehaviour:Update()
Above error indicates the following line as the issue:
...ANSWER
Answered 2019-Feb-28 at 10:26After almost a week of search, I got the error cause. When running with unity the error occurs but when I build to Android or iOS it is working fine. So my doubt on the code is left and I force to think out of the box. I decided to test on various versions of unity and vuforia with the same machine. It doesn't help to ride the error. At last, I tested with other machines and I got the error cause. Which because of hardware compatibility.
In my case, I am using mac pro-2009 mid which is not supporting to ObjectTracking
But I tested with the same code and same versions of tech on MacBook Air 2017 and Mac Pro mid-2014 it is working fine. So I conclude this as a hardware compatibility issue!
QUESTION
I have created a prototype application in unity using vuforia where I upload an image to myserver the server then sends the image (and associated assetbundle's link in metadata) to vuforia cloud to add it to the image target database. then in unity when camera tracks the image target I download the asset bundle to augment it.
...ANSWER
Answered 2019-Feb-21 at 09:49The difference between ARCore and Vuforia is in ARCore you can add images to database in run time so you do not have to use any server.
- You can switch to a different database by modifying Session config using this:
GoogleARCore.ARCoreSessionConfig.AugmentedImageDatabase
- As i said you can add images to database in run time so as long as you have the image in your project hierarchy you can
add images
to database. - I do not think having a meta data is possible only information you can get is database index of the image.
Good Luck!
QUESTION
I have been following this great tutorial:
https://www.youtube.com/watch?v=uxrKE2VKvmc
and at some point it does this for each target, it creates a gameObject ?
If you look at the code here:
...ANSWER
Answered 2018-Dec-30 at 21:26target.gameObject.transform.parent = transform;
QUESTION
I wanted to add tensorflow support to my android project (my own version of object detection from the demo)and didn't want to deal with bazel
or cmake
to build the native libraries that tensorflow uses. So as recommended through many issues posted at the tensorflow GitHub project I downloaded the latest successful nightly build from Jenkins that contains an apk file to test the object detection demo and .jar file along with the .so files from different architectures.
So I added the prebuilt libraries libtensorflow_demo.so
and libtensorflow_inference.so
(arm64-v8a ,armeabi-v7a, x86, x86_64) and the libandroid_tensorflow_inference_java.jar
file to my libs directory.
I added these lines to my gradle :
...ANSWER
Answered 2018-May-29 at 09:04As suggested, downloading and including the .so
file to your own project was not enough. Since we're including a pre-compiled version of the library the native methods (in the .cpp
files) have the package name of the tensorflow demo on their names. That's why this error occur since our own projects packages named differently.
To solve this problem you need to rename your package to
org.tensorflow.demo
and make sure thatObjectTracker.java
is underorg.tensorflow.demo.tracking
.Second solution would be changing the naming of the native methods in the
.cpp
files according to your package name and then rebuild the.so
file with bazel (faced many problems there if anyone manage to do it please mention how).I hope the tensorflow team will mention this information when suggesting to download and drop the pre-buit version so the not so experienced developers won't waste unnecessary time on this issue.
QUESTION
I'm creating a simple container system, in which my objects (all children of a class called GeneralWidget
) are grouped in some containers, which are in another set of containers, and so on until all is in one Global container.
I have a custom class, called GeneralContainer
, in which I had to override the __str__
method to provide a describing name for my container, So I know what kind of objects or containers are stored inside of him.
I am currently writing another class called ObjectTracker
in which all positions of my Objects are stored, so when a new object is created, It gives a list with its' name in it in the __init__
method to it's "parent" in my hieracy, which adds itself to the list and passes it on. At some point this list with all objects that are above the new created instance of GeneralWidget
will reach the global GeneralWidget
(containing all containers and widgets) , which can access the ObjectTracker
-object in my main()
.
This is the bachground of my problem. My ObjectTracker
has got a dictionary, in which every "First Level container" is a key, and all objects inside such a container are stored in dictionarys as well. So I have
many encapsulated dictionarys.
As I don't know how many levels of containers there will be, I need a dynamic syntax that is independent of the number of dictionarys I need to pass unil I get to the place in the BIG dictionary that I want. A (static) call inside my ObjectRepository
class would need to look something like this:
ANSWER
Answered 2018-Feb-26 at 00:24I think you might be looking for vars()
.
QUESTION
tracking.js makes it fairly easy to detect a face on an . They have a wonderful hello world example for this, but I was wondering if anyone figured out yet how to detect a face on a
element.
I tried:
...ANSWER
Answered 2018-Jan-08 at 14:29I had the same issue. Just change the order. Put tracking.track('#canvas', tracker)
behind the tracker.on
- section and it should work.
But if you want to "highlight" it on a canvas you should draw at the context instead of plotting. You can also pass the imageData
directly tracker.track(imgData, width, height)
... Have fun.
QUESTION
On the client side(HTML) using webcam i need to detect the face and process the face image in the middleware(python) once the processing is done the relavant name of the face has to be tagged to the face detected in the webcam.
Using tracking.js i am able to detect the face but unable to do the face recognition in the server side(python)
How each detected frame can be sent to the server from tracking.js?
How can the response (person name) from the middleware be tagged to the face detected in webcam?
i tried using webhooks but am unable to send the detected frame to the server.
using javascript, i tried with the below code script.
...ANSWER
Answered 2017-Dec-29 at 15:22I think the most difficult part you already did, that is detecting the face in front side.
Once you got it, proably this api/framework tracking.js should have an event like onFaceDetected or onImageCaptured that you can use to send the captured face to the server.
Probably on back side you have a web service that will receive the image (face) and will process it and return the respose, and the image will be a data structure, like a json containing the image in base64. So to accomplish the result you want, you need on the event get the image in the format needed (bytearray, base64, etc), build a json with it and send using ajax to the webservice, getting the result and updating the ui via javascript.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ObjectTracker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page