Git Product home page Git Product logo

Comments (7)

alanaberdeen avatar alanaberdeen commented on June 29, 2024 1

Hi @rcasero,

Glad this all worked out. You are exactly right in your findings.
I'll try to write up some more thorough docs asap that will reference all these little things!

from aida.

alanaberdeen avatar alanaberdeen commented on June 29, 2024 1

@rcasero
Started throwing together a wiki. Feel free to contribute to anything you find that needs a little more explanation!

from aida.

rcasero avatar rcasero commented on June 29, 2024 1

@alanaberdeen That's a great idea, I will

from aida.

rcasero avatar rcasero commented on June 29, 2024

Answer to first question is that no file editing is needed.

When the server starts, it reads the image directory for new images, and automatically updates ~/Software/AIDA/dist/data/images.json when new images are added to ~/Software/AIDA/dist/data/images/ and the page is reloaded, e.g. as

["example.jpg","foo.jpg"]

from aida.

rcasero avatar rcasero commented on June 29, 2024

Answer to second question is that .ndpi files cannot be read by AIDA.

You need to install libvips with

sudo apt install libvips

and then convert the file with e.g.

vips VipsForeignSaveDz file.ndpi ~/Software/AIDA/dist/data/images/file

This will create a '.dzi' file and the corresponding directory of image tiles

KLF14-B6NTAC-MAT-18.2b  58-16 B3 - 2016-02-03 11.01.43.dzi
KLF14-B6NTAC-MAT-18.2b  58-16 B3 - 2016-02-03 11.01.43_files

from aida.

BalachandraTejas avatar BalachandraTejas commented on June 29, 2024

Sorry for commenting on a closed issue, but my issue is closely related.
While I run in Development mode, no images are listed. Showing "No data available"
Please tell where I should put the images for running in development mode.

from aida.

alanaberdeen avatar alanaberdeen commented on June 29, 2024

Hey @BalachandraTejas, no problem.

The steps are essentially the same as those laid out here in the ReadMe

  1. Clone the repository
  2. cd to /dist
  3. Install dependencies via npm install
  4. Add the images you want to annotate to the /dist/data/images directory.
  5. Run the nodeJS local application via node aidaLocal.js

Now if you want to run an additional hot-reloading development server...

  1. cd to AIDA
  2. Install dependencies via npm install
  3. start a hot-reloading dev server with npm run serve

This should leave you with a development build running at http://localhost:8080/ and referencing an expressJS backend running at http://localhost:3000/

from aida.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.