Git Product home page Git Product logo

panorama360's Introduction

This project was bootstrapped with Create React App using cra-template-typekit

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

test:coverage

Run all tests with --coverage. Html output will be in coverage/.

yarn lint

Lints the code for eslint errors and compiles TypeScript for typing errors. Update rules in .eslintrc if you are not satisifed with some of the default errors/warnings.

yarn lint:fix

Same as yarn lint, but also automatically fixes problems.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

panorama360's People

Contributors

acodexm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

panorama360's Issues

TEMPLATE_Android.mk is missing a entry

Hi,
the file Panorama360/android/src/main/jni/TEMPLATE_Android.mk is missing an entry which includes the opencv library.
The line
LOCAL_LDLIBS += -llog -L$(SYSROOT)/usr/lib
should read
LOCAL_LDLIBS += -llog -L$(SYSROOT)/usr/lib -lopencv
at least that's when it compiled for me.

Thanks for sharing your work.

ERROR: Cause: executing external native build for ndkBuild

ERROR: Cause: executing external native build for ndkBuild /Users/abc/Downloads/360/android/src/main/jni/TEMPLATE_Android.mk

can anyone please resolve this here is TEMPLATE_Android.mk file
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#opencv
OPENCVROOT:= /Users/abc/Downloads/OpenCV-android-sdk
OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=SHARED
include ${OPENCVROOT}/sdk/native/jni/OpenCV.mk
LOCAL_SRC_FILES := study_acodexm_NativePanorama.cpp ImgStitcher.cpp CroppImg.cpp
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_CFLAGS += -std=c++11 -frtti -fexceptions -fopenmp -w
LOCAL_LDLIBS += -llog -L$(SYSROOT)/usr/lib
LOCAL_LDFLAGS += -fopenmp
LOCAL_MODULE := MyLib
include $(BUILD_SHARED_LIBRARY)

Doc: suggest adding these steps for Android Studio

Here are some steps I needed to perform in getting the app to compile in Android Studio; not all of them are obvious; documenting them might save others some time.

  1. Download old Android ndk r15c
  2. Add to local.properties: ndk.dir=c:\\android\\sdk\\ndk\\android-ndk-r15c
  3. Desktop module build.gradle, line 32 change ".classesDir" to ".classesDirs"
  4. Download OpenCV 3.3.1 https://github.com/opencv/opencv/archive/3.3.1.zip and extract it into the top directory of the project
  5. Copy android/src/main/jni/TEMPLATE_Android.mk to Android.mk
  6. In Android.mk set OPENCVROOT var to the OpenCV SDK 3.3.1 downloaded above (e.g. C:/Projects/Android/Panorama360/OpenCV-android-sdk)

hello

hello sir,

i tried to run your code and encountered this problem, do you mind telling me what is the issue? Thank you.
untitled

App Crashed with this error java.lang.UnsatisfiedLinkError

Hello i am just new to this subject. I have compiled and build your source code successfully but when i tried to use the application it crashed with the following error.
Thanks in Advance :)
May be this info helps:
I am using Windows 10 and Android studio v3.0.1

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/study.acodexm-1/base.apk"],nativeLibraryDirectories=[/data/app/study.acodexm-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libopencv_java3.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at study.acodexm.MainActivity.(MainActivity.java:61)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1572)
at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

How to change camera angle

Hi i wanted to change the focal length of the camera to capture 12 images instead of 8. I'm not able to do this can u please help me where should i modify the code

Stiching Problem

Hi I'm capturing horizontal images only and when image stitching is completed 1 image frame getting misplaced please help
panorama_28052019112621

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.