Giter Club home page Giter Club logo

Comments (4)

stephanecharette avatar stephanecharette commented on July 18, 2024

Thanks. Unfortunately not in DarkMark, I don't have an option for that.

Next easiest thing I can think of is to use DarkHelp Server with the option to create the .txt files for each image. Then you let it process your thousands of images. DarkMark will then automatically import those .txt files. Not straightforward, but may be worthwhile if you have so many images.

If you want to try, DarkHelp Server is documented here: https://www.ccoderun.ca/darkhelp/api/Server.html Note you already have it installed since DarkMark uses DarkHelp. But you would have to configure it to run the way you need.

from darkmark.

stephanecharette avatar stephanecharette commented on July 18, 2024

If you do try, the option you want is the one called darkhelp/server/settings/save_txt_annotations.

from darkmark.

bcherb2 avatar bcherb2 commented on July 18, 2024

Thanks, I will look into that. I tried the pseudo-labeling CLI for darknet, and I got unexpected results. Both
./darknet detector test ..... -thresh 0.25 -dont_show -save_labels > results.txt and
./darknet detector test ..... -thresh 0.25 -dont_show -ext_output < train.txt > results.txt

both result in many entries like this:

/home/ben/VisionProjects/Palletsv3/darkmark_image_cache/zoom/00001739.jpg: Predicted in 11.293000 milli-seconds. Person: 99% Person: 99% Person: 99% Enter Image Path: Detection layer: 139 - type = 28 Detection layer: 150 - type = 28 Detection layer: 161 - type = 28

Upon further inspection, it looks like it also wrote *.txt files next to the unmarked images, and refreshing and rescanning in DarkMark was able to find the new marks.

from darkmark.

stephanecharette avatar stephanecharette commented on July 18, 2024

The problem with using Darknet is I believe that it will generate some annotations with negative coordinates or widths/heights that extend beyond the edges of the image. May want to have a browse through the .txt files to see.

However, I think DarkMark fixes those up when it imports them. That was so long ago I don't recall anymore, you'll have to test it and see.

from darkmark.

Related Issues (20)

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.