Commit 9b7b787ea8c51bbb49aa182816b92311a03dcaed
1 parent
9e22a297
Exists in
master
Altera .gitignore, insere exemplo do novo modelo JSON
Showing
4 changed files
with
109 additions
and
30 deletions
Show diff stats
.fuse_hidden000003cf00000002
| ... | ... | @@ -1,17 +0,0 @@ |
| 1 | -[2015-07-28 22:23:30.895] ERROR: | |
| 2 | - File name: libras.py | |
| 3 | - Function name: <module> | |
| 4 | - Line code: 23 | |
| 5 | - Type exception: ValueError | |
| 6 | - Message: Expecting value: line 1 column 1 (char 0) | |
| 7 | -[2015-07-28 22:25:38.946] INFO: All frames: 163 | |
| 8 | -[2015-07-28 22:28:30.474] INFO: Rename: '/media/truecrypt1/Lavid/wikilibras/tmp/wikilibras-core/users/4/teste circular_0001-0163.mp4' to: '/media/truecrypt1/Lavid/wikilibras/tmp/wikilibras-core/users/4/teste circular.mp4' | |
| 9 | -[2015-07-28 23:17:31.963] INFO: All frames: 163 | |
| 10 | -[2015-07-28 23:18:15.833] INFO: Rename: '/media/truecrypt1/Lavid/wikilibras/tmp/wikilibras-core/users/4/teste circular_0001-0163.mp4' to: '/media/truecrypt1/Lavid/wikilibras/tmp/wikilibras-core/users/4/teste circular.mp4' | |
| 11 | -[2015-07-28 23:35:35.942] INFO: All frames: 163 | |
| 12 | -[2015-07-28 23:35:38.782] ERROR: | |
| 13 | - File name: controller.py | |
| 14 | - Function name: <module> | |
| 15 | - Line code: 18 | |
| 16 | - Type exception: KeyboardInterrupt | |
| 17 | - Message: |
.gitignore
Makefile
| ... | ... | @@ -34,8 +34,5 @@ help: |
| 34 | 34 | @echo " \33[32;5m py \33[m \33[34;5m Executa: $(PYTHON) <$(CONTROLLER)> com parametros JSON do Makefile \33[m" |
| 35 | 35 | @echo "" |
| 36 | 36 | |
| 37 | -.clscr: | |
| 38 | - @echo -n "\033c" | |
| 39 | - | |
| 40 | -clean: .clscr | |
| 37 | +clean: | |
| 41 | 38 | @echo -n "\33[37;5mLimpando... \33[m "; rm -rf $(CACHE); echo "$(DONE)" | ... | ... |
param.json
| 1 | -'{"userId": 4,"rightHand": ["circular","perpendicular","horario",0.6,1,"conf_20","Ori_4","Pa_6"],"leftHand":["pontual","conf_10","Ori_3","Pa_3"],"facialExp": "Exp_6","signName":"teste_novo"}' | |
| 2 | - | |
| 3 | -'{"userId": 4,"rightHand": ["pontual","conf_20","Ori_4","Pa_6"],"leftHand":["circular","perpendicular","horario",0.6,1,"conf_20","Ori_4","Pa_6"],"facialExp": "Exp_6","signName":"pontual_direita"}' | |
| 4 | - | |
| 5 | -'{"userId": 4,"rightHand": ["semicircular","perpendicular","horario",0.6,0.5,"conf_20","Ori_4","Pa_6"],"leftHand":["pontual","conf_10","Ori_3","Pa_3"],"facialExp": "Exp_6","signName":"SemiCircular"}' | |
| 6 | - | |
| 7 | - | |
| 8 | -'{"userId": 4,"rightHand":[],"leftHand":["circular","perpendicular","horario",1,2,10,24,10],"facialExp":[6],"signName":"circular mão esquerda"}' | |
| 9 | - | |
| 1 | +{ | |
| 2 | + "userId": "lavid", | |
| 3 | + "nome_sinal": "Modelo JSON", | |
| 4 | + "velocidade_interpolacao": "lento|normal|rapido", | |
| 5 | + "movimentos": [ | |
| 6 | + { | |
| 7 | + "facial": { | |
| 8 | + "expressao": 21, | |
| 9 | + "duracao": "lento|normal|rapido" | |
| 10 | + }, | |
| 11 | + "mao_esquerda": { | |
| 12 | + "movimento": "semicircular", | |
| 13 | + "circular": { | |
| 14 | + "plano": "frente-esquerda|frente-cima|esquerda-cima", | |
| 15 | + "raio": "pequeno|medio|grande", | |
| 16 | + "lado_oposto": false, | |
| 17 | + "sentido_inverso": false, | |
| 18 | + "articulacao": 124, | |
| 19 | + "configuracao": 129, | |
| 20 | + "orientacao": 142 | |
| 21 | + }, | |
| 22 | + "semicircular": { | |
| 23 | + "plano": "frente-esquerda|frente-cima|esquerda-cima", | |
| 24 | + "raio": "pequeno|medio|grande", | |
| 25 | + "lado_oposto": false, | |
| 26 | + "sentido_inverso": false, | |
| 27 | + "articulacao": 124, | |
| 28 | + "configuracao": 129, | |
| 29 | + "orientacao": 142 | |
| 30 | + }, | |
| 31 | + "contato": { | |
| 32 | + "alisar": { | |
| 33 | + "movimento_orientacao": "perpendicular|paralelo|diagonal-direita|diagonal-esquerda", | |
| 34 | + "articulacao": 124, | |
| 35 | + "configuracao": 129, | |
| 36 | + "orientacao": 142 | |
| 37 | + }, | |
| 38 | + "cocar": { | |
| 39 | + "articulacao": 124, | |
| 40 | + "configuracao": 129, | |
| 41 | + "orientacao": 142 | |
| 42 | + }, | |
| 43 | + "tocar": { | |
| 44 | + "articulacao": 124, | |
| 45 | + "configuracao": 129, | |
| 46 | + "orientacao": 142 | |
| 47 | + }, | |
| 48 | + "riscar": { | |
| 49 | + "articulacao": 124, | |
| 50 | + "configuracao": 129, | |
| 51 | + "orientacao": 142 | |
| 52 | + } | |
| 53 | + }, | |
| 54 | + "contato_sugestao": { | |
| 55 | + "tipo": "cocar|riscar|tocar", | |
| 56 | + "mov_orientacao": "perpendicular|paralelo|diagonal-direita|diagonal-esquerda", | |
| 57 | + "articulacao": 124, | |
| 58 | + "configuracao": 129, | |
| 59 | + "orientacao": 142 | |
| 60 | + }, | |
| 61 | + "espiral": { | |
| 62 | + "plano": "frente-esquerda|frente-cima|esquerda-cima", | |
| 63 | + "raio": "pequeno|medio|grande", | |
| 64 | + "lado_oposto": false, | |
| 65 | + "sentido_inverso": false, | |
| 66 | + "articulacao": 124, | |
| 67 | + "configuracao": 129, | |
| 68 | + "orientacao": 142 | |
| 69 | + }, | |
| 70 | + "helicoidal": { | |
| 71 | + "plano": "frente-esquerda|frente-cima|esquerda-cima", | |
| 72 | + "raio": "pequeno|medio|grande", | |
| 73 | + "lado_oposto": false, | |
| 74 | + "sentido_inverso": false, | |
| 75 | + "articulacao": 124, | |
| 76 | + "configuracao": 129, | |
| 77 | + "orientacao": 142 | |
| 78 | + }, | |
| 79 | + "pontual": { | |
| 80 | + "articulacao": 124, | |
| 81 | + "configuracao": 129, | |
| 82 | + "orientacao": 142 | |
| 83 | + }, | |
| 84 | + "retilineo": { | |
| 85 | + "articulacao_inicial_id": 124, | |
| 86 | + "articulacao_final_id": 124, | |
| 87 | + "configuracao": 129, | |
| 88 | + "orientacao": 142 | |
| 89 | + }, | |
| 90 | + "senoidal": { | |
| 91 | + "direcao": "frente|esquerda|cima", | |
| 92 | + "direcao_oposta": false, | |
| 93 | + "eixo_fixo": "frente-tras|esquerda-direita|cima-baixo", | |
| 94 | + "comprimento_onda": "pequeno|medio|grande", | |
| 95 | + "articulacao": 124, | |
| 96 | + "configuracao": 129, | |
| 97 | + "orientacao": 142 | |
| 98 | + } | |
| 99 | + }, | |
| 100 | + "mao_direita": { | |
| 101 | + } | |
| 102 | + }, | |
| 103 | + { | |
| 104 | + } | |
| 105 | + ] | |
| 106 | +} | ... | ... |