BoofCV on Android with Kotlin

瀏覽次數:99 次
跳到第一則未讀訊息

Detlev Noll

未讀,
2020年5月30日 凌晨3:58:052020/5/30
收件者:BoofCV
Hi,

I'm lecturing a course on Android App development (in Android Studio with Kotlin) and would like the students to build a project based on this inspiring blog article

https://levelup.gitconnected.com/qr-code-scanner-in-kotlin-e15dd9bfbb1f


While the Java example apps are great, unfortunately, I couldn't manage to get a running app using boofcv with kotlin, yet. Is there by chance any basic demo app coded in kotlin I could build on?


Thanks for any help,


Detlev. 



Peter A

未讀,
2020年5月31日 中午12:22:302020/5/31
收件者:boofcv
I can create a simple Kotlin Android app based off of these Java examples. Would that work? Also are you interested in scanning for QR codes live or finding images on the phone?

--
You received this message because you are subscribed to the Google Groups "BoofCV" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boofcv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/boofcv/5372088f-8440-48ad-a5bf-26256f59f837%40googlegroups.com.


--
"Now, now my good man, this is no time for making enemies."    — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.

Detlev Noll

未讀,
2020年5月31日 下午1:00:162020/5/31
收件者:boo...@googlegroups.com
Peter,

that would bei perfect. Thanks for the quick reply and your offer to support. I would be interested in
scanning QR codes in the live stream for an augmented reality example app.

Best regards,
Detlev

Peter A

未讀,
2020年5月31日 下午1:39:592020/5/31
收件者:boofcv
That's simple enough, but BoofCV's built in camera code uses an out of date approach. it works just fine but should written as a fragment (issue). it should be easy enough to use another camera library too, but more effort to do all the visualizations. If you choose to stick with these examples as is I would just mention that in your class.

I'll let you know when I've got something ready.

Peter A

未讀,
2020年6月6日 下午3:33:212020/6/6
收件者:boofcv
https://github.com/lessthanoptimal/KBoofExamples/tree/master/android

Added the Android examples. While not a big deal (not even sure they would have helped here) I didn't include the Kotlin extensions since they depend on a lot of stuff that causes build problems, like Swing.

Detlev Noll

未讀,
2020年6月7日 凌晨2:31:192020/6/7
收件者:boo...@googlegroups.com
Peter,

many thanks! I could successfully build the App in Android Studio 4.0 and will further work from here.

I very much appreciate your support and I'm sure my students will so, too.

Detlev

Peter A

未讀,
2020年6月7日 上午10:18:422020/6/7
收件者:boofcv
If you see a way to do a better job Kotlinizing the code feel free to create a PR. It's mostly auto ported code but I did try to add a few Kotlin specific things.

Michael

未讀,
2022年10月19日 凌晨3:23:402022/10/19
收件者:BoofCV
Hi Peter,

Won't make it into the next stable release but the one after this should have a complete rewrite using fragments. Writing the code for a commercial project and after it's stabilized I'm planning on donating it to this project. Will probably be a couple of months before it works its way into BoofCV.
"

Do you have a rough estimate when you will be able to add this rewrite to BoofCVs source?
Is there a chance you can send a snippet of the rewritten fragment beforehand?


Thank you
Michael

Peter A

未讀,
2022年11月2日 晚上7:02:292022/11/2
收件者:boo...@googlegroups.com
I'll look into copying the code over into the public repo. There's no schedule right now, but since I know there's a need for it I'll try to find sometime soon. Recently added the ability to stream and configure multiple cameras at once so I think all the major capabilities are there.

回覆所有人
回覆作者
轉寄
0 則新訊息