All Projects → HandsomeBrotherShuaiLi → ImageCluster

HandsomeBrotherShuaiLi / ImageCluster

Licence: Apache-2.0 license
Image cluster 图像聚类

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ImageCluster

Speech signal processing and classification
Front-end speech processing aims at extracting proper features from short- term segments of a speech utterance, known as frames. It is a pre-requisite step toward any pattern recognition problem employing speech or audio (e.g., music). Here, we are interesting in voice disorder classification. That is, to develop two-class classifiers, which can discriminate between utterances of a subject suffering from say vocal fold paralysis and utterances of a healthy subject.The mathematical modeling of the speech production system in humans suggests that an all-pole system function is justified [1-3]. As a consequence, linear prediction coefficients (LPCs) constitute a first choice for modeling the magnitute of the short-term spectrum of speech. LPC-derived cepstral coefficients are guaranteed to discriminate between the system (e.g., vocal tract) contribution and that of the excitation. Taking into account the characteristics of the human ear, the mel-frequency cepstral coefficients (MFCCs) emerged as descriptive features of the speech spectral envelope. Similarly to MFCCs, the perceptual linear prediction coefficients (PLPs) could also be derived. The aforementioned sort of speaking tradi- tional features will be tested against agnostic-features extracted by convolu- tive neural networks (CNNs) (e.g., auto-encoders) [4]. The pattern recognition step will be based on Gaussian Mixture Model based classifiers,K-nearest neighbor classifiers, Bayes classifiers, as well as Deep Neural Networks. The Massachussets Eye and Ear Infirmary Dataset (MEEI-Dataset) [5] will be exploited. At the application level, a library for feature extraction and classification in Python will be developed. Credible publicly available resources will be 1used toward achieving our goal, such as KALDI. Comparisons will be made against [6-8].
Stars: ✭ 155 (+761.11%)
Mutual labels:  feature-extraction
Piccante
The hottest High Dynamic Range (HDR) Library
Stars: ✭ 195 (+983.33%)
Mutual labels:  feature-extraction
Pliers
Automated feature extraction in Python
Stars: ✭ 243 (+1250%)
Mutual labels:  feature-extraction
Dgm
Direct Graphical Models (DGM) C++ library, a cross-platform Conditional Random Fields library, which is optimized for parallel computing and includes modules for feature extraction, classification and visualization.
Stars: ✭ 157 (+772.22%)
Mutual labels:  feature-extraction
Apkfile
Android app analysis and feature extraction library
Stars: ✭ 190 (+955.56%)
Mutual labels:  feature-extraction
Tsfel
An intuitive library to extract features from time series
Stars: ✭ 202 (+1022.22%)
Mutual labels:  feature-extraction
Color recognition
🎨 Color recognition & classification & detection on webcam stream / on video / on single image using K-Nearest Neighbors (KNN) is trained with color histogram features by OpenCV.
Stars: ✭ 154 (+755.56%)
Mutual labels:  feature-extraction
tsflex
Flexible time series feature extraction & processing
Stars: ✭ 252 (+1300%)
Mutual labels:  feature-extraction
Variational Ladder Autoencoder
Implementation of VLAE
Stars: ✭ 196 (+988.89%)
Mutual labels:  feature-extraction
Bert Attributeextraction
USING BERT FOR Attribute Extraction in KnowledgeGraph. fine-tuning and feature extraction. 使用基于bert的微调和特征提取方法来进行知识图谱百度百科人物词条属性抽取。
Stars: ✭ 224 (+1144.44%)
Mutual labels:  feature-extraction
Emotion Recognition Using Speech
Building and training Speech Emotion Recognizer that predicts human emotions using Python, Sci-kit learn and Keras
Stars: ✭ 159 (+783.33%)
Mutual labels:  feature-extraction
Tf featureextraction
Convenient wrapper for TensorFlow feature extraction from pre-trained models using tf.contrib.slim
Stars: ✭ 169 (+838.89%)
Mutual labels:  feature-extraction
Face.evolve.pytorch
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
Stars: ✭ 2,719 (+15005.56%)
Mutual labels:  feature-extraction
Machine Learning Workflow With Python
This is a comprehensive ML techniques with python: Define the Problem- Specify Inputs & Outputs- Data Collection- Exploratory data analysis -Data Preprocessing- Model Design- Training- Evaluation
Stars: ✭ 157 (+772.22%)
Mutual labels:  feature-extraction
Computer Vision Guide
📖 This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (+1255.56%)
Mutual labels:  feature-extraction
Isee
R/shiny interface for interactive visualization of data in SummarizedExperiment objects
Stars: ✭ 155 (+761.11%)
Mutual labels:  feature-extraction
Tsfeatures
Time series features
Stars: ✭ 203 (+1027.78%)
Mutual labels:  feature-extraction
Radiomics-research-by-using-Python
Radiomics (here mainly means hand-crafted based radiomics) contains data acquire, ROI segmentation, feature extraction, feature selection, machine learning modeling, and stastical analysis.
Stars: ✭ 27 (+50%)
Mutual labels:  feature-extraction
Deep Learning Machine Learning Stock
Stock for Deep Learning and Machine Learning
Stars: ✭ 240 (+1233.33%)
Mutual labels:  feature-extraction
Amazing Feature Engineering
Feature engineering is the process of using domain knowledge to extract features from raw data via data mining techniques. These features can be used to improve the performance of machine learning algorithms. Feature engineering can be considered as applied machine learning itself.
Stars: ✭ 218 (+1111.11%)
Mutual labels:  feature-extraction

ImageCluster


The ImageCluster project is aimed to cluster unlabeled images based on the SOTA models.
It designed for engineers and students to fast feature maps and cluster the image according to your cluster-algo hyperparameter.
This flow contains two main steps:

  1. Use SOTA pre-trained models(egs:VGG16,VGG19,ResNet50 ) on imagenet to extract feature maps.
    You can choose the bone model and resize the images(default size is (224,224)) as you like.
  2. Choose a clustering algorithm (eg: kmeans ) to label these feature maps. Therefore the images can be labeled to K classes.
    So,the data flow is shown as below
    Image->array->feature map->labeling(cluster algorithm)

Getting Started

Installing

  • system: win10/Ubuntu
  • python:3.5+
  • Clone or download the repository
  • Commands to install requirements via Conda or pip wheels
    pip install -r requirements.txt

Usage

You can import this model script to your local the same-level python scripts.
egs:

from model import ImageCluster
m=ImageCluster(
    base_model='vgg16',#your feature map extractor model
    resorted_img_folder='resorted_data',#the folder for clustered images
    cluster_algo='kmeans',#cluster algorithm
    maxK=30,#the max k num is 30, which means ImageCluster calculates every k in range(2,30+1)
)
#calculate the feature maps
m.get_feature_map(
    resize_shape=(224,224) # (w,h)  a tuple for resizing the input images to the same shape images
)
#clustering for feature maps
m.imagecluster()
Then, you can see the cluster sse value map, which draws a line shows each sse value for the k in range [2,maxK].  
Elbow criterion is applied to choose the best K for your cluster
As we can see, 21 may be the best cluster number for this dataset.  
So,we can call the resorted_img function to label the images under different folders
m.resorted_img(
    selected_k_num=21# a int number in range[2,maxK]
)
In the end, the neatly arranged label folders and the image under these folders are shown below.  

Authors

  • Chris Li - all work

License

This project is licensed under the Apache License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].