I need haarcascade xml file for elephant detection. I’m working on elephant detection. Working on python. There are too many xml files that contains eye, face, human body but couldn’t find haar cascades for elephants. Do provide me useful links. Source: Python..
I am using TensorFlow 2.x object detection API. I have trained a deep learning model from the model zoo on my dataset. I am using Google Colab. After training now I want to evaluate my model. I am using coco detection metrics. I used the following script to evaluate my model, !python3 model_main_tf2.py –model_dir = ..
So here is my code: import tensorflow as tf import tensorflow_hub as hub import cv2 import numpy as np import matplotlib.pyplot as plt detector = hub.load(‘https://tfhub.dev/tensorflow/ssd_mobilenet_v2/2’) img = cv2.imread(‘istockphoto-1148205303-1024×1024.jpg’) (w,h) = img.shape[:2] print((w,h)) img = img.reshape(1, h, w, 3) detections = detector(img) min_conf = 0.5 img = img.reshape((w, h, 3)) for i in range(0, int(detections[‘num_detections’])): ..
I’m following object detection tutorial from [nicknochnack/RealTimeObjectDetection] The code is available in the tutorial github repo under Tensorflow/Tutorial.ipynb The error I get is at "step 8: Detect in Real-time" upon executing the while loop. ValueError Traceback (most recent call last) in () 4 5 input_tensor = tf.convert_to_tensor(np.expand_dims(image_np, 0), dtype=tf.float32) —-> 6 detections = detect_fn(input_tensor) 7 ..
I have an image of cells which I have thresholded and also detected the cells (using cv2). I would like to create an array with values True or False to show whether each component touches the boundaries of the image (True) or not (False). import cv2 as cv # Read the image you want connected ..
I am using Tensorflow’s object detection api to train ssd model. I am using for that Tensorflow 1.15 in google colab and google drive for storage. As the training went the oldest checkpoints gets deleted but my problem is that google drive has deleted .data file of the latest checkpoint and I only have .meta ..
I have a camera (calibrated, warped with OpenCV) facing a flat surface top down. The surface will be a single solid color. I want to be able to identify objects lying on the surface and determine what they are. The objects are metal parts varying from 15mm to 100mm made of the same alloy (so ..
I need a little help if it’s possible. I have a graduation project to do, whose subject "Semantic image segmentation based on Unet" I have to work with Pascal VOC 2012 dataset, however I don’t know how to do it, do I manually select images for the train & val and convert them into numpy ..
I am interested in OpenCV as an amateur. I have an object detection code with the SSD_Mobilet method. I have object information in the objectInfo variable. How can I get this information as a sound alert? Also, I carry out my work with Raspberry Pi 4. Thank you all in advance. from cv2 import cv2 ..
I followed the famous Yolo open source example (link shown below) and one class images and annotation files on Colab and tried to train a Yolo object detection model. However, there is an error below after starting to run the train function at the beginning. Can anyone help to indicate the directions how to fix ..