Scroll Lens

by sharpmeowco.huggingface.sharpmeow/scroll-lens

  • Remote endpoint
  • 7 tools
  • APACHE-2.0

Tools

  • scroll_lens_download_cube Get a cube's model outputs as arrays: a .npz with the 3D DINO embeddings (float16, one 864-number unit vector per 8³ patch), the 3D ink and recto surface probabilities (uint8 per voxel) and the receipt (JSON). Name the cube as in inspect_cube. Read it with numpy.load(allow_pickle=False), or lens.load_npz from the Space's files.
  • scroll_lens_inspect_cube Look at one cube: three slice views through a point, with model overlays, and the cube's numbers.
  • scroll_lens_list_gallery List the ready-made gallery cubes. Inspecting or searching a gallery cube needs no GPU.
  • scroll_lens_list_scans List the twelve scans Scroll Lens can read, with their size and what each model saw of them in training.
  • scroll_lens_look For batch scripts: run the models on the cube around a point and return its .npz (see lens.save_npz). Uses the caller's ZeroGPU time; tools/build_gallery.py builds the gallery with it. Returns: The .npz file.
  • scroll_lens_random_point Pick a point on the papyrus of a scan (a window around it is at least 90% inside the scroll mask).
  • scroll_lens_search_cube Search a cube for places like some examples: the organizers' recipe, done by clicking on the page. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool

As the server's own listing gives them. We never call a tool.