Giter Club home page Giter Club logo

freeture's People

Contributors

arkadiuszraj avatar asubayo avatar cmarmo avatar xnox avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freeture's Issues

monitor logfile runtime error

To whom may concened,

OS : Ubuntu 14.04
Freeture version : 1.0-4
X.org X Server version : 1.18.3
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

I set a configuration file like this :

# Limit size of logs on the hard disk (mo)
LOG_SIZE_LIMIT = 100

# Level of messages to save in log files.
# <normal> | <notification> | <fail> | <warning> | <critical>
LOG_SEVERITY = normal

After freeture rans for several hours, I got runtime error like below and freeture stopped.

boost::filesystem::remove: Directory not empty

AVI not written by FreeTureWindows

Hi,

I have the following flag set in the configuration file:
DET_SAVE_AVI = true
But no AVI file is written when a capture takes place. How can I change this? I am using the Windows version of FreeTure.

Thanks,

Jim Rowe

Run user script on detection

When event is detected it is convinient to run some script, like automatic uploader.
Here is example I use in my local build of freeture.

// ***************************** starting user script *****************************
if(boost::filesystem::exists(mdtp.DET_EVENT_USER_ACTION) ){
string commandString = mdtp.DET_EVENT_USER_ACTION + " " + mEventPath;
BOOST_LOG_SEV(logger,notification) << "Executing user command : " << commandString;
std::thread ut(this,commandString{ system(commandString.c_str()); });
ut.detach();
}

-t,time option does not work

Source of the problem is simple - there is no code to parse value of this option hence executionTime variable is always 0.

Solution -> add a line:

if(vm.count("time")) executionTime = vm["time"].as();

Problem with FreeTure configuration

Hi Chiara, you mentioned that this is a configuration issue (see screenshot below). However, the file configuration.cfg doesn't mention the directory home/fripon/data or similar. If I can't find the problem, I can't amend it. I tried to attach the configuration.cfg file but github won't allow me to attach it.

freeture

Support USB3 Vision Camera

Aravis does support USB3 camera, could you add USB3 camera in FreeTure?
Finally, FreeTure can run in raspberry pi with a USB3 camera.
Thanks!

Accessing cameras via IP address

FreeTure use arv_get_device_id() to access GigE cameras. This can produces conflicts when more than one camera is connected on the same network.
The possibility to access the camera via IP address must be added.

Freeture in Windows

Hi,

I have Fripon camera 171 ready to install, but I am having difficulty installing Freeture for Windows. I attach a screenshot of the error message - I have not set the environment variable "PYLON_ROOT" in Windows 8.1. Do you have setup instructions for Windows?

Regards,

James Rowe

camera171
pylonerror

Windows Install

