OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.48k stars 2.18k forks source link

Image prediction from multiple images #750

Open 48naveen opened 2 years ago

48naveen commented 2 years ago

Hi, Previously I used to do multiple image prediction with the following code .

from imageai.Prediction.Custom import CustomImagePrediction prediction = CustomImagePrediction() prediction.setModelTypeAsResNet() prediction.setModelPath(model_path) prediction.setJsonPath(jsonpath) prediction.loadModel(num_objects=3) all_images_array = [] all_images_array.append(images)# Append all images to this python list results_array = prediction.predictMultipleImages(all_images_array, result_count_per_image=1,input_type="array")

It used to work perfectly fine .

But with the latest version , I am not able to find 'predictMultipleImages' function . Please do help me in this matter.