-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
195 additions
and
1,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,57 @@ | ||
Aruco Android | ||
# Aruco Android | ||
|
||
> It is an application to detect Aruco Markers. | ||
<center> | ||
<img width="75%" src="screenshots/marker_drawing_axis.png" alt="screenshot_home" /> | ||
</center> | ||
|
||
## Credits | ||
|
||
This application uses: | ||
|
||
- **opencv-contrib** for computer vision, see [LICENSE](opencv344-contrib/LICENSE), | ||
- **aruco**, module from opencv-contrib, for ***aruco markers*** detection. | ||
- **rajawali**, for 3D models renderer. | ||
|
||
See more about ***opencv***, and ***aruco*** from: | ||
|
||
- [opencv](https://opencv.org) | ||
- [opencv-contrib](https://github.com/opencv/opencv_contrib) | ||
- [aruco](http://www.uco.es/investiga/grupos/ava/node/26) | ||
- [rajawali](https://github.com/Rajawali/Rajawali) | ||
|
||
## About | ||
|
||
Aruco Android is an application to detect ***Aruco Markers***, and try to render a 3D model above it. | ||
|
||
## Using | ||
|
||
Camera must be calibrated before detect markers, for that, | ||
|
||
- compile and run ***camera-calibration*** projet, | ||
- present the ***calibration board*** to the camera | ||
- capture between ***15 and 20 images***, and | ||
- click on ***calibrate*** menu. | ||
|
||
Each frame must contain at least ***10 markers*** | ||
|
||
<center> | ||
<img width="75%" src="screenshots/board_detecting_markers.png" alt="screenshot_home" /> | ||
</center> | ||
|
||
After that, compile ***app*** project and enjoy... | ||
|
||
<center> | ||
<img width="75%" src="screenshots/board_drawing_axis.png" alt="screenshot_home" /> | ||
</center> | ||
|
||
## Contributions | ||
|
||
You can help turn this application into Augmented Reality, there are some bugs on the positioning of the 3D model above marker. | ||
|
||
<center> | ||
<img width="75%" src="screenshots/marker_drawing_model.png" alt="screenshot_home" /> | ||
</center> | ||
|
||
Thank you :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Wavefront .mtl file - created by SpaceDraw | ||
|
||
# File created: 20-03-24, 21:04 | ||
|
||
newmtl standard | ||
Ns 20.0 | ||
d 1.0 | ||
Tr 0.0 | ||
illum 2 | ||
Ka 0.50189996 0.50189996 0.50189996 | ||
Kd 0.50189996 0.50189996 0.50189996 | ||
Ks 0.50189996 0.50189996 0.50189996 | ||
Ke 0.0 0.0 0.0 | ||
map_Ka brick.jpg | ||
map_Kd brick.jpg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Wavefront .obj file - created by SpaceDraw | ||
|
||
# File created: 20-03-24, 21:04 | ||
|
||
mtllib box.mtl | ||
|
||
# | ||
# object cube1 | ||
# | ||
|
||
v -1.504095 -1.498365 -1.502577 | ||
v 1.491942 -1.498365 -1.502577 | ||
v -1.504095 1.497673 -1.502577 | ||
v 1.491942 1.497673 -1.502577 | ||
v -1.504095 -1.498365 1.493461 | ||
v 1.491942 -1.498365 1.493461 | ||
v -1.504095 1.497673 1.493461 | ||
v 1.491942 1.497673 1.493461 | ||
# 8 vertices | ||
|
||
vn 0.0 -1.0 0.0 | ||
vn 0.0 -1.0 0.0 | ||
vn 0.0 -1.0 0.0 | ||
vn 0.0 -1.0 0.0 | ||
vn 0.0 1.0 0.0 | ||
vn 0.0 1.0 0.0 | ||
vn 0.0 1.0 0.0 | ||
vn 0.0 1.0 0.0 | ||
vn -1.0 0.0 0.0 | ||
vn -1.0 0.0 0.0 | ||
vn -1.0 0.0 0.0 | ||
vn -1.0 0.0 0.0 | ||
vn 1.0 0.0 0.0 | ||
vn 1.0 0.0 0.0 | ||
vn 1.0 0.0 0.0 | ||
vn 1.0 0.0 0.0 | ||
vn 0.0 0.0 -1.0 | ||
vn 0.0 0.0 -1.0 | ||
vn 0.0 0.0 -1.0 | ||
vn 0.0 0.0 -1.0 | ||
vn 0.0 0.0 1.0 | ||
vn 0.0 0.0 1.0 | ||
vn 0.0 0.0 1.0 | ||
vn 0.0 0.0 1.0 | ||
# 24 vertex normals | ||
|
||
vt 0.0 0.0 -0.5 | ||
vt 1.0 -1.0 -0.5 | ||
vt 0.0 -1.0 -0.5 | ||
vt 1.0 0.0 -0.5 | ||
vt 1.0 0.0 0.5 | ||
vt 0.0 0.0 0.5 | ||
vt 0.0 -1.0 0.5 | ||
vt 1.0 -1.0 0.5 | ||
vt 0.0 0.0 -0.499999 | ||
vt 1.0 -1.0 -0.499999 | ||
vt 0.0 -1.0 -0.499999 | ||
vt 1.0 0.0 -0.499999 | ||
vt 0.0 0.0 0.5 | ||
vt 1.0 0.0 0.5 | ||
vt 1.0 -1.0 0.5 | ||
vt 0.0 -1.0 0.5 | ||
vt 0.0 -1.0 -0.5 | ||
vt 0.0 0.0 -0.5 | ||
vt 1.0 0.0 -0.5 | ||
vt 1.0 -1.0 -0.5 | ||
vt 0.0 -1.0 0.5 | ||
vt 1.0 0.0 0.5 | ||
vt 0.0 0.0 0.5 | ||
vt 1.0 -1.0 0.5 | ||
# 24 texture coords | ||
|
||
g cube1 | ||
|
||
usemtl standard | ||
s off | ||
f 1/3/3 2/2/2 6/4/4 5/1/1 | ||
f 7/8/8 8/7/7 4/6/6 3/5/5 | ||
f 5/10/10 7/12/12 3/9/9 1/11/11 | ||
f 2/15/15 4/14/14 8/13/13 6/16/16 | ||
f 1/20/20 3/19/19 4/18/18 2/17/17 | ||
f 6/24/24 8/22/22 7/23/23 5/21/21 | ||
# 6 polygons | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.