vitrivr / cineast

Cineast is a multi-feature content-based mulitmedia retrieval engine. It is capable of retrieving images, audio- and video sequences as well as 3d models based on edge or color sketches, textual descriptions and example objects.
MIT License
57 stars 50 forks source link

Distribution / Deployment for Extraction: OCRSearch resource location #357

Open sauterl opened 1 year ago

sauterl commented 1 year ago

Since I cannot currently look into this issue deeper, I put this here as a note:

Currently, the following steps produce an unusable distribution:

  1. Build distro: /.gradlew getExternalFiles :cineast-runtime:distZip
  2. try to extract using feature OCRSearch.

Since the underlying models are loaded somewhat hardcoded from $pwd/resources..., the TFhub models cannot be resolved properly.

Solution sketches:

lucaro commented 1 year ago

I'm almost sure that's true for all features that use external resources. While this is not the most user-friendly thing for sure, I guess it is rather trivial to start the application from the appropriate working directory.