hjxdl 0.3.51__py3-none-any.whl → 0.3.52__py3-none-any.whl

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.
hdl/_version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.3.51'
21
- __version_tuple__ = version_tuple = (0, 3, 51)
20
+ __version__ = version = '0.3.52'
21
+ __version_tuple__ = version_tuple = (0, 3, 52)
@@ -184,13 +184,14 @@ class SceneDetector(object):
184
184
  def detect(
185
185
  self,
186
186
  out_dir,
187
- model
187
+ model,
188
+ grid_size=(3, 3)
188
189
  ):
189
190
  output_csv = detect_scenes_cli(self.video_file, out_dir)
190
191
  # df = pd.read_csv(output_csv, skiprows=1)
191
192
  # df = read_start_frames_from_csv(output_csv)
192
193
  starts = read_start_frames_from_csv(output_csv)
193
- extract_frames_with_cv(self.video_file, starts, out_dir)
194
+ extract_frames_with_cv(self.video_file, starts, out_dir, grid_size=grid_size)
194
195
  generate_json_template(starts, out_dir, self.temp_json)
195
196
  fill_descriptions(
196
197
  self.client,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hjxdl
3
- Version: 0.3.51
3
+ Version: 0.3.52
4
4
  Summary: A collection of functions for Jupyter notebooks
5
5
  Home-page: https://github.com/huluxiaohuowa/hdl
6
6
  Author: Jianxing Hu
@@ -1,5 +1,5 @@
1
1
  hdl/__init__.py,sha256=GffnD0jLJdhkd-vo989v40N90sQbofkayRBwxc6TVhQ,72
2
- hdl/_version.py,sha256=4Y6cd2DY1hNPUWCtn2Ja1GgQ1wjP_UrH5JJwZKIcMJ0,513
2
+ hdl/_version.py,sha256=TTEAfA1bdwKuHjROoE4SBtzNIV89YnQetQ_w7z1XVrU,513
3
3
  hdl/args/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  hdl/args/loss_args.py,sha256=s7YzSdd7IjD24rZvvOrxLLFqMZQb9YylxKeyelSdrTk,70
5
5
  hdl/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -143,11 +143,11 @@ hdl/utils/llm/visrag.py,sha256=0i-VrxqgiV-J7R3VPshu9oc7-rKjFJOldYik3HDXj6M,10176
143
143
  hdl/utils/schedulers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
144
  hdl/utils/schedulers/norm_lr.py,sha256=bDwCmdEK-WkgxQMFBiMuchv8Mm7C0-GZJ6usm-PQk14,4461
145
145
  hdl/utils/vis_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
146
- hdl/utils/vis_tools/scene_detect.py,sha256=KBoP5lWM4Ml-f_AhVW4jYpXRk2CHup5DMxgDQzMC1d4,6561
146
+ hdl/utils/vis_tools/scene_detect.py,sha256=L6TFMT15QHJuOIFcLFVI_RSSSjyTVZhBEqbeUez2auU,6608
147
147
  hdl/utils/weather/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
148
148
  hdl/utils/weather/weather.py,sha256=k11o6wM15kF8b9NMlEfrg68ak-SfSYLN3nOOflFUv-I,4381
149
- hjxdl-0.3.51.dist-info/licenses/LICENSE,sha256=lkMiSbeZHBQLB9LJEkS9-L3Z-LBC4yGnKrzHSG8RkPM,2599
150
- hjxdl-0.3.51.dist-info/METADATA,sha256=x4EX5klJHN_mSB9C7OwaXSuBmcjTemN8aKHhxVZRWHY,1332
151
- hjxdl-0.3.51.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
152
- hjxdl-0.3.51.dist-info/top_level.txt,sha256=-kxwTM5JPhylp06z3zAVO3w6_h7wtBfBo2zgM6YZoTk,4
153
- hjxdl-0.3.51.dist-info/RECORD,,
149
+ hjxdl-0.3.52.dist-info/licenses/LICENSE,sha256=lkMiSbeZHBQLB9LJEkS9-L3Z-LBC4yGnKrzHSG8RkPM,2599
150
+ hjxdl-0.3.52.dist-info/METADATA,sha256=gx_FF4lACt8rHaXkm_TplQpK_xf9rbZugqEEOZSsM0Q,1332
151
+ hjxdl-0.3.52.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
152
+ hjxdl-0.3.52.dist-info/top_level.txt,sha256=-kxwTM5JPhylp06z3zAVO3w6_h7wtBfBo2zgM6YZoTk,4
153
+ hjxdl-0.3.52.dist-info/RECORD,,
File without changes