We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eaddd7 commit 93cf901Copy full SHA for 93cf901
1 file changed
examples/command-line/test_DecodeFile.py
@@ -37,9 +37,15 @@ def DecodeFile(fileName):
37
38
if __name__ == "__main__":
39
40
-#you can change the following two variables' value to your own value.
+#you can change the following three variables' value to your own value.
41
licenseKey = "Input your own license"
42
fileName = r"F:\Work\TestVideoOrImage\IN1910101311400312803-01.jpg"
43
+ inputFileName = r"F:\Work\InputFile\templatesettings.json"
44
45
InitLicense(licenseKey)
46
+ errorCode = dbr.InitRuntimeSettingsByJsonFile(inputFileName)
47
+ if errorCode != 0:
48
+ print("Failed!")
49
+ else:
50
+ print("Successful")
51
DecodeFile(fileName)
0 commit comments