Attempting install produces a "CreateProcess failed" error code: 216. Details state that the version of %1 is not compatible with this version of Windows (it's 7 SP1). Which versions should the Windows installer work with? And if it should install on 7, what does the error indicate?

Thanks

Freeture ported to ARM64

I have ported Freeture to the ARM64 architecture and used Aravis 0.6, boost 1.65 and OpenCV3.3. It runs stable on an Odroid-C2. We will use this setup for the Fripon-Cam at the Kepler observatory in Weil der Stadt, Germany. If somebody can find some time, adding a native camera support module for Basler cameras using Pylon5 (now available for ARM64) would be good. Although Aravis is a good idea, it lacks a lot of camera setup possibilities and has some performance limitations.

Markus

OpenSuse fails to install Freeture

I'm trying to install freeture in Opensuse 13.2
I already installed gstreamer 1.0

I can compile it but I got this message, could you help me?
(In what OS would you recommend me to install freeture?)

g++ -g -O2 -o freeture EParser.o AcqThread.o CameraGigeAravis.o CameraGigePylon.o CameraV4l2.o CameraGigeTis.o CameraWindows.o DetectionTemplate.o DetectionTemporal.o Device.o Stack.o Ephemeris.o StackThread.o Base64.o OpenSSL.o CameraFrames.o SMTPClient.o HistogramGray.o CameraVideo.o Configuration.o Conversion.o DetThread.o Fits.o Fits2D.o Fits3D.o Frame.o GlobalEvent.o Histogram.o AcqSchedule.o LocalEvent.o main.o HistogramRGB.o TimeDate.o ExposureControl.o SaveImg.o ImgProcessing.o -L/usr/local/lib64 -laravis-0.4 -lm -lgio-2.0 -lgobject-2.0 -lxml2 -lgthread-2.0 -pthread -lglib-2.0 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lssl -lcrypto -lcfitsio -L/usr/lib64 -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_video -lboost_program_options -lboost_thread -lboost_system -lboost_log_setup -lboost_log -lboost_filesystem -lboost_date_time -lboost_chrono -lboost_iostreams -lv4l2 -lcrypto -ludev -lgobject-2.0 -lglib-2.0 -lglib-2.0
/usr/lib64/libgstvideo-1.0.so.0: undefined reference to gst_structure_get_flagset' /usr/lib64/libgstvideo-1.0.so.0: undefined reference togst_flagset_register'
/usr/lib64/libgstaudio-1.0.so.0: undefined reference to `gst_segment_is_equal'
collect2: error: ld returned 1 exit status
Makefile:449: recipe for target 'freeture' failed
make[2]: *** [freeture] Error 1
make[2]: Leaving directory '/usr

/local/src/freeture-1.0.1/src'
Makefile:491: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/freeture-1.0.1'
Makefile:406: recipe for target 'all' failed
make: *** [all] Error 2

feature request

Hi ,
For filter out the plane, what about a speed filter, for example, how many pixel per second, if a object's speed is slower than this, do not record. Just like UFO Capture.

V4L2 support. I want to use a watec 902 with stk1160 capture in linux to capture meteor.

Great software and I will try it.
Thanks.
Max

Image custom size is not centered

I just found that while using custom resolution, camera region is not programmed correctly. For circular fisheye lenses region shall be centered else this option is of no use. While centered, cpu consumption as well as ethernet bandwith is saved.

--- freeture/src/CameraGigeAravis.cpp   2016-06-28 17:19:59.585273406 +0200
+++ ../../freeture/src/CameraGigeAravis.cpp 2016-06-28 17:59:35.085035756 +0200
@@ -163,20 +163,19 @@

     bool CameraGigeAravis::setSize(int width, int height, bool customSize) {

-        if(customSize) {
+        int sensor_width, sensor_height;
+
+        arv_camera_get_sensor_size(camera, &sensor_width, &sensor_height);
+        BOOST_LOG_SEV(logger, notification) << "Camera sensor size : " << sensor_width << "x" << sensor_height;

-            arv_camera_set_region(camera, 0, 0,width,height);
+        if(customSize) {
+            arv_camera_set_region(camera, (sensor_width - width)/2, (sensor_height - height)/2,width,height);
             arv_camera_get_region (camera, NULL, NULL, &mWidth, &mHeight);
             BOOST_LOG_SEV(logger, notification) << "Camera region size : " << mWidth << "x" << mHeight;

         // Default is maximum size
         }else {

-            int sensor_width, sensor_height;
-
-            arv_camera_get_sensor_size(camera, &sensor_width, &sensor_height);
-            BOOST_LOG_SEV(logger, notification) << "Camera sensor size : " << sensor_width << "x" << sensor_height;
-
             arv_camera_set_region(camera, 0, 0,sensor_width,sensor_height);
             arv_camera_get_region (camera, NULL, NULL, &mWidth, &mHeight);

can't run freeture with mode 2, 4

OS : Ubuntu 16.04
Freeture version : 1.0-4
X.org X Server version : 1.18.3
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

I entered below command in terminal, I got an error message like this :

freeture -m 2 -d 0 -e 100 -g 300 --display
>>Error : boost:filesystem:create_directory: no such file or directory: "/home/fripon/data/"
freeture -m 4 -f 0 -d 0 -e 100 -g 300 --display
>>Error : boost:filesystem:create_directory: no such file or directory: "/home/fripon/data/"

even though freeture with mode 1 and 3 are working properly.

Aravis cam always use 30 fps

Inside AcqThread, while initializing camera there is such a code:

// SET FPS.
if(!mDevice->setCameraFPS())
    return false;

// INIT CAMERA.
if(!mDevice->initializeCamera())
    return false;

The problem is that for AravisGigeCamera, initializeCamera() enforces 30 fps thus using setCameraFPS() is ineffective.

A temporary solution is replace those two code blocks with each other. I could place a pull request however I have no idea now how such a change will influence all other input sources. Thus writing a ticket only.

OpenCV 3 compatiblity

To have compile working with latest OpenCV one must change acx_opencv.m4 to:

  • remove legacy and contrib libraries
  • add videoio library

avi file creation with usb2 sd video grabber and pal camera

hello
i use freeture on on two stations: one with debian 64bits, one with windows7 64 bits with usb2 sd video grabber and pal camera.
in the configuration file, i put DET_SAVE_AVI to true but i have no avi file in case of détection on both station

Dominique

UFOCapture data format

Hi,
Is't possible to output UFOCapture data format ? In this way, the data can be analyse by the free tool UFOAnalyzer.

Thanks
Max

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.