Here are some files for converting SAM models to make it available in the BioEngine (local deployment: https://github.com/oeway/bioengine/).
The tree strcture for the model repository is like this:
├── sam-backbone
│ ├── 1
Here are some files for converting SAM models to make it available in the BioEngine (local deployment: https://github.com/oeway/bioengine/).
The tree strcture for the model repository is like this:
├── sam-backbone
│ ├── 1
| <docs lang="markdown"> | |
| [TODO: write documentation for this plugin.] | |
| </docs> | |
| <config lang="json"> | |
| { | |
| "name": "React UI Plugin", | |
| "type": "window", | |
| "tags": [], | |
| "ui": "", |
| <docs lang="markdown"> | |
| [TODO: write documentation for this plugin.] | |
| </docs> | |
| <config lang="json"> | |
| { | |
| "name": "stlite Demo", | |
| "type": "window", | |
| "tags": [], | |
| "ui": "", |
| import asyncio | |
| import threading | |
| from concurrent.futures import ThreadPoolExecutor | |
| from imjoy_rpc.hypha import connect_to_server | |
| import time | |
| class BackgroundServer: | |
| def __init__(self, server_url): | |
| self.loop = None |
| # pip install imjoy-rpc numpy qrcode[pil] | |
| # Code adopted from https://github.com/Khalil-Youssefi/qrcodeT/tree/master | |
| # Released under MIT license | |
| import qrcode | |
| import numpy as np | |
| def qrcode2text(img): | |
| bindata = np.array(img)[::10,::10] + 0 | |
| if bindata.shape[0] % 2 != 0: |
Hypha is a server software for creating computational platforms consists of computational and user interface components.
Hypha server act as a hub for connecting different components through imjoy-rpc.
pip install hypha
| """ | |
| This module is an example of a barebones QWidget plugin for napari | |
| It implements the Widget specification. | |
| see: https://napari.org/plugins/guides.html?#widgets | |
| Replace code below according to your needs. | |
| """ | |
| import asyncio | |
| from typing import TYPE_CHECKING |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>ESP32 OV2460</title> | |
| <style> | |
| body{font-family:Arial,Helvetica,sans-serif;background:#181818;color:#EFEFEF;font-size:16px}h2{font-size:18px}section.main{display:flex}#menu,section.main{flex-direction:column}#menu{display:none;flex-wrap:nowrap;min-width:340px;background:#363636;padding:8px;border-radius:4px;margin-top:-10px;margin-right:10px}#content{display:flex;flex-wrap:wrap;align-items:stretch}figure{padding:0;margin:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:0;margin-inline-end:0}figure img{display:block;width:100%;height:auto;border-radius:4px;margin-top:8px}@media (min-width: 800px) and (orientation:landscape){#content{display:flex;flex-wrap:nowrap;align-items:stretch}figure img{display:block;max-width:100%;max-height:calc(10 |
| <docs lang="markdown"> | |
| [TODO: write documentation for this plugin.] | |
| </docs> | |
| <config lang="json"> | |
| { | |
| "name": "CellPoseDemo", | |
| "type": "web-python", | |
| "version": "0.1.0", | |
| "description": "A demo plugin for running cell-pose segmentation", |