Server/Backend for SignBridge App
- Use Docker for easy deployment.
- Needs
python3.8
, no other version works becuase it is dependent ontorch=1.1.0
which is used bytext2sign
- more customizations or control on API is possible
- Base URL
https://bipinkrish-signbridge.hf.space
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"}
Takes a gloss text as input and returns fsw string which represents ham notation.
- Link
<base_url>/gloss2sign
- Params
gloss
- Example
https://bipinkrish-signbridge.hf.space/gloss2sign?gloss=today
{"sign": "M530x518S19a30500x482S19a38465x481S22f04509x506S22f14467x504"}
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
{"img": img_base64}
Takes a gloss text as input and returns combined pose vile visalized as image and words which are considerd.
- Link
<base_url>/gloss2pose
- Params
gloss
- Example
https://bipinkrish-signbridge.hf.space/gloss2pose?gloss=1 2 3
{"img": img_base64, "words": ["one", "two", "three"]}