comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 2070:82dbe2729b69 deep-learning

separation of deep learning resources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 May 2023 17:19:50 +0200
parents d4e769a0961f
children fdb012c86a75
comparison
equal deleted inserted replaced
2069:5956d7357098 2070:82dbe2729b69
4153 context_->SetDicomCacheSize(128 * 1024 * 1024); // 128MB 4153 context_->SetDicomCacheSize(128 * 1024 * 1024); // 128MB
4154 4154
4155 framesCache_.reset(new FramesCache); 4155 framesCache_.reset(new FramesCache);
4156 osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations); 4156 osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations);
4157 4157
4158 deepLearningWorker_ = emscripten_create_worker("DeepLearningWorker.js"); 4158 deepLearningWorker_ = emscripten_create_worker("../stone-deep-learning/DeepLearningWorker.js");
4159 emscripten_call_worker(deepLearningWorker_, "Initialize", NULL, 0, DeepLearningCallback, NULL); 4159 emscripten_call_worker(deepLearningWorker_, "Initialize", NULL, 0, DeepLearningCallback, NULL);
4160 4160
4161 DISPATCH_JAVASCRIPT_EVENT("StoneInitialized"); 4161 DISPATCH_JAVASCRIPT_EVENT("StoneInitialized");
4162 } 4162 }
4163 4163