Hi I want some help. I would like to develop a TensorFlow model
The idea is that given ‘value’ defined as follows:
import cv2
im = cv2.imread("anyimage.jpg")
_, buffer = cv2.imencode('.jpg', im)
jpg_as_text = base64.b64encode(buffer)
value=jpg_as_text.decode('utf-8')
Create tensorflow layers to do the reverse process and obtain a tensor with the original image, these layers must be exportable with the model.save(‘folder’) option
My goal is to change the input of my models to this new form
not training needed, not dataset needed because I have to provide the value and in that layer(or layers) reverse function will be coded and it than returns the original image as tensor