HendricksJudy
HendricksJudy
Fixes #777 Replace `require` statements with `import` statements in Webpack configuration files to resolve the critical dependency warning and blank page issue. * **`demo/configs/webpack/common.js`** - Replace `require` statements with `import`...
Fixes #770 Add granularity parameter to control segmented object granularity. * **segment_anything/automatic_mask_generator.py** - Add `granularity` parameter to `SamAutomaticMaskGenerator` class constructor. - Update `generate` method to blend smaller segments into larger...
Add video segmentation functionality to the project. * **segment_anything/predictor.py** - Add `segment_video` function to read video frames and segment objects using `SamPredictor`. - Import `cv2` for video processing. * **demo/src/App.tsx**...
Fixes #135 Add support for WebP images. * **demo/configs/webpack/common.js** - Add `webp` to the `test` array in the rule for image files. - Update the `image-webpack-loader` configuration to support WebP...
Fixes #752 Add deterministic resizing method to `ResizeLongestSide` class and update relevant scripts and notebooks. * Add `apply_image_deterministic` method to `ResizeLongestSide` class in `segment_anything/utils/transforms.py` to ensure deterministic resizing using `torch.nn.functional.interpolate`...
This pull request introduces several improvements to the Python package workflow and documentation for the OvIntelligence project. The most significant changes include updating the installation steps to simplify dependencies, enhancing...