1 | initial version |
Error in Assertion failed (!empty()) mean. the file is empty becasue you didn't add to data parameter.
def callback(self,**data**)
But how do you called function of callback
This doesn't do anything.
if __name__ == '__main__':
main(sys.argv)
You need filename like this:
if __name__ == '__main__':
x= image_converter()
filename = x.callback(filename)
2 | No.2 Revision |
Error in Assertion failed (!empty()) mean. the file is empty becasue you didn't add to data parameter.
def callback(self,**data**)
callback(self,data)
But how do you called function of callback
This doesn't do anything.
if __name__ == '__main__':
main(sys.argv)
You need filename like this:
if __name__ == '__main__':
x= image_converter()
filename = x.callback(filename)
3 | No.3 Revision |
Error in Assertion failed (!empty()) mean. the file is empty becasue you didn't add to data parameter.
def callback(self,data)
But how do you called function of callback
This doesn't do anything.
if __name__ == '__main__':
main(sys.argv)
You need filename like this:
if __name__ == '__main__':
x= image_converter()
filename = x.callback(filename)
I also noticed you will have to changed cv_image2
to cv_image
. The cv_image2
doesn't draw circle.