image-classification-python icon indicating copy to clipboard operation
image-classification-python copied to clipboard

Using global feature descriptors and machine learning to perform image classification

Results 13 image-classification-python issues
Sort by recently updated
recently updated
newest added

Let's say there are three different types of flowers in a single image. Now, how can we identify the various flowers present in that image individually?

C:\Users\vcvis\Desktop\image-classification-python-master>python global.py Could not import submodules (exact error was: DLL load failed: The specified module could not be found.). There are many reasons for this error the most common one...

Code:: # read the image and resize it to a fixed-size image = cv2.imread(file) image = cv2.resize(image, fixed_size) Error::: --------------------------------------------------------------------------- error Traceback (most recent call last) in 1 # read...

Hi Sir Gogul, thanks for such a detailed post on image classification. Everything works fine in global.py till the code to save the feature vectors using HDF5 below is the...

The following error: ValueError: Expected 2D array, got 1D array instead Using Python 3.7.3 was presented in the train_test.py code. I solved this, adding the following sentence before obtaining rescaled_feature...

Dear gogul, I am having an error of "C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function cv::resize" and " in ()" when I am executing this...

The folder creation won't work on Linux. Consider renaming `\\` for `/`. Otherwise, the result will be something like `'dataset\train\crocus'`. It would be recommended to use `pathlib`. :)

In train_test.py, line 30 num_trees is assigned for n_estimators, which is not defined. Is it ok to use default value for n_estimators?

I am trying to save the output files as .h5 files as instructed, but I keep getting the error "TypeError: Object dtype dtype('O') has no native HDF5 equivalent" Anyone know...