We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resnet can add Detect , like
Tensor image = ReadTensorFromImageFile("test.jpg");
Tensor[] finalTensor = TFSession.Run( new Output[] { TFGraph["image_tensor"] }, new Tensor[] { image }, new Output[] { TFGraph["detection_boxes"], TFGraph["detection_scores"], TFGraph["detection_classes"], TFGraph["num_detections"] } ); var boxes = (float[,,])finalTensor[0].JaggedData; var scores = (float[,])finalTensor[1].JaggedData; var classes = (float[,])finalTensor[2].JaggedData; var num = (float[])finalTensor[3].Data; Image resultImage = Image.FromFile("test.jpg");
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Resnet can add Detect , like
Tensor image = ReadTensorFromImageFile("test.jpg");
The text was updated successfully, but these errors were encountered: