File size: 1,317 Bytes
c03c18a
 
 
 
 
 
 
 
 
 
4a5e38f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c03c18a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
title: Server
emoji: 🦀
colorFrom: red
colorTo: blue
sdk: docker
pinned: false
license: mit
---

# SignBridge Server

Server/Backend for SignBridge App

# Docs

* Base URL

```
https://bipinkrish-signbridge.hf.space
```

### 1. Text to Sign

Takes a spoken text as input and returns fsw string which represents ham notation.

* Link

```
<base_url>/text2sign
```

* Params
  
```
text
```

* Example

```
https://bipinkrish-signbridge.hf.space/text2sign?text=today
```

```
{"sign": "M530x518S19a30500x482S19a38465x481S22f04509x506S22f14467x504"}
```

### 2. Sign to Image

Takes a fsw string as input and returns image of ham notation.

* Link

```
<base_url>/sign2img
```

* Params
  
```
sign
line_color (Optional)
```

* Example

```
https://bipinkrish-signbridge.hf.space/sign2img?sign=M530x518S19a30500x482S19a38465x481S22f04509x506S22f14467x504&line_color=10,23,122,255
```

![sign2img](https://github.com/SignBridgeApp/server/assets/87369440/542e93ed-3138-47b2-a777-4aa0739b6cf7)

### 3. Text to Gloss

Takes a spoken english text as input and returns simplified gloss of it.

* Link

```
<base_url>/text2gloss
```

* Params
  
```
text
```

* Example

```
https://bipinkrish-signbridge.hf.space/text2gloss?text=membership%20of%20parliament%20see%20minutes
```

```
{"gloss":"parliament see minute"}
```