Questions tagged [detection]
Detection is a general term that describes the action of finding an object, event or state during a process.
detection
2,190
questions
0
votes
0
answers
11
views
How do I create a gating function for a CNN-based object detection model
I was following this tutorial (https://tree.rocks/a-simple-way-to-understand-and-implement-object-detection-from-scratch-by-pure-cnn-36cc28143ca8) and tried to implement a gating function for my own ...
-2
votes
0
answers
31
views
how to open windows when ı run the computer_vision.py [closed]
ı didn't open the windows like frame,white_region,extended_midlane.. etc. I think ı wrote the codes correctly. but it can be mistake. I don't know.I'll share my codes with you.
this computer_vision.py
...
0
votes
0
answers
7
views
How can I make this while loop able to detect ancd classify objects only when they stops?
I have this while loop that takes a video and does the detection and clasification of some objects. I use yolov8 as a detector and efficientnetB3 as classifier. It works well but it does the detection ...
-1
votes
0
answers
14
views
Facing errors while executing the training process
This is my code snippet:
from transformers import TrainingArguments, Trainer
# Define training arguments
args = TrainingArguments(
output_dir='./content/drive/MyDrive/phase ii/result', ...
0
votes
0
answers
48
views
Is there a way to frame the detected image?
This project utilizes Apple's visionOS. Currently, the code generates a sphere that tracks detected images. I intend to enhance it by implementing image cropping functionality. This enhancement will ...
0
votes
0
answers
14
views
Measuring the distance between golfball and hole on the ground
I have a question regarding measuring a distance with code/an AI model. I'm new to coding and I would like to make a code which can detect the distance between a golfball and the hole on a picture. ...
0
votes
0
answers
40
views
image processing for ridges extraction from spectrogram
i would like to extract some ridges from an spectrogram:
I would like to extract, as cleanly as posible, the three separate red ridges that you can see in the previous espectrogram.
Working with ...
1
vote
0
answers
53
views
YOLOv8 pretrained model auto training 100 epochs problem in an EigenCAM XAI task
I have a problem with an XAI Task; i have a pretrained model with YOLOV8n and i want to use my .pt model to evaluate and detect a random image from my dataset.
I just want to detect objects in my ...
0
votes
0
answers
19
views
Adapt CascadetabNet code from mmdet 2 to mmdet 3
I am trying to adapt the CascadetabNet code for pytorch 2.0.
Apparently for this mmdet 3 is needed, so I installed it with mim
mim install "mmdet>=3.0.0rc7"
So the code looks like this
...
0
votes
0
answers
15
views
tensorflow object detection using model_main_tf2.py
model_main_tf2.py no longer works under TF2.15 and TF 2.16. There are compatibility issues like cannot import name 'estimator' from 'tensorflow.compat.v1 . One workaround is to use TF2.13 but it would ...
0
votes
0
answers
22
views
Audio Alert addition in yolov8 model
how to add a audio alert like 'pothole ahead' in yolov8 model when pothole is detected
i was able to do real time detection but not able to add an alert audio in it when pothole is detected
the code i ...
0
votes
0
answers
17
views
Is it possible to detect AR planes from 3D objects that we create in unity?
I know AR Foundation detects planes from the real physical environment but I was wondering if it was possible to detect AR planes from 3D objects that we create in the Unity Editor. For instance, I ...
0
votes
0
answers
22
views
Inconsistencies in detection and extraction of text using tesseract
I have provided the image from which I am trying to extract text from, using tesseract ocr.
Image for text detection
Along with that, I have also provided the result or the extracted text from the ...
1
vote
1
answer
44
views
Python Script Clicks on Blue Pixels Instead of Red
I’ve written a Python script that captures screenshots and clicks on specific pixels based on their color. The goal is to click on red pixels, but for some reason, it’s clicking on blue pixels instead....
-1
votes
1
answer
58
views
TypeError: object of type 'numpy.float32' has no len(). (Tracking people)
import cv2
import numpy as np
from ultralytics import YOLO
from deep_sort_realtime.deepsort_tracker import DeepSort
def count_unique_people(video_path):
model = YOLO('yolov8n.pt')
cap = cv2....