Classification tool between martensite, spheroidite and pearlite
Micral (MICROstructure anALysis)
Classification module - core module
The aim is to distinguish between martensite, spheroidite and pearlite microstructure This tools output the category, and some others details as the accuracy. This tools doesn’t plot anything, it just return raw data that could be get by an user, or use with the graphic module
pip install micral_classify_core
In a python file or directly in the interpreter, type :
import micral_classify_core print(micral_classify_core.analyse(<your image>))
Where <your image> is the name of the image to analyse (with extension (ie jpg, png, bmp etc…)) The output is an unique value.
It’s also possible to send multiple image at once : in that case, provide a list of name : <your image> = [<image1>, <image2>, …] And the return will be also a list of all the results
Note that the image must be in the same directory than the python file (or in the current directory of the command)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size micral_classify_core-2.0.tar.gz (2.1 MB)||File type Source||Python version None||Upload date||Hashes View hashes|