Questions tagged [object-tracking]

76 questions
1
vote
0 answers

Problem getting OpenCV multitracking to work

I'm in the early stages (VERY alpha) of writing the backend for an open source home video surveillance system. I'm building it on Gstreamer as a series of plugins. The idea is going to make each step of the process modular based on implementations,…
Chris
  • 538
  • 2
  • 8
  • 20
1
vote
1 answer

Selecting ROI for Object Tracking from uninterrupted video stream with Python OpenCV

I was following this tutorial https://www.pyimagesearch.com/2018/07/30/opencv-object-tracking/ that allows you to create an ROI from a static screenshot of the video stream to do basic object tracking (not detection). I was wondering if it was…
ansib1e
  • 11
  • 1
1
vote
1 answer

Vertex AI Object Tracking with only one label

I want to train an object tracking model in Vertex AI for one type of object. The "Train New Model" button says "To train a model, you must have at least two labels and each label included in training must have at least 15 videos assigned to it." I…
1
vote
0 answers

The best approach for object counting using computer vision

I'm working on various methods to count objects on conveyor belt using camera feed. Methods used: OpenCV Background subtraction OpenCV Color Tracking of objects in the video The main issue faced is that even with a small change in the…
1
vote
0 answers

How to combine two different structures?

I want to do apriltag detection and human detection at the same time with the yolox model. I found two different models, but they work separately. How to combine these models? When I try, it turns on two different cameras. I want to turn on one…
1
vote
0 answers

Track multiple shapes using JavaScript Object Detection

How can I track 2 to 3 objects(shapes: circle, square, triangle, etc.) on a webcam feed using JavaScript? It needs to be able to tell me the coordinates and sizes of appearing shapes/objects Is there a pre-trained ml5 model to do it or any teachable…
Md Shuvo
  • 69
  • 1
  • 9
1
vote
2 answers

Put image on another image using python

Hello i'm using python to track objects in a video and i want to show an image on top of the object instead of a text. The current line that im using to show text on top of the target box : cv2.putText(img_current_frame ,"object…
1
vote
1 answer

How to track and count multiple cars in a video using contours?

Steps I have followed: Background subtraction with preprocessing. Contour detection. With these two steps, I am able to draw contours on all moving cars in the video. But how do I track contours to count number of cars in the video ? I searched…
Adi
  • 4,149
  • 4
  • 25
  • 41
0
votes
0 answers

PySource Tracker.py file

This is trivial but something prevents me from downloading the souce files and tracker.py file from PySource for Object Tracking with Opencv and Python by Sergio Canu. Could anyone share it if they have it? I tried subscribing with several emails…
0
votes
0 answers

analyzing a video from thermal camera

Imagine that I have a moving object which is hot, above a certain threshold. I would like to design an algorithm to detect the area and track the movement of the object (for example predicting the direction of travel). I was wondering what the best…
0
votes
1 answer

How to Efficiently Parse Video Files Stored in S3 for SageMaker Endpoints with Custom Inference Code and Containers?

I am currently working on deploying a SageMaker endpoint with custom inference code and a custom container for object detection and tracking. My goal is to perform real-time video analysis on videos stored in Amazon S3. However, I'm facing…
0
votes
0 answers

how vuforia assign position/cordinates to object in unity

I am using unity to track the position of two different objects and calculate distance between them. I have fixed my object A as my Word Center which mean that object A position is fixed. Now when camera detect object A vuforia assign position to…
wajid
  • 1
  • 3
0
votes
1 answer

How to fix - AttributeError: module 'cv2' has no attribute 'legacy'

I am running a facial recognition code that I have from a programmer a while back that I ran on google colab. Reason was that I didn't have gpu on my computer and colab has. I am not working with the programmer anymore and am now trying to run the…
zvith
  • 3
  • 2
0
votes
0 answers

MATLAB for object tracking

I have a task where I need to track a motorbike in a set of frames from a video. I have already used SIFT features to compare each frame with the motorbike object, but I need another technique to implement. All the techniques I have found use a…
0
votes
0 answers

StrongSORT, calling `class_id.int()` throws AttributeError: 'numpy.int64' object has no attribute 'int'

I am getting this error: Traceback (most recent call last): File "/Users/anika/PycharmProjects/ml_projects/flask_ui.py", line 101, in tracks = tracker.update(bboxes_xywh,pred.confidence,classes,og_frame) File…
Anika1683
  • 1
  • 2