mb-rag 1.0.132__tar.gz → 1.0.134__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mb-rag might be problematic. Click here for more details.
- {mb_rag-1.0.132 → mb_rag-1.0.134}/PKG-INFO +1 -1
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/utils/bounding_box.py +2 -2
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/version.py +1 -1
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag.egg-info/PKG-INFO +1 -1
- {mb_rag-1.0.132 → mb_rag-1.0.134}/README.md +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/__init__.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/chatbot/__init__.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/chatbot/basic.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/chatbot/chains.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/chatbot/prompts.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/rag/__init__.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/rag/embeddings.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/utils/__init__.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag/utils/extra.py +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag.egg-info/SOURCES.txt +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag.egg-info/dependency_links.txt +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag.egg-info/requires.txt +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/mb_rag.egg-info/top_level.txt +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/pyproject.toml +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/setup.cfg +0 -0
- {mb_rag-1.0.132 → mb_rag-1.0.134}/setup.py +0 -0
|
@@ -157,8 +157,8 @@ class BoundingBoxProcessor:
|
|
|
157
157
|
raise ValueError(f"Invalid bounding box format for key {key}. Expected [ymin, xmin, ymax, xmax]")
|
|
158
158
|
|
|
159
159
|
if google_bb:
|
|
160
|
-
value = [int(value[0] * img.shape[
|
|
161
|
-
int(value[2] * img.shape[
|
|
160
|
+
value = [int(value[0] * img.shape[0] * 0.001), int(value[1] * img.shape[1]* 0.001),
|
|
161
|
+
int(value[2] * img.shape[0] * 0.001), int(value[3] * img.shape[1] * 0.001)]
|
|
162
162
|
|
|
163
163
|
self._cv2.rectangle(
|
|
164
164
|
img=img,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|