hakaiinstitute / glintmaskgenerator Goto Github PK
View Code? Open in Web Editor NEWGenerate glint masks for RGB imagery
License: MIT License
Generate glint masks for RGB imagery
License: MIT License
Is your feature request related to a problem? Please describe.
GlintMaskGenerator does not work with Python 3.11
Describe the solution you'd like
Update the project to be able to support Python 3.11
Describe alternatives you've considered
I have been able to run GlintMaskGenerator successfully with Python 3.11, just by changing 2 np.float and 1 np.int references to float and int respectively.
Hello!
Just wanted to post this here. At the current state, GlintMaskTools does not support Python 3.11
However, as mentioned above, I was able to successfully run GlintMaskTools with Python 3.11 after some fairly minor changes.
Could this change be implemented? I can also give more information into what I changed within the current code if needed.
Hi team, thx for the quick reply last time. I also wanna quickly check with you if the intensity ratio algorithm is unavailable at the moment. I checked both GUI and python library, the RGBIntensityRatioMasker is not working. I tried to dig into the published article a bit but can't seem to find the difference of the threshold and intensity ration masker.
GlintMaskGenerator/glint_mask_generator/glint_algorithms.py
Lines 36 to 46 in 46e8a1f
Hi there, I was trying to test the mask in python 3.8, installed the library with pip install with no issue in a conda env on MacOS.
However, the test script doesn't give the output masks and there is no error messages printed either.
Any help would appreciated.
My test script is
from glint_mask_generator import RGBThresholdMasker
masker = RGBThresholdMasker(img_dir="/path/to/my/images/", mask_dir="/path/to/store/masks/",thresholds=(0.9,0.9,0.9), pixel_buffer=3)
masker.process(max_workers=3, callback=print, err_callback=print)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.