marvin-framework

Adding MarvinFramework to a WebApp on Tomcat7

情到浓时终转凉″ 提交于 2019-12-30 11:14:13
问题 I have a Jersey WebApp running on Tomcat and want to integrate the MarvinFramework for ImageProcessing. Basically I want to reduce noise, grayscale and scale an Image for further processing. The Marvin Framework relies on custom Plugins for their specific prupose, and those Plugins I want to use. But since the Framwork has its own ClassLoader , that loads the plugins JAR dynamically at runtime from an absolute location inside the project, I am confused where to put the files or how to

2D geometric shape vertices coordinates detection

回眸只為那壹抹淺笑 提交于 2019-12-23 01:19:05
问题 I am trying to find the vertices and their coordinates for simple geometric shape using marvin-framework. This is the code I have (based on https://stackoverflow.com/a/25223830/957057) package com.example.marvin; import static marvin.MarvinPluginCollection.floodfillSegmentation; import static marvin.MarvinPluginCollection.moravec; import static marvin.MarvinPluginCollection.scale; import java.io.FileWriter; import java.io.IOException; import marvin.image.MarvinImage; import marvin.image

How to change white background for black

寵の児 提交于 2019-12-12 13:24:55
问题 In a recent project I have to manipulate images, but since this is new to me I am kind of lost. I need to scan the hand using a regular scan device. I could acomplish this but the background is white and I need it to be black. After several days of research finding the way to change the color, I only got an image that seems cut and paste in ms paint. The original image: Test: What I need is something like this: I trying using Marvin Framework, Imagej, Catalano framework. To see the setps that

2D geometric shape vertices coordinates detection

与世无争的帅哥 提交于 2019-12-07 03:37:30
I am trying to find the vertices and their coordinates for simple geometric shape using marvin-framework. This is the code I have (based on https://stackoverflow.com/a/25223830/957057 ) package com.example.marvin; import static marvin.MarvinPluginCollection.floodfillSegmentation; import static marvin.MarvinPluginCollection.moravec; import static marvin.MarvinPluginCollection.scale; import java.io.FileWriter; import java.io.IOException; import marvin.image.MarvinImage; import marvin.image.MarvinSegment; import marvin.io.MarvinImageIO; public class ShapesExample { private FileWriter fw = null;

Adding MarvinFramework to a WebApp on Tomcat7

南笙酒味 提交于 2019-12-01 11:14:17
I have a Jersey WebApp running on Tomcat and want to integrate the MarvinFramework for ImageProcessing. Basically I want to reduce noise, grayscale and scale an Image for further processing. The Marvin Framework relies on custom Plugins for their specific prupose, and those Plugins I want to use. But since the Framwork has its own ClassLoader , that loads the plugins JAR dynamically at runtime from an absolute location inside the project, I am confused where to put the files or how to configure the WebApp, that the ClassLoader is able load the JARs. I recreated the directory-structure for

2D Shape recognition algorithm - looking for guidance [closed]

旧时模样 提交于 2019-11-28 20:41:44
I need the ability to verify that a user has drawn a shape correctly, starting with simple shapes like circle, triangle and more advanced shapes like the letter A. I need to be able to calculate correctness in real time, for example if the user is supposed to draw a circle but is drawing a rectangle, my hope is to be able to detect that while the drawing takes place. There are a few different approaches to shape recognition, unfortunately I don't have the experience or time to try them all and see what works. Which approach would you recommend for this specific task? Your help is appreciated.

Video processing and filtering libraries

本秂侑毒 提交于 2019-11-28 08:40:14
I'm trying to decide which library to choose in order to create app that can filters a video, for example beautify or clarity. During my search I came across 2 candidates: OpenCv and FFmpeg, and I found a complete framework only for FFmpeg(so +1 for this). I couldn't found a complete comparision between the two so if someone has tried them and can post the answer it would be really helpful. Edit: Another candidate is Marvin framework(Java project) for Android - https://code.google.com/p/android-image-filtering/ karlphillip OpenCV is a framework for Computer Vision and it's very limited for

2D Shape recognition algorithm - looking for guidance [closed]

末鹿安然 提交于 2019-11-27 13:05:34
问题 I need the ability to verify that a user has drawn a shape correctly, starting with simple shapes like circle, triangle and more advanced shapes like the letter A. I need to be able to calculate correctness in real time, for example if the user is supposed to draw a circle but is drawing a rectangle, my hope is to be able to detect that while the drawing takes place. There are a few different approaches to shape recognition, unfortunately I don't have the experience or time to try them all

Video processing and filtering libraries

半城伤御伤魂 提交于 2019-11-27 02:21:23
问题 I'm trying to decide which library to choose in order to create app that can filters a video, for example beautify or clarity. During my search I came across 2 candidates: OpenCv and FFmpeg, and I found a complete framework only for FFmpeg(so +1 for this). I couldn't found a complete comparision between the two so if someone has tried them and can post the answer it would be really helpful. Edit: Another candidate is Marvin framework(Java project) for Android - https://code.google.com/p