Skip to content
New issue

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

style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf #1484

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
import javax.imageio.ImageIO;

public class BiometricAuthentication {
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("image.jpg"));
FaceRecognition faceRecognition = new FaceRecognition();
boolean authenticated = faceRecognition.authenticate(image);
System.out.println("Authenticated: " + authenticated);
}
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("image.jpg"));
FaceRecognition faceRecognition = new FaceRecognition();
boolean authenticated = faceRecognition.authenticate(image);
System.out.println("Authenticated: " + authenticated);
}
}

class FaceRecognition {
public boolean authenticate(BufferedImage image) {
// Implement face recognition algorithm here
return true;
}
public boolean authenticate(BufferedImage image) {
// Implement face recognition algorithm here
return true;
}
}
Loading