Giter Club home page Giter Club logo

react-native-opencv3-tests's People

Contributors

adamgf avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-opencv3-tests's Issues

React-native failed in the Expo build

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
JSI_LIB
linked by target "expo-gl" in directory /Users/shenmingming/Desktop/App/FaceKey/node_modules/expo-gl-cpp/cpp

CvImageManipulations has started crashing after merges done on Nov 22 and 23, 2021

Steps to Reproduce -

  1. Take fresh git clone of react-native-opencv3-tests repo
  2. cd CvImageManipulations
  3. npm install
  4. react-native run-android

Behavior -

App launches successfully. But on clicking any of the buttons (Histogram, Canny, Sobel etc.), the app first hangs and then crashes. Nothing comes in the logs.
Device - Oneplus (Android 10)

Please note that this problem started happening only after November 22 and 23 changes. I had previously done the same steps on November 1 and the demo app was working flawlessly at that time.

Run iOS Example

Hi there,
First of all thanks for creating this package!

I am trying to run one of the examples like the CvFaceDetection but I am getting a error from Xcode saying:
Reference to 'Ptr' is ambiguous (find screenshot attached).

Here are the steps to reproduce:

  1. Download react-native-opencv3-tests
  2. Nativate with the terminal to react-native-opencv3-tests-master/CvFaceDetection/
  3. npm install
  4. cd ios/
  5. pod install
  6. Open and run the Xcode workspace

Thanks and best regards
Nik

image

How to run examples?

When I run "yarn", I faced following error.

npm ERR! code E404
npm ERR! 404 Not Found: [email protected]

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jacky/.npm/_logs/2018-12-06T14_41_53_892Z-debug.log

so I removed yarn.lock, package-lock.json

and open the CvCameraPreview.xcworkspace file on xcode.
and then run "pod install" in ios folder.
I got this error

[!] CocoaPods could not find compatible versions for pod "RNOpencv3/CvCamera":
  In snapshot (Podfile.lock):
    RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)

  In Podfile:
    RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)

None of your spec sources contain a spec satisfying the dependency: `RNOpencv3/CvCamera (from `../node_modules/react-native-opencv3/ios/RNOpencv3.podspec`)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

please help me to run your example
Thank you.

Pausing Recognition and Displaying Alert Mesage

Hello there,
How would we pause openCV engine on real time, show an Alert message within a button whether to "Exit" or "scan" to keep scanning faces?
As the screenshot attached shows

Best wishes,
I

IMG_1462
WhatsApp Image 2021-12-29 at 12 29 49

Error installing libopencv-contrib

Hi, im recieving this error when I run pod install

[!] Error installing libopencv-contrib
[!] /usr/bin/unzip /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip -d /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817

Archive:  /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip or
        /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.zip, and cannot find /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.ZIP, period.

CvCameraPreview DemoTest: Buttons are disabled

So far react-native-opencv3-test/CvCameraPreview itself runs fine with no errors.

However, when I bring CvCameraPreview to my app as a new Screen, buttons gets disabled (Take Photo, switch video/image

I’ve installed its required packages: react-native-fs, react-native-opencv3 and react-native-video
However, I believe there's something else blocking/disabling Screen buttons to work. Switch Button to camera/video and Play button to TakePicture/RecordVideo are disabled in the screen.

Is there anything that must be amended/added within /ios/ directory (i.e. any dependency, library, etc)

Any idea?

Anyway, I’ll keep you posted

It’d be great to post this dialogue on GitHub

Best wishes,
I

020-12-16 15:53:19.972866-0300 qonteofaces[631:76381] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2020-12-16 15:54:44.376586-0300 qonteofaces[631:76381] deviceOrientationDidChange: 5

Screenshot 2020-12-16 at 15.55.58.png

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.