Giter Site home page Giter Site logo

r4ghu / ios-coreml-yolo Goto Github PK

View Code? Open in Web Editor NEW
162.0 10.0 25.0 15.41 MB

Almost Real-time Object Detection using Apple's CoreML and YOLO v1 -

Home Page: https://goo.gl/8eVso5

Swift 1.81% Objective-C 0.20% Jupyter Notebook 97.28% Python 0.71%
coreml ios object-detection yolov1 object-detection-pipelines

ios-coreml-yolo's People

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  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  avatar  avatar  avatar  avatar  avatar  avatar

ios-coreml-yolo's Issues

Can't access Google drive from China because of the GFW.

This is not an issue, but may I ask to get the TinyYOLOv1.mlmodel, I am in China, the god damn it GFW avoid me from access Google, so can you give me another link please? That would be many many thanks if I can have a accessable download link of that TinyYOLOv1.mlmodel model!!!

doesn't detect anything

Orientation, Camera are weird on my iPad

it's always conversely rotation with any iPad position in my hands

also weird zoom, objects on the camera are closer than should be

p.s. I also don't get any detected objects (drawn rectangles), mb it's because of the wrong frames orientation and yolo just doesn't detect anything

...

fixed zoom with setting
session.sessionPreset = AVCaptureSessionPresetPhoto, iPad just isn't 16:9

Explanation for permutation op

In the model yoloP1P2P3, there is the following layer

model.add(Permute((2,3,1)))

Though it gives correct results, I want to ask about the specific order of (2,3,1). In my understanding, we are switching from Height*Width*Depth convention to Depth*Height*Width , and in that case, shouldn't the tuple be (3,1,2)?

Where is my understanding incorrect?

Explanation for loading weights

In the load_weights function, there is this line, which ignores the first few values of the loaded weights:

data = data[4:]

Can you please explain why we are doing so? And why is this even working?

the convert pipeline is broken

seem the coremltools is not imported, after imported below error happens

Traceback (most recent call last):
  File "convert.py", line 133, in <module>
    coreml_model_p1p2p3 = coremltools.converters.keras.convert(model_p1p2p3,
AttributeError: 'module' object has no attribute 'convert'

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.