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

Submission-Jarv #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
757 changes: 757 additions & 0 deletions Jarv/Backend/Gan.ipynb.ipynb

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions Jarv/Frontend/aeroplane.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs>
<a-marker preset="hiro">
<!-- we use cors proxy to avoid cross-origin problems ATTENTION! you need to set up your server -->
<a-entity
position="0 1 0"
scale="3 3 3"
obj-model="obj: url(objects/aeroplane.obj)"
></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
19 changes: 19 additions & 0 deletions Jarv/Frontend/chair.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs>
<a-marker preset="hiro">
<!-- we use cors proxy to avoid cross-origin problems ATTENTION! you need to set up your server -->
<a-entity
position="0 1 0"
scale="2 2 2"
obj-model="obj: url(objects/chair.obj)"
></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
19 changes: 19 additions & 0 deletions Jarv/Frontend/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs>
<a-marker preset="hiro">
<!-- we use cors proxy to avoid cross-origin problems ATTENTION! you need to set up your server -->
<a-entity
position="0 1 0"
scale="1 1 1"
obj-model="obj: url(objects/default.obj)"
></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
95 changes: 95 additions & 0 deletions Jarv/Frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JARV</title>
<style>
*{
margin:0;
padding:0;
font-family:sans-serif;
}
body{
height: 100vh;
}
.container{
display:flex;
flex-direction: column;
background-color: rgba(20, 20, 20, 0.458);
margin-inline:auto;
height:50vh;
width:70%;
align-items: center;
justify-content: center;
margin-top: 100px;
border-radius: 10px;
box-shadow: 7px 7px 4px black;

}
h1{
text-align: center;
color: aliceblue;
padding-top: 120px;
letter-spacing: 5px;;
}
form{
width:40%;
}
#Text{
margin-block: 50px;
border-radius: 5px;
width:100%;
padding:10px;
text-align: center;
border:1px solid black;

}
#btn{
text-decoration: none;
border:0;
padding:6px 4px;
color:aliceblue;
background-color: #815a93c8;
border-radius: 5px;
width:100px;
text-align: center;
cursor: pointer;
}
#btn:hover{
background-color: #7f4898;
color:black;
transform: translateX(5px) translateY(5px);
transition: 0.5s linear;
box-shadow: 2px 2px 2px rgba(206, 1, 206, 0.73);
}
</style>
</head>
<body>

<h1>ARText2Model</h1>
<div class="container">
<form action="#">
<input type="text" placeholder="Enter the text " id="Text" required>
</form>
<a id="btn">Submit</a>

</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<script>
VANTA.NET({
el: "body",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00
})
</script>
<script src="script.js"></script>
</body>
</html>
19 changes: 19 additions & 0 deletions Jarv/Frontend/lamborghini.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- we import arjs version without NFT but with marker + location based support -->
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs>
<a-marker preset="hiro">
<!-- we use cors proxy to avoid cross-origin problems ATTENTION! you need to set up your server -->
<a-entity
position="0 1 0"
scale="3 3 3"
obj-model="obj: url(objects/lamborghini.obj)"
></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
Loading