sant智能修改
This commit is contained in:
@@ -308,16 +308,6 @@ export const SHOOT_AND_SAVE_PICTURE = {
|
||||
this.appendValueInput('direct')
|
||||
.appendField(Blockly.Msg.MIXLY_SHOOT_AND_SAVE_PICTURE)
|
||||
.appendField(Blockly.Msg.LISTS_SET_INDEX_SET + Blockly.Msg.MICROPYTHON_HUSKYLENS_SAVE_AS + Blockly.Msg.MIXLY_MICROBIT_PY_STORAGE_THE_PATH);
|
||||
this.appendValueInput('quality')
|
||||
.appendField(Blockly.Msg.MIXLY_IMAGE_QUALITY);
|
||||
this.appendDummyInput('')
|
||||
.appendField(Blockly.Msg.MIXLY_ROTATION_ANGLE)
|
||||
.appendField(new Blockly.FieldDropdown([
|
||||
['0','0'],
|
||||
['90','90'],
|
||||
['180','180'],
|
||||
['270','270']
|
||||
]),'angle');
|
||||
this.setPreviousStatement(true);
|
||||
this.setNextStatement(true);
|
||||
this.setInputsInline(true);
|
||||
@@ -527,6 +517,9 @@ export const AI_CAMERA_INIT_FACERECOGNIZE = {
|
||||
this.appendValueInput('SUB')
|
||||
.appendField(Blockly.Msg.MIXLY_MICROPYTHON_SOCKET_MAKE)
|
||||
.setCheck("var");
|
||||
this.appendDummyInput("")
|
||||
.appendField(Blockly.Msg.MIXLY_SETUP + Blockly.Msg.LISTS_SET_INDEX_INPUT_TO)
|
||||
.appendField(Blockly.Msg.MIXLY_AipFace);
|
||||
this.appendDummyInput("")
|
||||
.appendField(Blockly.Msg.MIXLY_WIDTH)
|
||||
.appendField(new Blockly.FieldDropdown([
|
||||
@@ -550,9 +543,6 @@ export const AI_CAMERA_INIT_FACERECOGNIZE = {
|
||||
["240px","240"],
|
||||
["120px","120"]
|
||||
]),"height");
|
||||
this.appendDummyInput("")
|
||||
.appendField(Blockly.Msg.MIXLY_SETUP + Blockly.Msg.LISTS_SET_INDEX_INPUT_TO)
|
||||
.appendField(Blockly.Msg.MIXLY_AipFace);
|
||||
this.appendValueInput("PATH")
|
||||
.appendField(Blockly.Msg.PATH_OF_FACE_DATABASE);
|
||||
this.setInputsInline(true);
|
||||
@@ -802,8 +792,7 @@ export const REGISTER_NEW_FACE = {
|
||||
.appendField(Blockly.Msg.register_a_new_face_in_the_database);
|
||||
this.appendValueInput("NAME")
|
||||
.appendField(Blockly.Msg.MICROPYTHON_HUSKYLENS_NAME);
|
||||
this.setPreviousStatement(true);
|
||||
this.setNextStatement(true);
|
||||
this.setOutput(true)
|
||||
this.setInputsInline(true);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user