Questions tagged [imageai]

Use for questions about using ImageAI, a python library to build applications and systems with self-contained Deep Learning and Computer Vision .

Use for questions about using ImageAI, a python library to build applications and systems with self-contained Deep Learning and Computer Vision.

Use together with .

Related Tags

Links

This tag is being discussed in Do we need [imageai]?

69 questions
1
vote
0 answers

AttributeError: 'VideoObjectDetection' object has no attribute 'detectObjectsFromImage'

Try to create object detection program using ImageAI.There is detectObjectsFromImage command on ImageAI documentation but when i try to use this AttributeError: 'VideoObjectDetection' object has no attribute 'detectObjectsFromImage' Code: from…
1
vote
1 answer

Little to No GPU Usage during Custom Object Detection Training After Recent ImageAI Update

I have trained a custom object detection model using 750 images using ImageAI on Google Colab Pro about a month ago using TensorFlowGPU 1.13 and have roughly 30min/epoch training time. Now, when I train using the same dataset but with TensorFlowGPU…
1
vote
2 answers

ImageAI/Keras can't read ResNet model on Raspberry Pi but works on Windows

About I'm trying to load and use an ImageAI ResNet model and then access it via a Flask server. More details about the project are on my Github repository. My code runs well on Windows but not on Linux. I cloned all of my files directly to a…
Gabriel Pizarro
  • 400
  • 4
  • 15
1
vote
0 answers

How to use YoloV3 object detection model on a live stream video using CPU

I am having a problem with catching up while doing object detection with a live stream video using YoloV3 on a CPU. It is hapenning because FPS rate on CPU is around 3-4, because detections are taking too much time and live stream video speed is…
1
vote
1 answer

i have a error when im using imageai package to do custom product detection

I am participating in a competition regarding product detection. I am using the imageai package and I followed the instructions pretty well my code: from imageai.Prediction.Custom import ModelTraining model_trainer =…
Wayne wong
  • 13
  • 3
1
vote
0 answers

Tensorflow ImageAI GPU usage

I use imageai to crop my car dataset for cnn training. My code is quite simple, I have two GPUs and accoding to tensorflow logs and nvidia-smi output, it uses both of my GPUs, but at the same time it doesn't use all available memory import os import…
1
vote
1 answer

Multiple object detection using a custom model in Python and imageai

I have trained my own model with my own dataset of images for object recognition in an image, but it doesn't seem to recognize all the objects. I only have 2 objects (images of different ways a person types a specific letter of the alphabet). For…
user10882820
1
vote
1 answer

Running an ImageAI training returns always 0 loss

I am trying the typical hololens tutorial to use Tensorflow, Keras, and ImageAI to be able to train a new custom object detection. The training is running, but it is always returning something like: loss: 0.0000e+00 - yolo_layer_1_loss: 0.0000e+00…
1
vote
0 answers

How to Extract the Detected Objects in a Video using ImageAI

I have used ImageAI to detect vehicles in a video and my requirement is to save the detected vehicles in a sperate folder as images as the video is being processed. The code which I have used is given. from imageai.Detection import…
1
vote
0 answers

Runtime error for ops.EagerTensor(value, ctx.device_name, dtype) in python

When running the code: code ops.EagerTensor(value, ctx.device_name, dtype) It gives an error message: return ops.EagerTensor(value, ctx.device_name, dtype) RuntimeError: /job:localhost/replica:0/task:0/device:GPU:0 unknown device. I also print the…
0
votes
0 answers

OpenCV error when using Live Feed for imageAI tutorial

I am looking to complete a simple live feed object detection tutorial from the 'imageai' documentation (https://imageai.readthedocs.io/en/latest/video/index.html). As per tutorial the code is following: from imageai.Detection import…
starship
  • 53
  • 1
  • 6
0
votes
0 answers

picamera2 interfacing with ImageAI yolov3 ValueError: Ensure you specified correct input image, input type, output type and/or output image path

So i am using a raspberry pi 4 8gb running RPi OS and i'm having trouble with the yolov3 module of ImageAI 2.1.6. It's not accepting my picamera2 images. I can't seem to find a solution to my issue. When i use cv2 as the camera on my regular…
0
votes
0 answers

How do I convert my pretrained model in .h5 to .pt format so as to run my imageai custom detection model?

I was re running my model after a month, and all the dependencies have changed. It demands .pt file for weights. I have tried converting the .xml annotations to .txt annotations but no chnage occured.
sb2002
  • 1
  • 2
0
votes
1 answer

Drawing bounding box with ImageAI

I am using ImageAI to draw bounding boxes on images. from imageai.Detection import ObjectDetection detector = ObjectDetection() detector.setModelTypeAsRetinaNet() # Load model model_path =…
Alena
  • 15
  • 5
0
votes
1 answer

the imageai module requires Pytorch to work in Python3.10

I am trying to install imageai in Python3.10. It is installed but when I import the module imageai, it requires installing pytorch and torchvision: Dependency error!!! PyTorch and TorchVision are not installed. Please see installation instructions…
M A
  • 11
  • 1