Git Product home page Git Product logo

youtube-reader's People

Contributors

vackosar avatar

Stargazers

 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

youtube-reader's Issues

Could'nt download caption

Just tried the package. Pasted https://m.youtube.com/watch?v=dr6nNvw55C4 to the app, and got exceptions as shown in the attached screenshot.

It fails at this line of code in CapsDownloader
String videoInfo = convertStreamToString(createVideoInfoUrl(uri).openConnection().getInputStream());

On Android 9.

I tried both your apk and one I compiled from source. Same.

Downloading TensorFlow library

Hello,

Sorry to bother you again but I'm getting this error when running gradlew assemble:

:compileDebugJavaWithJavac
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:5: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:20: error: cannot find symbol
    private final TensorFlowInferenceInterface inferenceInterface;
                  ^
  symbol:   class TensorFlowInferenceInterface
  location: class GraphExecutor
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:27: error: cannot find symbol
        this.inferenceInterface = new TensorFlowInferenceInterface(assetManager, MODEL_FILENAME);
                                      ^
  symbol:   class TensorFlowInferenceInterface
  location: class GraphExecutor
3 errors
:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

I see you are getting this library locally:

def tensorflowRepo = '/data/androidStudioProjects/tensorflow/'

But wouldn't it be possible to add something like this to build.gradle:

diff --git a/build.gradle b/build.gradle
index 48ee6bc..6ce75a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -96,6 +96,7 @@ dependencies {
     compile 'commons-lang:commons-lang:2.3'
     testCompile 'junit:junit:4.12'
     testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
+    compile 'org.tensorflow:tensorflow-android:1.8.0'
 }
 
 task buildNativeBazel() {

so the library can be downloaded by Gradle.

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.