fix Bb to Db
This commit is contained in:
parent
41d5be1627
commit
2dca6a2238
@ -1,6 +1,6 @@
|
||||
<component name="CopyrightManager">
|
||||
<copyright>
|
||||
<option name="notice" value="Copyright © &#36;today.year, norangebit This file is part of &#36;project.name. &#36;project.name is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. &#36;project.name is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with &#36;project.name. If not, see <http://www.gnu.org/licenses/>" />
|
||||
<option name="notice" value="Copyright (c) &#36;today.year, norangebit This file is part of augmented-images. &#36;project.name is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. &#36;project.name is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with &#36;project.name. If not, see <http://www.gnu.org/licenses/> " />
|
||||
<option name="myName" value="GPL v. 2.0" />
|
||||
</copyright>
|
||||
</component>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -110,7 +110,7 @@ class MainActivity : AppCompatActivity() {
|
||||
|
||||
private fun configureSession() {
|
||||
val config = Config(session)
|
||||
if (!setupAugmentedImageBb(config)) {
|
||||
if (!setupAugmentedImageDb(config)) {
|
||||
Toast.makeText(
|
||||
this,
|
||||
"Unable to setup augmented image database",
|
||||
@ -123,7 +123,7 @@ class MainActivity : AppCompatActivity() {
|
||||
session!!.configure(config)
|
||||
}
|
||||
|
||||
private fun setupAugmentedImageBb(config: Config): Boolean {
|
||||
private fun setupAugmentedImageDb(config: Config): Boolean {
|
||||
val image = loadImage(IMAGE_FILE_NAME) ?: return false
|
||||
|
||||
val augmentedImageDb = AugmentedImageDatabase(session)
|
||||
|
Loading…
Reference in New Issue
Block a user